mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-12 15:51:40 +00:00
Change DisambiguateGlobalSymbols to not rename asm globals, which breaks
bugpoint on leopard. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30150 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
833eb68a1f
commit
afd39f0cc4
@ -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…
x
Reference in New Issue
Block a user