diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-16 18:12:14 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-16 18:12:14 +0000 |
commit | 469340493c48eb22b630bbd311db867c9d7953d6 (patch) | |
tree | b5890a89948a74a2cf2a3eb9c639bc4f0b9b96b9 /tools/bugpoint/Miscompilation.cpp | |
parent | 61f160a84e068fde0c3b1f706d43381851dbe14e (diff) | |
download | external_llvm-469340493c48eb22b630bbd311db867c9d7953d6.zip external_llvm-469340493c48eb22b630bbd311db867c9d7953d6.tar.gz external_llvm-469340493c48eb22b630bbd311db867c9d7953d6.tar.bz2 |
switch liblto to use the new getNameWithPrefix() method instead of getMangledName.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93643 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint/Miscompilation.cpp')
-rw-r--r-- | tools/bugpoint/Miscompilation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/bugpoint/Miscompilation.cpp b/tools/bugpoint/Miscompilation.cpp index a591417..92bf143 100644 --- a/tools/bugpoint/Miscompilation.cpp +++ b/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)); } } |