aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bugpoint
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-14 16:25:11 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-14 16:25:11 +0000
commit1f316e321a8f2fa0e193c5444584a67a8aabe9a8 (patch)
treedadb6c4008e64904a18481ee320238f3803d2c93 /tools/bugpoint
parent192957d376923cefc993c1b5c04127c42f1008ec (diff)
downloadexternal_llvm-1f316e321a8f2fa0e193c5444584a67a8aabe9a8.zip
external_llvm-1f316e321a8f2fa0e193c5444584a67a8aabe9a8.tar.gz
external_llvm-1f316e321a8f2fa0e193c5444584a67a8aabe9a8.tar.bz2
Revert r7561{9,8,7,6}, which depend on r75610.
--- Reverse-merging r75619 into '.': U lib/Target/DarwinTargetAsmInfo.cpp U lib/CodeGen/AsmPrinter/AsmPrinter.cpp --- Reverse-merging r75618 into '.': U lib/CodeGen/ELFWriter.cpp U lib/CodeGen/MachOCodeEmitter.cpp U lib/CodeGen/MachOWriter.cpp --- Reverse-merging r75617 into '.': U lib/Target/CBackend/CBackend.cpp --- Reverse-merging r75616 into '.': U tools/bugpoint/Miscompilation.cpp U tools/lto/LTOCodeGenerator.cpp U tools/lto/LTOModule.cpp git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75638 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint')
-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 a3a1e29..5fffcc1 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.getMangledName(I));
+ I->setName(Mang.getValueName(I));
for (Module::iterator I = M->begin(), E = M->end(); I != E; ++I)
- I->setName(Mang.getMangledName(I));
+ I->setName(Mang.getValueName(I));
}
/// ExtractLoops - Given a reduced list of functions that still exposed the bug,