mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 22:32:47 +00:00
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:
parent
40966a7c68
commit
4cb4895e41
@ -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.
|
||||||
|
@ -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";
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user