Revert "Reorder the sections being output to reduce the number of assembler"

The inline table needs to be constructed ahead of time so that it doesn't try to
create new strings while we're emitting everything.

This reverts commit a8ff9bccb399183cdd5f1c3cec2bda763664b4b0.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151864 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Christopher
2012-03-02 00:30:24 +00:00
parent fc501a3ec9
commit 7550f7dce6
2 changed files with 11 additions and 11 deletions
+3 -3
View File
@@ -804,9 +804,6 @@ void DwarfDebug::endModule() {
// Compute DIE offsets and sizes.
computeSizeAndOffsets();
// Emit info into a debug str section.
emitDebugStr();
// Emit all the DIEs into a debug info section
emitDebugInfo();
@@ -839,6 +836,9 @@ void DwarfDebug::endModule() {
// Emit inline info.
emitDebugInlineInfo();
// Emit info into a debug str section.
emitDebugStr();
// clean up.
DeleteContainerSeconds(DeadFnScopeMap);
SPMap.clear();