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 | 3586e5eccf13d7129a44032a0dd553628cef3450 (patch) | |
tree | 186487b61180f7c21bb2998615743015e68bdfdb | |
parent | a801362e84e08ccaf6f4f22f22e61fe3732c3754 (diff) | |
download | llvm-3586e5eccf13d7129a44032a0dd553628cef3450.tar.gz llvm-3586e5eccf13d7129a44032a0dd553628cef3450.tar.bz2 llvm-3586e5eccf13d7129a44032a0dd553628cef3450.tar.xz |
fix some issues where we weren't emitting enough newlines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94370 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 1 | ||||
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfPrinter.cpp | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 4fe1b8512d..6a93cc6578 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/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/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp b/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp index d204bba7e9..f2f444a13d 100644 --- a/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp +++ b/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"; } } |