summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-12-05 01:42:34 +0000
committerDan Gohman <gohman@apple.com>2009-12-05 01:42:34 +0000
commit3a6164e8ab34b91f51f46a625c9af4a7bd1c1c0d (patch)
tree79275b624294d5d03ec4d03df270bcbe3f823dce /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
parentc82272a7b69126edeb81e9c7a3856b3e0fcdde5c (diff)
downloadbcm5719-llvm-3a6164e8ab34b91f51f46a625c9af4a7bd1c1c0d.tar.gz
bcm5719-llvm-3a6164e8ab34b91f51f46a625c9af4a7bd1c1c0d.zip
Print newlines after printing labels for debug info, so that the output
isn't cluttered with things like "Llabel47:Llabel48: movq (%rsi), %xmm3" llvm-svn: 90638
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index 60a8ffe0a62..0dfab12f988 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -1981,6 +1981,7 @@ void DwarfDebug::endScope(const MachineInstr *MI) {
unsigned Label = MMI->NextLabelID();
Asm->printLabel(Label);
+ O << '\n';
SmallVector<DbgScope *, 2> &SD = I->second;
for (SmallVector<DbgScope *, 2>::iterator SDI = SD.begin(), SDE = SD.end();
OpenPOWER on IntegriCloud