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,
const char *Suffix) const {
// FIXME: REMOVE.
O << "\t.set\t";
PrintLabelName("set", SetCounter, Flavor);
O << ",";
- PrintLabelName(TagHi, NumberHi);
+ PrintLabelName(getDWLabel(TagHi, NumberHi));
O << "-";
- PrintLabelName(TagLo, NumberLo);
+ PrintLabelName(getDWLabel(TagLo, NumberLo));
O << "\n";
PrintRelDirective(IsSmall);
++SetCounter;
} else {
PrintRelDirective(IsSmall);
- PrintLabelName(TagHi, NumberHi);
+ PrintLabelName(getDWLabel(TagHi, NumberHi));
O << "-";
- PrintLabelName(TagLo, NumberLo);
+ PrintLabelName(getDWLabel(TagLo, NumberLo));
}
}
/// PrintLabelName - Print label name in form used by Dwarf writer.
///
void PrintLabelName(const MCSymbol *Label) const;
- void PrintLabelName(const char *Tag, unsigned Number) const;
void PrintLabelName(const char *Tag, unsigned Number,
const char *Suffix) const;