| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
parameter packs, which exposed a logic bug causing an empty vector<string> to be accessed with back(). In addition to fixing the bug, I've inserted numerous preemptive checks for similar bugs in the hopes that if another bug is uncovered, the bug results in an invalid mangled string instead of a demangler crash. Test suite updated with string that was causing the crash.
llvm-svn: 197063
|
|
|
|
| |
llvm-svn: 193169
|
|
|
|
| |
llvm-svn: 187255
|
|
|
|
|
|
| |
case that led me to yet another closely related test case that the current design could not handle. I've now changed the way forward references are handled completely. It wasn't that much code to change. The demangler, when confronted with a forward reference to a template parameter, now parses things twice. During the second parse, all forward references are remembered from the first parse. Test suite updated with new case.
llvm-svn: 184672
|
|
|
|
|
|
| |
I believe this fix is a better fix than what I committed in r184656 yesterday. I've basically moved the checking for '`' from the start of the demangling process to the end of it. In the process I discovered that one of the test cases no longer demangled to the expected string. After further investigation I believe this case to not be a valid mangled string, and so I moved the test case to the 'invalid cases'. The reason I believe it is invalid is that it should use T_ instead of T0_ to index the template parameter.
llvm-svn: 184668
|
|
|
|
| |
llvm-svn: 184656
|
|
|
|
|
|
| |
random strings at the demangler. I succeeded in crashing it twice more and those crashers have been fixed and the test suite updated with the crash cases.
llvm-svn: 184562
|
|
|
|
| |
llvm-svn: 184477
|
|
|
|
|
|
| |
names.
llvm-svn: 184394
|
|
|
|
| |
llvm-svn: 184301
|
|
|
|
| |
llvm-svn: 184118
|
|
|
|
|
|
| |
Demangler tests updated.
llvm-svn: 184097
|
|
|
|
| |
llvm-svn: 179208
|
|
|
|
|
|
|
|
| |
4.6 and 4.7
- using "__lambda_node" causes internal compiler error in newer GCC versions
llvm-svn: 169402
|
|
|
|
|
|
| |
__parse_unnamed_type_name wasn't properly handling the list of paramters and was not safe against incorrectly mangled lambdas (running past last).
llvm-svn: 169022
|
|
|
|
|
|
| |
http://llvm.org/bugs/show_bug.cgi?id=13889
llvm-svn: 164405
|
|
|
|
|
|
| |
this decition: http://sourcerytools.com/pipermail/cxx-abi-dev/2011-August/002422.html . Failure to disallow this was causing infinite recursion in the demangler when these symbols show up due to mangling bugs. This patch causes the demangler to return an invalid mangled name result rather than crash in infinite recursion.
llvm-svn: 163859
|
|
|
|
|
|
|
|
|
| |
substitution forward references. That is, sometimes a mangled name refers to
a substitution that hasn't yet been defined. The demangler was derferencing a
null pointer in this case because it wasn't properly guarded against a
forward reference. Test case added to catch this problem.
llvm-svn: 161267
|
|
|
|
|
|
|
|
| |
because it crashed lldb when it tried to demangle the added test.
Not sure how it should identify the lambda so that might need changing from the current 'lambdax':: Howard: Please patch CREDITS.TXT.
llvm-svn: 161125
|
|
|
|
|
|
|
|
| |
uninitialized
which generates -Wsometimes-uninitialized. Howard: The only thing this patch is missing is an update to CREDITS.TXT.
llvm-svn: 160932
|
|
|
|
|
|
| |
be null.
llvm-svn: 158556
|
|
|
|
| |
llvm-svn: 155994
|
|
|
|
|
|
| |
usage of it as an identifier will need to be renamed.
llvm-svn: 155044
|
|
|
|
| |
llvm-svn: 152415
|
|
|
|
| |
llvm-svn: 152335
|
|
|
|
| |
llvm-svn: 152328
|
|
|
|
| |
llvm-svn: 152323
|
|
|
|
| |
llvm-svn: 149633
|
|
|
|
|
|
| |
dead code.
llvm-svn: 146677
|
|
|
|
| |
llvm-svn: 146463
|
|
|
|
|
|
| |
type> # construction vtable for second-in-first, and for <special-name> ::= GR <object name> # reference temporary for object
llvm-svn: 146274
|
|
|
|
| |
llvm-svn: 145543
|
|
|
|
| |
llvm-svn: 145277
|
|
|
|
|
|
| |
references to function types
llvm-svn: 137469
|
|
|
|
| |
llvm-svn: 137047
|
|
|
|
|
|
| |
understanding and sync with updated clang mangling. Also fix think-o in __parse_encoding enabling the parsing of trailing .eh and .b.
llvm-svn: 133632
|
|
llvm-svn: 130921
|