[llvm-commits] [llvm] r169756 - in /llvm/trunk/lib/CodeGen/AsmPrinter: DwarfDebug.cpp DwarfDebug.h
Eric Christopher
echristo at gmail.com
Mon Dec 10 11:51:13 PST 2012
Author: echristo
Date: Mon Dec 10 13:51:13 2012
New Revision: 169756
URL: http://llvm.org/viewvc/llvm-project?rev=169756&view=rev
Log:
Reorder fission variables.
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp?rev=169756&r1=169755&r2=169756&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp Mon Dec 10 13:51:13 2012
@@ -153,10 +153,10 @@
} // 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;
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h?rev=169756&r1=169755&r2=169756&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h Mon Dec 10 13:51:13 2012
@@ -205,9 +205,6 @@
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 @@
// 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.
More information about the llvm-commits
mailing list