mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-25 21:16:19 +00:00
use the new form of getNameWithPrefix, not makeNameProper.
Among other things, this would do very weird things if the basic block name had (e.g.) a space in it on darwin: makeNameProper would add quotes, then the mcsymbol would escape the quotes. llvm-svn: 93302
This commit is contained in:
parent
9c1ca33ac3
commit
086d0d1a2b
@ -1682,7 +1682,7 @@ MCSymbol *AsmPrinter::GetBlockAddressSymbol(const Function *F,
|
||||
SmallString<60> NameResult;
|
||||
raw_svector_ostream(NameResult) << MAI->getPrivateGlobalPrefix() << "BA"
|
||||
<< FuncName.size() << '_' << FuncName << '_';
|
||||
Mang->makeNameProper(NameResult, BB->getName());
|
||||
Mang->getNameWithPrefix(NameResult, BB->getName());
|
||||
if (Suffix[0])
|
||||
NameResult += Suffix;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user