aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-14 01:01:12 +0000
committerChris Lattner <sabre@nondot.org>2009-07-14 01:01:12 +0000
commite93f18c000c3f14cbf126c2e95bed501fde819ea (patch)
tree66d09c23b6334cf242b39189332f3cc4fc34218f
parentf354d36027f21554f43b365cd07cf965a7687096 (diff)
downloadexternal_llvm-e93f18c000c3f14cbf126c2e95bed501fde819ea.zip
external_llvm-e93f18c000c3f14cbf126c2e95bed501fde819ea.tar.gz
external_llvm-e93f18c000c3f14cbf126c2e95bed501fde819ea.tar.bz2
use getValueName instead of makeNameProper.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75577 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp b/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
index e87bfaf..f160bd0 100644
--- a/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
+++ b/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
@@ -233,7 +233,7 @@ bool X86ATTAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
EmitConstantPool(MF.getConstantPool());
if (F->hasDLLExportLinkage())
- DLLExportedFns.insert(Mang->makeNameProper(F->getName(), ""));
+ DLLExportedFns.insert(Mang->getValueName(F));
// Print the 'header' of function
emitFunctionHeader(MF);
@@ -910,7 +910,7 @@ bool X86ATTAsmPrinter::doFinalization(Module &M) {
printModuleLevelGV(I);
if (I->hasDLLExportLinkage())
- DLLExportedGVs.insert(Mang->makeNameProper(I->getName(),""));
+ DLLExportedGVs.insert(Mang->getValueName(I));
}
if (Subtarget->isTargetDarwin()) {