diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-01-24 19:01:06 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-01-24 19:01:06 +0000 |
| commit | 62f28405724c363b91b20a981a376d760d7db7e5 (patch) | |
| tree | 6cadb893b600e0b6bdb86b64b5d8850aed4940e6 /llvm/lib | |
| parent | 5adf987417c7e5c37f88094b56f4d4e357235286 (diff) | |
| download | bcm5719-llvm-62f28405724c363b91b20a981a376d760d7db7e5.tar.gz bcm5719-llvm-62f28405724c363b91b20a981a376d760d7db7e5.zip | |
fix some issues where we weren't emitting enough newlines.
llvm-svn: 94370
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 1 | ||||
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 4fe1b8512dc..6a93cc6578d 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -2383,6 +2383,7 @@ void DwarfDebug::emitDIE(DIE *Die) { default: // Emit an attribute using the defined form. Values[i]->EmitValue(this, Form); + O << "\n"; // REMOVE This once all EmitValue impls emit their own newline. break; } } diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp index d204bba7e99..f2f444a13d0 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp @@ -247,6 +247,7 @@ void DwarfPrinter::EmitSectionOffset(const char* Label, const char* Section, PrintRelDirective(IsSmall); PrintLabelName("set", SetCounter, Flavor); ++SetCounter; + O << "\n"; } else { PrintRelDirective(IsSmall, true); PrintLabelName(Label, LabelNumber); @@ -255,6 +256,7 @@ void DwarfPrinter::EmitSectionOffset(const char* Label, const char* Section, O << "-"; PrintLabelName(Section, SectionNumber); } + O << "\n"; } } |

