mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-09 10:31:14 +00:00
eliminate a form of PrintLabelName.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97999 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
326861c4c8
commit
dd8187a3e9
@ -2969,7 +2969,7 @@ void DwarfDebug::emitDebugInlineInfo() {
|
|||||||
else
|
else
|
||||||
O << MAI->getData64bitsDirective();
|
O << MAI->getData64bitsDirective();
|
||||||
|
|
||||||
PrintLabelName("label", LI->first); EOL("low_pc");
|
PrintLabelName(getDWLabel("label", LI->first)); EOL("low_pc");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -219,11 +219,6 @@ void DwarfPrinter::PrintLabelName(const MCSymbol *Label) const {
|
|||||||
O << Label->getName();
|
O << Label->getName();
|
||||||
}
|
}
|
||||||
|
|
||||||
void DwarfPrinter::PrintLabelName(const char *Tag, unsigned Number) const {
|
|
||||||
// FIXME: REMOVE.
|
|
||||||
O << MAI->getPrivateGlobalPrefix() << Tag;
|
|
||||||
if (Number) O << Number;
|
|
||||||
}
|
|
||||||
void DwarfPrinter::PrintLabelName(const char *Tag, unsigned Number,
|
void DwarfPrinter::PrintLabelName(const char *Tag, unsigned Number,
|
||||||
const char *Suffix) const {
|
const char *Suffix) const {
|
||||||
// FIXME: REMOVE.
|
// FIXME: REMOVE.
|
||||||
@ -291,9 +286,9 @@ void DwarfPrinter::EmitDifference(const char *TagHi, unsigned NumberHi,
|
|||||||
O << "\t.set\t";
|
O << "\t.set\t";
|
||||||
PrintLabelName("set", SetCounter, Flavor);
|
PrintLabelName("set", SetCounter, Flavor);
|
||||||
O << ",";
|
O << ",";
|
||||||
PrintLabelName(TagHi, NumberHi);
|
PrintLabelName(getDWLabel(TagHi, NumberHi));
|
||||||
O << "-";
|
O << "-";
|
||||||
PrintLabelName(TagLo, NumberLo);
|
PrintLabelName(getDWLabel(TagLo, NumberLo));
|
||||||
O << "\n";
|
O << "\n";
|
||||||
|
|
||||||
PrintRelDirective(IsSmall);
|
PrintRelDirective(IsSmall);
|
||||||
@ -301,9 +296,9 @@ void DwarfPrinter::EmitDifference(const char *TagHi, unsigned NumberHi,
|
|||||||
++SetCounter;
|
++SetCounter;
|
||||||
} else {
|
} else {
|
||||||
PrintRelDirective(IsSmall);
|
PrintRelDirective(IsSmall);
|
||||||
PrintLabelName(TagHi, NumberHi);
|
PrintLabelName(getDWLabel(TagHi, NumberHi));
|
||||||
O << "-";
|
O << "-";
|
||||||
PrintLabelName(TagLo, NumberLo);
|
PrintLabelName(getDWLabel(TagLo, NumberLo));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -125,7 +125,6 @@ public:
|
|||||||
/// PrintLabelName - Print label name in form used by Dwarf writer.
|
/// PrintLabelName - Print label name in form used by Dwarf writer.
|
||||||
///
|
///
|
||||||
void PrintLabelName(const MCSymbol *Label) const;
|
void PrintLabelName(const MCSymbol *Label) const;
|
||||||
void PrintLabelName(const char *Tag, unsigned Number) const;
|
|
||||||
void PrintLabelName(const char *Tag, unsigned Number,
|
void PrintLabelName(const char *Tag, unsigned Number,
|
||||||
const char *Suffix) const;
|
const char *Suffix) const;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user