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:
f88471d
)
This solves the problem of the CBE renaming symbols that start with . but the assembl...
author
Andrew Lenharth
<andrewl@lenharth.org>
Tue, 6 Dec 2005 20:51:30 +0000
(20:51 +0000)
committer
Andrew Lenharth
<andrewl@lenharth.org>
Tue, 6 Dec 2005 20:51:30 +0000
(20:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24626
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 b3e616111e824a14938c710bf014b03004316d0e..dfe67de0cd07dc13b450ee2cbf7750cd0ee38c2e 100644
(file)
--- a/
tools/bugpoint/Miscompilation.cpp
+++ b/
tools/bugpoint/Miscompilation.cpp
@@
-232,6
+232,8
@@
static void DisambiguateGlobalSymbols(Module *M) {
// mangler is used by the two code generators), but having symbols with the
// same name causes warnings to be emitted by the code generator.
Mangler Mang(*M);
+ // Agree with the CBE on symbol naming
+ Mang.markCharUnacceptable('.');
for (Module::global_iterator I = M->global_begin(), E = M->global_end(); I != E; ++I)
I->setName(Mang.getValueName(I));
for (Module::iterator I = M->begin(), E = M->end(); I != E; ++I)