eliminate a form of PrintLabelName.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97999 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp b/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp
index 6804628..fcef94e 100644
--- a/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp
+++ b/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp
@@ -219,11 +219,6 @@
   O << Label->getName();
 }
 
-void DwarfPrinter::PrintLabelName(const char *Tag, unsigned Number) const {
-  // FIXME: REMOVE.
-  O << MAI->getPrivateGlobalPrefix() << Tag;
-  if (Number) O << Number;
-}
 void DwarfPrinter::PrintLabelName(const char *Tag, unsigned Number,
                                   const char *Suffix) const {
   // FIXME: REMOVE.
@@ -291,9 +286,9 @@
     O << "\t.set\t";
     PrintLabelName("set", SetCounter, Flavor);
     O << ",";
-    PrintLabelName(TagHi, NumberHi);
+    PrintLabelName(getDWLabel(TagHi, NumberHi));
     O << "-";
-    PrintLabelName(TagLo, NumberLo);
+    PrintLabelName(getDWLabel(TagLo, NumberLo));
     O << "\n";
     
     PrintRelDirective(IsSmall);
@@ -301,9 +296,9 @@
     ++SetCounter;
   } else {
     PrintRelDirective(IsSmall);
-    PrintLabelName(TagHi, NumberHi);
+    PrintLabelName(getDWLabel(TagHi, NumberHi));
     O << "-";
-    PrintLabelName(TagLo, NumberLo);
+    PrintLabelName(getDWLabel(TagLo, NumberLo));
   }
 }