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

almost always comments afterwards that need printing.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95839 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling 2010-02-11 01:13:02 +00:00
parent 40966a7c68
commit 4cb4895e41
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(), D->EmitSectionOffset(Label.getTag(), Section.getTag(),
Label.getNumber(), Section.getNumber(), Label.getNumber(), Section.getNumber(),
IsSmall, IsEH, UseSet); IsSmall, IsEH, UseSet);
EOL(""); // FIXME: Necesssary?
} }
/// SizeOf - Determine size of delta value in bytes. /// 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); 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);
@ -257,7 +256,6 @@ void DwarfPrinter::EmitSectionOffset(const char* Label, const char* Section,
O << "-"; O << "-";
PrintLabelName(Section, SectionNumber); PrintLabelName(Section, SectionNumber);
} }
O << "\n";
} }
} }