[Lldb-commits] [lldb] r223569 - Improvements to FastDemangler to correct parsing of <local-name> encodings for string literal and parameter/entity cases. Patch courtesy of slydiman.
Kate Stone
katherine.stone at apple.com
Fri Dec 5 17:42:41 PST 2014
Author: kate
Date: Fri Dec 5 19:42:41 2014
New Revision: 223569
URL: http://llvm.org/viewvc/llvm-project?rev=223569&view=rev
Log:
Improvements to FastDemangler to correct parsing of <local-name> encodings for string literal and parameter/entity cases. Patch courtesy of slydiman.
Modified:
lldb/trunk/source/Core/FastDemangle.cpp
Modified: lldb/trunk/source/Core/FastDemangle.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/FastDemangle.cpp?rev=223569&r1=223568&r2=223569&view=diff
==============================================================================
--- lldb/trunk/source/Core/FastDemangle.cpp (original)
+++ lldb/trunk/source/Core/FastDemangle.cpp Fri Dec 5 19:42:41 2014
@@ -2039,11 +2039,15 @@ private:
switch (*m_read_ptr)
{
case 's':
+ ++m_read_ptr;
TryParseDiscriminator(); // Optional and ignored
WRITE("::string literal");
break;
case 'd':
+ ++m_read_ptr;
TryParseNumber(); // Optional and ignored
+ if (!Parse('_'))
+ return false;
WriteNamespaceSeparator();
if (!ParseName())
return false;
More information about the lldb-commits
mailing list