[llvm-commits] [llvm] r120856 - /llvm/trunk/lib/Analysis/DebugInfo.cpp
Jakob Stoklund Olesen
stoklund at 2pi.dk
Fri Dec 3 15:40:45 PST 2010
Author: stoklund
Date: Fri Dec 3 17:40:45 2010
New Revision: 120856
URL: http://llvm.org/viewvc/llvm-project?rev=120856&view=rev
Log:
Also inore '()' 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=120856&r1=120855&r2=120856&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/DebugInfo.cpp (original)
+++ llvm/trunk/lib/Analysis/DebugInfo.cpp Fri Dec 3 17:40:45 2010
@@ -1161,7 +1161,8 @@
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] = '.';
}
}
More information about the llvm-commits
mailing list