projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4623b9d
)
Improvements to FastDemangler to correct parsing of <local-name> encodings for string...
author
Kate Stone
<katherine.stone@apple.com>
Sat, 6 Dec 2014 01:42:41 +0000
(
01:42
+0000)
committer
Kate Stone
<katherine.stone@apple.com>
Sat, 6 Dec 2014 01:42:41 +0000
(
01:42
+0000)
llvm-svn: 223569
lldb/source/Core/FastDemangle.cpp
patch
|
blob
|
history
diff --git
a/lldb/source/Core/FastDemangle.cpp
b/lldb/source/Core/FastDemangle.cpp
index
d696dbd
..
53e8972
100644
(file)
--- a/
lldb/source/Core/FastDemangle.cpp
+++ b/
lldb/source/Core/FastDemangle.cpp
@@
-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;