Changes in directory llvm/tools/bugpoint:

Miscompilation.cpp updated: 1.72 -> 1.73
---
Log message:

This solves the problem of the CBE renaming symbols that start with . but the 
assembly side still trying to reference them by their old names.  Should be 
safe untill we hit a language front end that lets you specify such a name.

---
Diffs of the changes:  (+2 -0)

 Miscompilation.cpp |    2 ++
 1 files changed, 2 insertions(+)


Index: llvm/tools/bugpoint/Miscompilation.cpp
diff -u llvm/tools/bugpoint/Miscompilation.cpp:1.72 
llvm/tools/bugpoint/Miscompilation.cpp:1.73
--- llvm/tools/bugpoint/Miscompilation.cpp:1.72 Sat Oct 22 23:37:20 2005
+++ llvm/tools/bugpoint/Miscompilation.cpp      Tue Dec  6 14:51:30 2005
@@ -232,6 +232,8 @@
   // 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)



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to