mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-20 00:20:11 +00:00
elimiante the DWLabel class, using MCSymbol instead. Start
switching some stuff over to passing around MCSymbol* instead of stem+ID. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97993 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -273,8 +273,7 @@ unsigned DIEDwarfLabel::SizeOf(const TargetData *TD, unsigned Form) const {
|
||||
|
||||
#ifndef NDEBUG
|
||||
void DIEDwarfLabel::print(raw_ostream &O) {
|
||||
O << "Lbl: ";
|
||||
Label.print(O);
|
||||
O << "Lbl: " << Label->getName();
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -310,9 +309,7 @@ void DIEObjectLabel::print(raw_ostream &O) {
|
||||
///
|
||||
void DIESectionOffset::EmitValue(DwarfPrinter *D, unsigned Form) const {
|
||||
bool IsSmall = Form == dwarf::DW_FORM_data4;
|
||||
D->EmitSectionOffset(Label.getTag(), Section.getTag(),
|
||||
Label.getNumber(), Section.getNumber(),
|
||||
IsSmall, IsEH, UseSet);
|
||||
D->EmitSectionOffset(Label, Section, IsSmall, IsEH, UseSet);
|
||||
D->getAsm()->O << '\n'; // FIXME: Necesssary?
|
||||
}
|
||||
|
||||
@@ -325,11 +322,8 @@ unsigned DIESectionOffset::SizeOf(const TargetData *TD, unsigned Form) const {
|
||||
|
||||
#ifndef NDEBUG
|
||||
void DIESectionOffset::print(raw_ostream &O) {
|
||||
O << "Off: ";
|
||||
Label.print(O);
|
||||
O << "-";
|
||||
Section.print(O);
|
||||
O << "-" << IsEH << "-" << UseSet;
|
||||
O << "Off: " << Label->getName() << "-" << Section->getName()
|
||||
<< "-" << IsEH << "-" << UseSet;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -353,10 +347,7 @@ unsigned DIEDelta::SizeOf(const TargetData *TD, unsigned Form) const {
|
||||
|
||||
#ifndef NDEBUG
|
||||
void DIEDelta::print(raw_ostream &O) {
|
||||
O << "Del: ";
|
||||
LabelHi.print(O);
|
||||
O << "-";
|
||||
LabelLo.print(O);
|
||||
O << "Del: " << LabelHi->getName() << "-" << LabelLo->getName();
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user