Reorder fission variables.

llvm-svn: 169756
This commit is contained in:
Eric Christopher 2012-12-10 19:51:13 +00:00
parent 9a12912c9a
commit d79f5480ac
2 changed files with 11 additions and 5 deletions

View File

@ -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;

View File

@ -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.