diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/MC/MCStreamer.h | 6 | ||||
-rw-r--r-- | include/llvm/Target/TargetRegistry.h | 11 |
2 files changed, 12 insertions, 5 deletions
diff --git a/include/llvm/MC/MCStreamer.h b/include/llvm/MC/MCStreamer.h index c05a925..6f01713 100644 --- a/include/llvm/MC/MCStreamer.h +++ b/include/llvm/MC/MCStreamer.h @@ -547,6 +547,9 @@ namespace llvm { /// /// \param ShowInst - Whether to show the MCInst representation inline with /// the assembly. + /// + /// \param DecodeLSDA - If true, emit comments that translates the LSDA into a + /// human readable format. Only usable with CFI. MCStreamer *createAsmStreamer(MCContext &Ctx, formatted_raw_ostream &OS, bool isVerboseAsm, bool useLoc, @@ -554,7 +557,8 @@ namespace llvm { MCInstPrinter *InstPrint = 0, MCCodeEmitter *CE = 0, TargetAsmBackend *TAB = 0, - bool ShowInst = false); + bool ShowInst = false, + bool DecodeLSDA = false); /// createMachOStreamer - Create a machine code streamer which will generate /// Mach-O format object files. diff --git a/include/llvm/Target/TargetRegistry.h b/include/llvm/Target/TargetRegistry.h index a464822..0bec8bc 100644 --- a/include/llvm/Target/TargetRegistry.h +++ b/include/llvm/Target/TargetRegistry.h @@ -47,7 +47,8 @@ namespace llvm { MCInstPrinter *InstPrint, MCCodeEmitter *CE, TargetAsmBackend *TAB, - bool ShowInst); + bool ShowInst, + bool DecodeLSDA); /// Target - Wrapper for Target specific information. /// @@ -100,7 +101,8 @@ namespace llvm { MCInstPrinter *InstPrint, MCCodeEmitter *CE, TargetAsmBackend *TAB, - bool ShowInst); + bool ShowInst, + bool DecodeLSDA); private: /// Next - The next registered target in the linked list, maintained by the @@ -334,10 +336,11 @@ namespace llvm { MCInstPrinter *InstPrint, MCCodeEmitter *CE, TargetAsmBackend *TAB, - bool ShowInst) const { + bool ShowInst, + bool DecodeLSDA) const { // AsmStreamerCtorFn is default to llvm::createAsmStreamer return AsmStreamerCtorFn(Ctx, OS, isVerboseAsm, useLoc, useCFI, - InstPrint, CE, TAB, ShowInst); + InstPrint, CE, TAB, ShowInst, DecodeLSDA); } /// @} |