diff options
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp index 8dd72c44964..3eee56181e1 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp @@ -209,13 +209,6 @@ void DwarfPrinter::EmitULEB128(unsigned Value, const char *Desc, } -/// PrintLabelName - Print label name in form used by Dwarf writer. -/// -void DwarfPrinter::PrintLabelName(const MCSymbol *Label) const { - // FIXME: REMOVE. - O << Label->getName(); -} - /// EmitReference - Emit a reference to a label. /// void DwarfPrinter::EmitReference(const MCSymbol *Sym, bool IsPCRelative, @@ -229,7 +222,7 @@ void DwarfPrinter::EmitReference(const MCSymbol *Sym, unsigned Encoding) const { const TargetLoweringObjectFile &TLOF = Asm->getObjFileLowering(); PrintRelDirective(Encoding); - O << *TLOF.getSymbolForDwarfReference(Sym, Asm->MMI, Encoding);; + O << *TLOF.getSymbolForDwarfReference(Sym, Asm->MMI, Encoding); } void DwarfPrinter::EmitReference(const GlobalValue *GV, unsigned Encoding)const{ @@ -300,8 +293,6 @@ void DwarfPrinter::EmitFrameMoves(const char *BaseLabel, unsigned BaseLabelID, EmitCFAByte(dwarf::DW_CFA_advance_loc4); EmitDifference(getDWLabel("label", LabelID), getDWLabel(BaseLabel, BaseLabelID), true); - Asm->O << '\n'; - BaseLabelID = LabelID; BaseLabel = "label"; IsLocal = true; |