diff options
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfException.h')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfException.h | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfException.h b/lib/CodeGen/AsmPrinter/DwarfException.h index 85bf581990..0c53cd8792 100644 --- a/lib/CodeGen/AsmPrinter/DwarfException.h +++ b/lib/CodeGen/AsmPrinter/DwarfException.h @@ -14,8 +14,6 @@ #ifndef LLVM_CODEGEN_ASMPRINTER_DWARFEXCEPTION_H #define LLVM_CODEGEN_ASMPRINTER_DWARFEXCEPTION_H -#include "DIE.h" -#include "DwarfPrinter.h" #include "llvm/CodeGen/AsmPrinter.h" #include "llvm/ADT/DenseMap.h" #include <string> @@ -32,7 +30,14 @@ class raw_ostream; //===----------------------------------------------------------------------===// /// DwarfException - Emits Dwarf exception handling directives. /// -class DwarfException : public DwarfPrinter { +class DwarfException { + /// Asm - Target of Dwarf emission. + AsmPrinter *Asm; +public: + /// MMI - Collected machine module information. + MachineModuleInfo *MMI; +private: + struct FunctionEHFrameInfo { MCSymbol *FunctionEHSym; // L_foo.eh unsigned Number; @@ -169,13 +174,6 @@ public: DwarfException(AsmPrinter *A); virtual ~DwarfException(); - /// BeginModule - Emit all exception information that should come prior to the - /// content. - void BeginModule(Module *m) { - this->M = m; - this->MMI = Asm->MMI; - } - /// EndModule - Emit all exception information that should come after the /// content. void EndModule(); |