EOL("FDE CIE offset");
- EmitReference("eh_func_begin", EHFrameInfo.Number, FDEEncoding);
+ EmitReference(getDWLabel("eh_func_begin", EHFrameInfo.Number), FDEEncoding);
EOL("FDE initial location");
EmitDifference("eh_func_end", EHFrameInfo.Number,
"eh_func_begin", EHFrameInfo.Number,
EmitULEB128(Size, "Augmentation size");
if (EHFrameInfo.hasLandingPads)
- EmitReference("exception", EHFrameInfo.Number, LSDAEncoding);
+ EmitReference(getDWLabel("exception", EHFrameInfo.Number),LSDAEncoding);
else
Asm->OutStreamer.EmitIntValue(0, Size/*size*/, 0/*addrspace*/);
if (IsPCRelative) O << "-" << MAI->getPCSymbol();
}
-void DwarfPrinter::EmitReference(const char *Tag, unsigned Number,
- unsigned Encoding) const {
- // FIXME: REMOVE.
- EmitReference(getDWLabel(Tag, Number), Encoding);
-}
-
void DwarfPrinter::EmitReference(const MCSymbol *Sym, unsigned Encoding) const {
const TargetLoweringObjectFile &TLOF = Asm->getObjFileLowering();
PrintRelDirective(Encoding);
O << *TLOF.getSymbolForDwarfGlobalReference(GV, Asm->Mang,
- Asm->MMI, Encoding);;
+ Asm->MMI, Encoding);
}
/// EmitDifference - Emit the difference between two labels. If this assembler
void EmitReference(const MCSymbol *Label, bool IsPCRelative = false,
bool Force32Bit = false) const;
- void EmitReference(const char *Tag, unsigned Number, unsigned Encoding) const;
void EmitReference(const MCSymbol *Sym, unsigned Encoding) const;
void EmitReference(const GlobalValue *GV, unsigned Encoding) const;