[Lldb-commits] [lldb] r199946 - Updated to latest and greatest demangler sources.
Greg Clayton
gclayton at apple.com
Thu Jan 23 14:12:54 PST 2014
Author: gclayton
Date: Thu Jan 23 16:12:54 2014
New Revision: 199946
URL: http://llvm.org/viewvc/llvm-project?rev=199946&view=rev
Log:
Updated to latest and greatest demangler sources.
<rdar://problem/15736085>
Modified:
lldb/trunk/source/Core/Mangled.cpp
Modified: lldb/trunk/source/Core/Mangled.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/Mangled.cpp?rev=199946&r1=199945&r2=199946&view=diff
==============================================================================
--- lldb/trunk/source/Core/Mangled.cpp (original)
+++ lldb/trunk/source/Core/Mangled.cpp Thu Jan 23 16:12:54 2014
@@ -23,7 +23,7 @@
//----------------------------------------------------------------------
// Inlined copy of:
// http://llvm.org/svn/llvm-project/libcxxabi/trunk/src/cxa_demangle.cpp
-// revision 197169.
+// revision 199944.
//
// Changes include:
// - remove the "__cxxabiv1" namespace
@@ -2313,6 +2313,7 @@ parse_type(const char* first, const char
// ::= gt # >
// ::= ix # []
// ::= le # <=
+// ::= li <source-name> # operator ""
// ::= ls # <<
// ::= lS # <<=
// ::= lt # <
@@ -2474,6 +2475,18 @@ parse_operator_name(const char* first, c
db.names.push_back("operator<=");
first += 2;
break;
+ case 'i':
+ {
+ const char* t = parse_source_name(first+2, last, db);
+ if (t != first+2)
+ {
+ if (db.names.empty())
+ return first;
+ db.names.back().first.insert(0, "operator\"\" ");
+ first = t;
+ }
+ }
+ break;
case 's':
db.names.push_back("operator<<");
first += 2;
More information about the lldb-commits
mailing list