Don't print out a default newline when emitting the section offset. There are

almost always comments afterwards that need printing.

llvm-svn: 95839
This commit is contained in:
Bill Wendling 2010-02-11 01:13:02 +00:00
parent 13b9782cc0
commit 6034260c43
2 changed files with 1 additions and 2 deletions

View File

@ -313,6 +313,7 @@ void DIESectionOffset::EmitValue(DwarfPrinter *D, unsigned Form) const {
D->EmitSectionOffset(Label.getTag(), Section.getTag(),
Label.getNumber(), Section.getNumber(),
IsSmall, IsEH, UseSet);
EOL(""); // FIXME: Necesssary?
}
/// SizeOf - Determine size of delta value in bytes.

View File

@ -248,7 +248,6 @@ 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);
@ -257,7 +256,6 @@ void DwarfPrinter::EmitSectionOffset(const char* Label, const char* Section,
O << "-";
PrintLabelName(Section, SectionNumber);
}
O << "\n";
}
}