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
This commit is contained in:
Chris Lattner 2010-01-24 19:01:06 +00:00
parent a801362e84
commit 3586e5eccf
2 changed files with 3 additions and 0 deletions

View File

@ -2383,6 +2383,7 @@ void DwarfDebug::emitDIE(DIE *Die) {
default: default:
// Emit an attribute using the defined form. // Emit an attribute using the defined form.
Values[i]->EmitValue(this, Form); Values[i]->EmitValue(this, Form);
O << "\n"; // REMOVE This once all EmitValue impls emit their own newline.
break; break;
} }
} }

View File

@ -247,6 +247,7 @@ void DwarfPrinter::EmitSectionOffset(const char* Label, const char* Section,
PrintRelDirective(IsSmall); PrintRelDirective(IsSmall);
PrintLabelName("set", SetCounter, Flavor); PrintLabelName("set", SetCounter, Flavor);
++SetCounter; ++SetCounter;
O << "\n";
} else { } else {
PrintRelDirective(IsSmall, true); PrintRelDirective(IsSmall, true);
PrintLabelName(Label, LabelNumber); PrintLabelName(Label, LabelNumber);
@ -255,6 +256,7 @@ void DwarfPrinter::EmitSectionOffset(const char* Label, const char* Section,
O << "-"; O << "-";
PrintLabelName(Section, SectionNumber); PrintLabelName(Section, SectionNumber);
} }
O << "\n";
} }
} }