projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b555d9
)
Ignore '+' while creating mdnode name from ObjC symbol name.
author
Devang Patel
<dpatel@apple.com>
Fri, 3 Dec 2010 23:29:30 +0000
(23:29 +0000)
committer
Devang Patel
<dpatel@apple.com>
Fri, 3 Dec 2010 23:29:30 +0000
(23:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120853
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/DebugInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/DebugInfo.cpp
b/lib/Analysis/DebugInfo.cpp
index 5df381f2ec309f4f33580d940fd7d72728412364..aacbc11e4d7524b8385b7c41a4aa9bff568c64ec 100644
(file)
--- a/
lib/Analysis/DebugInfo.cpp
+++ b/
lib/Analysis/DebugInfo.cpp
@@
-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] = '.';
}
}