summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-03-09 00:26:09 +0000
committerChris Lattner <sabre@nondot.org>2010-03-09 00:26:09 +0000
commit53d6d1e87d628c1731e6726c33a4ed5530a8b83f (patch)
treeaad692dfbe41072eb8aa55e3a460a556daa501d9 /llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp
parent292ec6c299e9aae7427d2480244a3d720a2b6eec (diff)
downloadbcm5719-llvm-53d6d1e87d628c1731e6726c33a4ed5530a8b83f.tar.gz
bcm5719-llvm-53d6d1e87d628c1731e6726c33a4ed5530a8b83f.zip
mc'ize the last use of PrintLabelName and eliminate PrintLabelName.
llvm-svn: 98015
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp11
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;
OpenPOWER on IntegriCloud