mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
Ignore '+' while creating mdnode name from ObjC symbol name.
llvm-svn: 120853
This commit is contained in:
parent
3b5c857f01
commit
fdc570cad4
@ -1161,7 +1161,7 @@ DIFactory::CreateGlobalVariable(DIDescriptor Context, StringRef Name,
|
||||
static void fixupObjcLikeName(std::string &Str) {
|
||||
for (size_t i = 0, e = Str.size(); i < e; ++i) {
|
||||
char C = Str[i];
|
||||
if (C == '[' || C == ']' || C == ' ' || C == ':')
|
||||
if (C == '[' || C == ']' || C == ' ' || C == ':' || C == '+')
|
||||
Str[i] = '.';
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user