aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bugpoint/Miscompilation.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-14 06:19:07 +0000
committerChris Lattner <sabre@nondot.org>2009-07-14 06:19:07 +0000
commitc0eb500cdbfedf5e994b586b8c8c5cf4e32c533d (patch)
treea8088e5e422e83eb3d82df6a7ff9cb78bbc764d3 /tools/bugpoint/Miscompilation.cpp
parent64b9f4289a80f8a9f51f7ad766775277ec41e0c6 (diff)
downloadexternal_llvm-c0eb500cdbfedf5e994b586b8c8c5cf4e32c533d.zip
external_llvm-c0eb500cdbfedf5e994b586b8c8c5cf4e32c533d.tar.gz
external_llvm-c0eb500cdbfedf5e994b586b8c8c5cf4e32c533d.tar.bz2
rename getValueName -> getMangledName
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75616 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint/Miscompilation.cpp')
-rw-r--r--tools/bugpoint/Miscompilation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/bugpoint/Miscompilation.cpp b/tools/bugpoint/Miscompilation.cpp
index 5fffcc1..a3a1e29 100644
--- a/tools/bugpoint/Miscompilation.cpp
+++ b/tools/bugpoint/Miscompilation.cpp
@@ -244,9 +244,9 @@ static void DisambiguateGlobalSymbols(Module *M) {
Mang.setPreserveAsmNames(true);
for (Module::global_iterator I = M->global_begin(), E = M->global_end();
I != E; ++I)
- I->setName(Mang.getValueName(I));
+ I->setName(Mang.getMangledName(I));
for (Module::iterator I = M->begin(), E = M->end(); I != E; ++I)
- I->setName(Mang.getValueName(I));
+ I->setName(Mang.getMangledName(I));
}
/// ExtractLoops - Given a reduced list of functions that still exposed the bug,