[llvm-commits] [llvm] r120853 - /llvm/trunk/lib/Analysis/DebugInfo.cpp
Devang Patel
dpatel at apple.com
Fri Dec 3 15:29:30 PST 2010
Author: dpatel
Date: Fri Dec 3 17:29:30 2010
New Revision: 120853
URL: http://llvm.org/viewvc/llvm-project?rev=120853&view=rev
Log:
Ignore '+' while creating mdnode name from ObjC symbol name.
Modified:
llvm/trunk/lib/Analysis/DebugInfo.cpp
Modified: llvm/trunk/lib/Analysis/DebugInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/DebugInfo.cpp?rev=120853&r1=120852&r2=120853&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/DebugInfo.cpp (original)
+++ llvm/trunk/lib/Analysis/DebugInfo.cpp Fri Dec 3 17:29:30 2010
@@ -1161,7 +1161,7 @@
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] = '.';
}
}
More information about the llvm-commits
mailing list