diff options
author | Eric Christopher <echristo@gmail.com> | 2012-12-10 19:51:13 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2012-12-10 19:51:13 +0000 |
commit | d79f5480ac05b9ec41b0095a00c19d25e06612ee (patch) | |
tree | fa07b3427102330acef1cf2ef9ad0f694ae66717 /llvm/lib | |
parent | 9a12912c9abb0ee34885b6c2d45f693cc2155b32 (diff) | |
download | bcm5719-llvm-d79f5480ac05b9ec41b0095a00c19d25e06612ee.tar.gz bcm5719-llvm-d79f5480ac05b9ec41b0095a00c19d25e06612ee.zip |
Reorder fission variables.
llvm-svn: 169756
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 4 | ||||
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h | 12 |
2 files changed, 11 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 945fba8dca8..574474c118e 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -153,10 +153,10 @@ DIType DbgVariable::getType() const { } // end llvm namespace DwarfDebug::DwarfDebug(AsmPrinter *A, Module *M) - : Asm(A), MMI(Asm->MMI), FirstCU(0), FissionCU(0), + : Asm(A), MMI(Asm->MMI), FirstCU(0), AbbreviationsSet(InitAbbreviationsSetSize), SourceIdMap(DIEValueAllocator), StringPool(DIEValueAllocator), - PrevLabel(NULL), GlobalCUIndexCount(0) { + PrevLabel(NULL), GlobalCUIndexCount(0), FissionCU(0) { NextStringPoolNumber = 0; DwarfInfoSectionSym = DwarfAbbrevSectionSym = 0; diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h index 689ccca655b..56b9218474a 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h @@ -205,9 +205,6 @@ class DwarfDebug { CompileUnit *FirstCU; - // The CU left in the original object file for Fission debug info. - CompileUnit *FissionCU; - // Maps MDNode with its corresponding CompileUnit. DenseMap <const MDNode *, CompileUnit *> CUMap; @@ -322,6 +319,15 @@ class DwarfDebug { // DWARF5 Experimental Options bool HasDwarfAccelTables; bool HasDwarfFission; + + // Fission Variables + // In general these will all be for bits that are left in the + // original object file, rather than things that are meant + // to be in the .dwo sections. + + // The CU left in the original object file for Fission debug info. + CompileUnit *FissionCU; + private: /// \brief Define a unique number for the abbreviation. |