diff --git a/include/llvm/MC/MCTargetOptionsCommandFlags.h b/include/llvm/MC/MCTargetOptionsCommandFlags.h index 344983dec5f..6d4eb0ef591 100644 --- a/include/llvm/MC/MCTargetOptionsCommandFlags.h +++ b/include/llvm/MC/MCTargetOptionsCommandFlags.h @@ -36,12 +36,17 @@ cl::opt RelaxAll("mc-relax-all", cl::opt DwarfVersion("dwarf-version", cl::desc("Dwarf version"), cl::init(0)); +cl::opt ShowMCInst("asm-show-inst", + cl::desc("Emit internal instruction representation to " + "assembly file")); + static inline MCTargetOptions InitMCTargetOptionsFromFlags() { MCTargetOptions Options; Options.SanitizeAddress = (AsmInstrumentation == MCTargetOptions::AsmInstrumentationAddress); Options.MCRelaxAll = RelaxAll; Options.DwarfVersion = DwarfVersion; + Options.ShowMCInst = ShowMCInst; return Options; }