forked from OSchip/llvm-project
Change DisambiguateGlobalSymbols to not rename asm globals, which breaks
bugpoint on leopard. llvm-svn: 30150
This commit is contained in:
parent
721fc38342
commit
3b18c1a946
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue