diff options
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 58e40e17c5..9f1aed4890 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -804,6 +804,9 @@ 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(); @@ -836,9 +839,6 @@ void DwarfDebug::endModule() { // Emit inline info. emitDebugInlineInfo(); - // Emit info into a debug str section. - emitDebugStr(); - // clean up. DeleteContainerSeconds(DeadFnScopeMap); SPMap.clear(); |