Add an option that allows one to "decode" the LSDA.
[oota-llvm.git] / include / llvm / Target / TargetRegistry.h
index a464822893ba1115648c1f06b264516b8bb24945..0bec8bc1ecf7ef903dda8b6e750c764900d9edee 100644 (file)
@@ -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);
     }
 
     /// @}