Module options

Source

Modules§

cgopts πŸ”’
dbopts πŸ”’
desc πŸ”’
parse

Macros§

gather_tmods πŸ”’
gather_tmods_top_level πŸ”’
hash_opt πŸ”’
hash_substruct πŸ”’
insert πŸ”’
options πŸ”’
Defines all CodegenOptions/DebuggingOptions fields and parsers all at once. The goal of this macro is to define an interface that can be programmatically used by the option parser to initialize the struct without hardcoding field names all over the place.
redirect_field πŸ”’
tmod_enum πŸ”’
tmod_enum_opt πŸ”’
tmod_push πŸ”’
top_level_options πŸ”’
top_level_tmod_enum πŸ”’
Macro for generating OptionsTargetsModifiers top-level enum with impl. Will generate something like:

Structs§

CodegenOptions
ExtendedTargetModifierInfo
Extended target modifier info. For example, when external target modifier is β€˜-Zregparm=2’: Target modifier enum value + user value (β€˜2’) from external crate is converted into description: prefix (β€˜Z’), name (β€˜regparm’), tech value (β€˜Some(2)’).
OptionDesc
Options
The top-level command-line options struct.
TargetModifier
A recorded -Zopt_name=opt_value (or -Copt_name=opt_value) which alter the ABI or effectiveness of exploit mitigations.
UnstableOptions

Enums§

CodegenOptionsTargetModifiers
OptionsTargetModifiers
UnstableOptionsTargetModifiers

Constants§

CG_OPTIONS
Z_OPTIONS

Functions§

build_options πŸ”’
tmod_push_impl πŸ”’

Type Aliases§

OptionDescrs πŸ”’
OptionSetter πŸ”’