diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-03-09 00:26:09 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-03-09 00:26:09 +0000 |
| commit | e90630aa8ccdad105ea95e30db647cf603ed6105 (patch) | |
| tree | 6ef68dd56fa304743ffd23994744867dcfd71e37 /lib/CodeGen/AsmPrinter/DwarfPrinter.cpp | |
| parent | 84c27b212bf0db9c7a775193746ea480e131dc07 (diff) | |
| download | external_llvm-e90630aa8ccdad105ea95e30db647cf603ed6105.zip external_llvm-e90630aa8ccdad105ea95e30db647cf603ed6105.tar.gz external_llvm-e90630aa8ccdad105ea95e30db647cf603ed6105.tar.bz2 | |
mc'ize the last use of PrintLabelName and eliminate PrintLabelName.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98015 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfPrinter.cpp')
| -rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfPrinter.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp b/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp index 8dd72c4..3eee561 100644 --- a/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp +++ b/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; |
