summaryrefslogtreecommitdiffstats
path: root/llvm/tools/bugpoint/Miscompilation.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-16 18:12:14 +0000
committerChris Lattner <sabre@nondot.org>2010-01-16 18:12:14 +0000
commit9787fd04687fab883fc0b23894e64f057697eb1d (patch)
treee6810f7d867a2e9769f7a88887835f0ad2dd278f /llvm/tools/bugpoint/Miscompilation.cpp
parente1ad8a105af6d224cf791533cd88ce3e62c1de19 (diff)
downloadbcm5719-llvm-9787fd04687fab883fc0b23894e64f057697eb1d.tar.gz
bcm5719-llvm-9787fd04687fab883fc0b23894e64f057697eb1d.zip
switch liblto to use the new getNameWithPrefix() method instead of getMangledName.
llvm-svn: 93643
Diffstat (limited to 'llvm/tools/bugpoint/Miscompilation.cpp')
-rw-r--r--llvm/tools/bugpoint/Miscompilation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/bugpoint/Miscompilation.cpp b/llvm/tools/bugpoint/Miscompilation.cpp
index a5914178f12..92bf1437d50 100644
--- a/llvm/tools/bugpoint/Miscompilation.cpp
+++ b/llvm/tools/bugpoint/Miscompilation.cpp
@@ -251,13 +251,13 @@ static void DisambiguateGlobalSymbols(Module *M) {
I != E; ++I) {
// Don't mangle asm names.
if (!I->hasName() || I->getName()[0] != 1)
- I->setName(Mang.getMangledName(I));
+ I->setName(Mang.getNameWithPrefix(I));
}
for (Module::iterator I = M->begin(), E = M->end(); I != E; ++I) {
// Don't mangle asm names or intrinsics.
if ((!I->hasName() || I->getName()[0] != 1) &&
I->getIntrinsicID() == 0)
- I->setName(Mang.getMangledName(I));
+ I->setName(Mang.getNameWithPrefix(I));
}
}
OpenPOWER on IntegriCloud