llvm.org GIT mirror llvm / dfbcb8c
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93302 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 10 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
16811681 SmallString<60> NameResult;
16821682 raw_svector_ostream(NameResult) << MAI->getPrivateGlobalPrefix() << "BA"
16831683 << FuncName.size() << '_' << FuncName << '_';
1684 Mang->makeNameProper(NameResult, BB->getName());
1684 Mang->getNameWithPrefix(NameResult, BB->getName());
16851685 if (Suffix[0])
16861686 NameResult += Suffix;
16871687