15 #ifndef LLVM_MC_MCTARGETOPTIONSCOMMANDFLAGS_H
16 #define LLVM_MC_MCTARGETOPTIONSCOMMANDFLAGS_H
23 "asm-instrumentation",
cl::desc(
"Instrumentation of inline assembly and "
24 "assembly source files"),
27 "no instrumentation at all"),
29 "instrument instructions with memory arguments"),
33 cl::desc(
"When used with filetype=obj, "
34 "relax all fixups in the emitted object file"));
40 cl::desc(
"Emit internal instruction representation to "
45 cl::desc(
"The name of the ABI to be targeted from the backend."),
ValuesClass< DataType > LLVM_END_WITH_NULL values(const char *Arg, DataType Val, const char *Desc,...)
bool SanitizeAddress
Enables AddressSanitizer instrumentation at machine level.
cl::opt< bool > ShowMCInst("asm-show-inst", cl::desc("Emit internal instruction representation to ""assembly file"))
cl::opt< MCTargetOptions::AsmInstrumentation > AsmInstrumentation("asm-instrumentation", cl::desc("Instrumentation of inline assembly and ""assembly source files"), cl::init(MCTargetOptions::AsmInstrumentationNone), cl::values(clEnumValN(MCTargetOptions::AsmInstrumentationNone,"none","no instrumentation at all"), clEnumValN(MCTargetOptions::AsmInstrumentationAddress,"address","instrument instructions with memory arguments"), clEnumValEnd))
static MCTargetOptions InitMCTargetOptionsFromFlags()
initializer< Ty > init(const Ty &Val)
cl::opt< int > DwarfVersion("dwarf-version", cl::desc("Dwarf version"), cl::init(0))
cl::opt< std::string > ABIName("target-abi", cl::Hidden, cl::desc("The name of the ABI to be targeted from the backend."), cl::init(""))
#define clEnumValN(ENUMVAL, FLAGNAME, DESC)
cl::opt< bool > RelaxAll("mc-relax-all", cl::desc("When used with filetype=obj, ""relax all fixups in the emitted object file"))