diff options
| author | Devang Patel <dpatel@apple.com> | 2010-12-03 23:29:30 +0000 |
|---|---|---|
| committer | Devang Patel <dpatel@apple.com> | 2010-12-03 23:29:30 +0000 |
| commit | f0227ccf3f72befba93527b94613b499293095e6 (patch) | |
| tree | d0c3a521e37be362392761504a4cbd9644ee7975 /llvm/lib/Analysis/DebugInfo.cpp | |
| parent | a09cbbeef51e2331272aca1ffa5174928fe44eb8 (diff) | |
| download | llvm-f0227ccf3f72befba93527b94613b499293095e6.zip llvm-f0227ccf3f72befba93527b94613b499293095e6.tar.gz llvm-f0227ccf3f72befba93527b94613b499293095e6.tar.bz2 | |
Ignore '+' while creating mdnode name from ObjC symbol name.
llvm-svn: 120853
Diffstat (limited to 'llvm/lib/Analysis/DebugInfo.cpp')
| -rw-r--r-- | llvm/lib/Analysis/DebugInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/DebugInfo.cpp b/llvm/lib/Analysis/DebugInfo.cpp index 5df381f..aacbc11 100644 --- a/llvm/lib/Analysis/DebugInfo.cpp +++ b/llvm/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] = '.'; } } |
