mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-24 04:09:45 +00:00
Bug fix remove another illegal char from prof symbol name
End-end test with no integrated assembly should be added at some point (not done now because some bots are not properly configured to support -no-integrated-as) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272376 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bb05836e33
commit
f4c13256d7
@ -171,7 +171,7 @@ std::string getPGOFuncNameVarName(StringRef FuncName,
|
||||
return VarName;
|
||||
|
||||
// Now fix up illegal chars in local VarName that may upset the assembler.
|
||||
const char *InvalidChars = "-:<>\"'";
|
||||
const char *InvalidChars = "-:<>/\"'";
|
||||
size_t found = VarName.find_first_of(InvalidChars);
|
||||
while (found != std::string::npos) {
|
||||
VarName[found] = '_';
|
||||
|
Loading…
Reference in New Issue
Block a user