diff options
author | Eric Christopher <echristo@gmail.com> | 2012-12-20 21:58:36 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2012-12-20 21:58:36 +0000 |
commit | e698f5374058cffc272e6021b0cf56d53731584f (patch) | |
tree | 24789ca4e3739395ec1341ffefdc86d870c9fefb /llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h | |
parent | eae2d9050861d801cfadfa1321ab527d7ad5d916 (diff) | |
download | bcm5719-llvm-e698f5374058cffc272e6021b0cf56d53731584f.tar.gz bcm5719-llvm-e698f5374058cffc272e6021b0cf56d53731584f.zip |
Start splitting out the debug string section handling by moving it
into the DwarfUnits class.
llvm-svn: 170770
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h index bd63ff5f9b1..2a61efb13eb 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h @@ -23,6 +23,7 @@ namespace llvm { class DwarfDebug; +class DwarfUnits; class MachineLocation; class MachineOperand; class ConstantInt; @@ -47,7 +48,9 @@ class CompileUnit { /// Asm - Target of Dwarf emission. AsmPrinter *Asm; + // Holders for some common dwarf information. DwarfDebug *DD; + DwarfUnits *DU; /// IndexTyDie - An anonymous type for index type. Owned by CUDie. DIE *IndexTyDie; @@ -84,7 +87,8 @@ class CompileUnit { int64_t getDefaultLowerBound() const; public: - CompileUnit(unsigned UID, unsigned L, DIE *D, AsmPrinter *A, DwarfDebug *DW); + CompileUnit(unsigned UID, unsigned L, DIE *D, AsmPrinter *A, DwarfDebug *DW, + DwarfUnits *); ~CompileUnit(); // Accessors. |