depending on them being emitted before the text and/or data
sections and testing didn't uncover any.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168321
91177308-0d34-0410-b5e6-
96231b3b80d8
// Tell MMI that we have debug info.
MMI->setDebugInfoAvailability(true);
// Tell MMI that we have debug info.
MMI->setDebugInfoAvailability(true);
- // Emit initial sections.
- EmitSectionLabels();
-
// Prime section data.
SectionMap.insert(Asm->getObjFileLowering().getTextSection());
}
// Prime section data.
SectionMap.insert(Asm->getObjFileLowering().getTextSection());
}
// Compute DIE offsets and sizes.
computeSizeAndOffsets();
// Compute DIE offsets and sizes.
computeSizeAndOffsets();
+ // Emit initial sections.
+ EmitSectionLabels();
+
// Emit all the DIEs into a debug info section
emitDebugInfo();
// Emit all the DIEs into a debug info section
emitDebugInfo();