| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
| |
Test case written by Dana Jansens.
llvm-svn: 210129
|
| |
|
|
| |
llvm-svn: 209944
|
| |
|
|
| |
llvm-svn: 209943
|
| |
|
|
|
|
|
| |
determine whether we get a mangling for a return type, rather than trying to
figure it out based on whether the mangled name ended with a '>'.
llvm-svn: 208611
|
| |
|
|
|
|
|
| |
This commit implements the ARM zero-cost exception handling
support for libc++abi.
llvm-svn: 208466
|
| |
|
|
|
|
|
|
|
| |
To allow the compilation with gcc, we can't use the
__has_feature(cxx_noexcept) to detect the default destructor
exception specification, which is noexcept(true) by default
in C++11. We should use __cplusplus >= 201103L instead.
llvm-svn: 208465
|
| |
|
|
|
|
| |
http://reviews.llvm.org/D3386
llvm-svn: 208135
|
| |
|
|
|
|
| |
places to increase the chance of messing up any preserved registers.
llvm-svn: 207938
|
| |
|
|
| |
llvm-svn: 207907
|
| |
|
|
|
|
| |
AArch64)
llvm-svn: 207481
|
| |
|
|
| |
llvm-svn: 201533
|
| |
|
|
|
|
| |
pointers. Specifically, libc++abi would crash when you tried it.
llvm-svn: 200904
|
| |
|
|
| |
llvm-svn: 200864
|
| |
|
|
| |
llvm-svn: 198643
|
| |
|
|
|
|
| |
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: 196540
|
| |
|
|
|
|
| |
const'. Thanks to Nico for the catch
llvm-svn: 196355
|
| |
|
|
|
|
| |
virtual inheritance hierarchy. Change a few private inheritances to protected. This change will not impact what the test was testing. This fixes http://llvm.org/bugs/show_bug.cgi?id=16753.
llvm-svn: 187429
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
Demangler tests updated.
llvm-svn: 184097
|
| |
|
|
| |
llvm-svn: 179208
|
| |
|
|
|
|
| |
__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
|
| |
|
|
| |
llvm-svn: 165397
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 160039
|
| |
|
|
| |
llvm-svn: 155994
|
| |
|
|
| |
llvm-svn: 149635
|
| |
|
|
| |
llvm-svn: 149552
|
| |
|
|
| |
llvm-svn: 149545
|
| |
|
|
| |
llvm-svn: 149542
|
| |
|
|
| |
llvm-svn: 149541
|
| |
|
|
|
|
| |
Tests are only activated if #if __has_feature(cxx_nullptr).
llvm-svn: 149536
|
| |
|
|
|
|
| |
copy of gcc-4.2. But I believe the tests to be correct (and they pass for libc++abi). I've enquired on the C++ standards mailing list for a clarification in case I'm wrong. So far I've gotten one response that agrees with me.
llvm-svn: 149534
|
| |
|
|
| |
llvm-svn: 149530
|
| |
|
|
| |
llvm-svn: 149527
|
| |
|
|
| |
llvm-svn: 149459
|
| |
|
|
| |
llvm-svn: 149453
|
| |
|
|
| |
llvm-svn: 149436
|
| |
|
|
|
|
| |
occasionally causes clang to crash. Put a noexcept(false) on a throwing destructor in test_vector1.cpp. The test now passes for both C++03 and C++11 modes. Add testit script. All tests are now PASSING :-)
llvm-svn: 149413
|
| |
|
|
| |
llvm-svn: 149412
|
| |
|
|
| |
llvm-svn: 149156
|
| |
|
|
| |
llvm-svn: 149155
|
| |
|
|
|
|
| |
testing purposes. We've agreed to simply rename fallback_malloc.cpp to fallback_malloc.ipp. Thanks Marshall.
llvm-svn: 148863
|