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:
parent
13b9782cc0
commit
6034260c43
|
@ -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.
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue