[llvm-commits] CVS: llvm/tools/bugpoint/Miscompilation.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Sep 7 11:21:21 PDT 2006
Changes in directory llvm/tools/bugpoint:
Miscompilation.cpp updated: 1.76 -> 1.77
---
Log message:
Change DisambiguateGlobalSymbols to not rename asm globals, which breaks
bugpoint on leopard.
---
Diffs of the changes: (+1 -0)
Miscompilation.cpp | 1 +
1 files changed, 1 insertion(+)
Index: llvm/tools/bugpoint/Miscompilation.cpp
diff -u llvm/tools/bugpoint/Miscompilation.cpp:1.76 llvm/tools/bugpoint/Miscompilation.cpp:1.77
--- llvm/tools/bugpoint/Miscompilation.cpp:1.76 Wed Aug 23 15:34:57 2006
+++ llvm/tools/bugpoint/Miscompilation.cpp Thu Sep 7 13:21:07 2006
@@ -234,6 +234,7 @@
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));
More information about the llvm-commits
mailing list