diff options
-rw-r--r-- | lib/Analysis/DebugInfo.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Analysis/DebugInfo.cpp b/lib/Analysis/DebugInfo.cpp index aacbc11..5532cf5 100644 --- a/lib/Analysis/DebugInfo.cpp +++ b/lib/Analysis/DebugInfo.cpp @@ -1161,7 +1161,8 @@ 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 == ':' || C == '+') + if (C == '[' || C == ']' || C == ' ' || C == ':' || C == '+' || + C == '(' || C == ')') Str[i] = '.'; } } |