From 469340493c48eb22b630bbd311db867c9d7953d6 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 16 Jan 2010 18:12:14 +0000 Subject: 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 --- tools/bugpoint/Miscompilation.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/bugpoint') diff --git a/tools/bugpoint/Miscompilation.cpp b/tools/bugpoint/Miscompilation.cpp index a5914178f1..92bf1437d5 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)); } } -- cgit v1.2.3