projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
833eb68
)
Change DisambiguateGlobalSymbols to not rename asm globals, which breaks
author
Chris Lattner
<sabre@nondot.org>
Thu, 7 Sep 2006 18:21:07 +0000
(18:21 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 7 Sep 2006 18:21:07 +0000
(18:21 +0000)
bugpoint on leopard.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30150
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/bugpoint/Miscompilation.cpp
patch
|
blob
|
history
diff --git
a/tools/bugpoint/Miscompilation.cpp
b/tools/bugpoint/Miscompilation.cpp
index 7660a83d3009fd1ec50038bfde3a42fe2eaad728..3503f7b2c79e8da5adf557839977545631f5cb03 100644
(file)
--- a/
tools/bugpoint/Miscompilation.cpp
+++ b/
tools/bugpoint/Miscompilation.cpp
@@
-234,6
+234,7
@@
static void DisambiguateGlobalSymbols(Module *M) {
Mangler Mang(*M);
// Agree with the CBE on symbol naming
Mang.markCharUnacceptable('.');
+ Mang.setPreserveAsmNames(true);
for (Module::global_iterator I = M->global_begin(), E = M->global_end();
I != E; ++I)
I->setName(Mang.getValueName(I));