diff options
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfPrinter.cpp')
| -rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfPrinter.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp b/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp index 878a5e7..80d2907 100644 --- a/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp @@ -186,27 +186,6 @@ void DwarfPrinter::EmitULEB128(unsigned Value, const char *Desc, } -/// EmitReference - Emit a reference to a label. -/// -void DwarfPrinter::EmitReference(const MCSymbol *Sym, bool IsPCRelative, - bool Force32Bit) const { - unsigned Size = Force32Bit ? 4 : TD->getPointerSize(); - - if (!IsPCRelative) { - Asm->OutStreamer.EmitSymbolValue(Sym, Size, 0/*AddrSpace*/); - return; - } - - // FIXME: Need an MCExpr for ".". - // FIXME: MCize. - if (Force32Bit || TD->getPointerSize() == sizeof(int32_t)) - O << MAI->getData32bitsDirective(); - else - O << MAI->getData64bitsDirective(); - O << *Sym; - if (IsPCRelative) O << "-" << MAI->getPCSymbol(); -} - void DwarfPrinter::EmitReference(const MCSymbol *Sym, unsigned Encoding) const { const TargetLoweringObjectFile &TLOF = Asm->getObjFileLowering(); |
