mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-13 22:18:31 +00:00
Simply LSDA lable emission to use a direct special-case output instead of
EmitLabel() git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80677 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -43,27 +43,21 @@ void Dwarf::PrintRelDirective(bool Force32Bit, bool isInSection) const {
|
||||
|
||||
/// PrintLabelName - Print label name in form used by Dwarf writer.
|
||||
///
|
||||
void Dwarf::PrintLabelName(const char *Tag, unsigned Number,
|
||||
bool ForcePrivate) const {
|
||||
if (ForcePrivate)
|
||||
O << MAI->getPrivateGlobalPrefix();
|
||||
O << Tag;
|
||||
void Dwarf::PrintLabelName(const char *Tag, unsigned Number) const {
|
||||
O << MAI->getPrivateGlobalPrefix() << Tag;
|
||||
if (Number) O << Number;
|
||||
}
|
||||
void Dwarf::PrintLabelName(const char *Tag, unsigned Number,
|
||||
const char *Suffix, bool ForcePrivate) const {
|
||||
if (ForcePrivate)
|
||||
O << MAI->getPrivateGlobalPrefix();
|
||||
O << Tag;
|
||||
const char *Suffix) const {
|
||||
O << MAI->getPrivateGlobalPrefix() << Tag;
|
||||
if (Number) O << Number;
|
||||
O << Suffix;
|
||||
}
|
||||
|
||||
/// EmitLabel - Emit location label for internal use by Dwarf.
|
||||
///
|
||||
void Dwarf::EmitLabel(const char *Tag, unsigned Number,
|
||||
bool ForcePrivate) const {
|
||||
PrintLabelName(Tag, Number, ForcePrivate);
|
||||
void Dwarf::EmitLabel(const char *Tag, unsigned Number) const {
|
||||
PrintLabelName(Tag, Number);
|
||||
O << ":\n";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user