History log of /external/libcxxabi/test/test_demangle.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e45805f0d3f8dafef1297cc7dc49e610713f023b 03-Jul-2014 Dan Albert <danalbert@google.com> Merge to upstream r212232.

Includes ARM EHABI unwinder.

Change-Id: I7e40c761abc0a4c67f11b8e9f85efefa6ba292ba
/external/libcxxabi/test/test_demangle.cpp
2950e56d0fb30123dc93a55dc92f5a903c2bec13 17-Feb-2014 Anders Carlsson <andersca@mac.com> Demangle Dc to decltype(auto) as per the Itanium C++ ABI spec.

git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@201533 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxxabi/test/test_demangle.cpp
f29757a358ae9c07d3a768a5b40543fae9d768dd 07-Jan-2014 Howard Hinnant <hhinnant@apple.com> Implement demangling for user-defined operators.

git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@198643 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxxabi/test/test_demangle.cpp
753a30dd68ae008948d48f16bc942d5963fe65a1 11-Dec-2013 Howard Hinnant <hhinnant@apple.com> Fix demangling crasher. The crasher involved nested <encoding> involving 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.

git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@197063 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxxabi/test/test_demangle.cpp
b2d1f94e76c016628f868868ed40a53c2b40b6ed 23-Jun-2013 Howard Hinnant <hhinnant@apple.com> I'd no sooner made the last commit when Matthew Dempsky sent me another test 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.

git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@184672 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxxabi/test/test_demangle.cpp
eb8d46c54e181eea4d33b96a9a13e2ac0bd329a8 23-Jun-2013 Howard Hinnant <hhinnant@apple.com> After a private conversation with Arthur O'Dwyer, and a good night's sleep, 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.

git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@184668 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxxabi/test/test_demangle.cpp
ab8cfb1dfb4bb7e5c8294a81639f08b7ff14ade9 23-Jun-2013 Howard Hinnant <hhinnant@apple.com> Filter out '`' in mangled strings and reject them as invalid if found.

git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@184656 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxxabi/test/test_demangle.cpp
f672517e714ff464978992a363dce47de2207472 21-Jun-2013 Howard Hinnant <hhinnant@apple.com> I created a random mangled name generator and have thrown about 200 million 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.

git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@184562 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxxabi/test/test_demangle.cpp
93433df2421f377a55478d20c8a67b8f835380f5 20-Jun-2013 Howard Hinnant <hhinnant@apple.com> Another demangler crasher. Updated test suite to prevent regression.

git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@184477 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxxabi/test/test_demangle.cpp
b4033ff8b4db60bbd7f2498d85fd7c4dd0ad5b11 20-Jun-2013 Howard Hinnant <hhinnant@apple.com> Protect against invalid mangled names. Add test suite for invalid mangled names.

git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@184394 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxxabi/test/test_demangle.cpp
19e36dddb0023fad0c609328e6686d1bbbced718 19-Jun-2013 Howard Hinnant <hhinnant@apple.com> Demangle objc mangling implemented in r184250

git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@184301 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxxabi/test/test_demangle.cpp
6c33e768c1b37af3e5d5f9f0e2a72fcf1dc51382 17-Jun-2013 Howard Hinnant <hhinnant@apple.com> Demangler update: This now demangles many more (all?) C++11 symbols. Demangler tests updated.

git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@184097 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxxabi/test/test_demangle.cpp
5dd173b3792e868a7ebfa699d156f24075eafc01 10-Apr-2013 Howard Hinnant <hhinnant@apple.com> Add capability to demangle invocation functions for ObjC blocks.

git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@179208 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxxabi/test/test_demangle.cpp
342f2f9ffa476d63a1fe1fa718b3243db2c7c5a7 30-Nov-2012 Howard Hinnant <hhinnant@apple.com> __list::ends_with_template was giving the wrong answer for empty lists. And __parse_unnamed_type_name wasn't properly handling the list of paramters and was not safe against incorrectly mangled lambdas (running past last).

git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@169022 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxxabi/test/test_demangle.cpp
33601b1827f85139727de58d2156aa51a2021b68 08-Oct-2012 Micah Villmow <villmow@gmail.com> Move TargetData to DataLayout.

git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@165397 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxxabi/test/test_demangle.cpp
20300c77d8c91266e409eef27568a582fe9ba4a0 04-Aug-2012 Howard Hinnant <hhinnant@apple.com> Fixes apple: #12020687. This was a problem in the demangler with template
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.

git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@161267 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxxabi/test/test_demangle.cpp
ab0399980a3ced1a64840c1dd71cfaed42a33c8c 01-Aug-2012 Howard Hinnant <hhinnant@apple.com> Erik Olofsson: This patch adds support for lambda demangling. I fixed this 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.

git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@161125 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxxabi/test/test_demangle.cpp
1c8066cf848e2b4ee1ddcb21efe8bd9c115453d9 02-May-2012 Howard Hinnant <hhinnant@apple.com> Fix bug in cxa_demangle involving template substitution.

git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@155994 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxxabi/test/test_demangle.cpp
8e0a2d23782634460d66bf45e6c781c2f0111859 02-Feb-2012 Howard Hinnant <hhinnant@apple.com> corrected namespace in test

git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@149635 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxxabi/test/test_demangle.cpp
321a095c08f0700e8619266518b63d438285d3a1 22-Jan-2012 Howard Hinnant <hhinnant@apple.com> Change header to generic, instead of implementation specific

git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@148646 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxxabi/test/test_demangle.cpp
ab87dcf97e2bba2b2b9aadc0877ebd3b8d7cab42 15-Dec-2011 Howard Hinnant <hhinnant@apple.com> Fixed several bugs, implemented support for vector types, and cleaned out dead code.

git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@146677 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxxabi/test/test_demangle.cpp
5ee51a7062e0973ac1d8b2d44598bf9e69bb08f0 13-Dec-2011 Howard Hinnant <hhinnant@apple.com> Fix size calculation for pointer to member function

git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@146463 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxxabi/test/test_demangle.cpp
f270035a31a0abd92c1592ba0e87db0016127c3e 09-Dec-2011 Howard Hinnant <hhinnant@apple.com> Added support for <special-name> ::= TC <first type> <number> _ <second type> # construction vtable for second-in-first, and for <special-name> ::= GR <object name> # reference temporary for object

git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@146274 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxxabi/test/test_demangle.cpp
f2888967f1c99bd49d64b56b91b68962a65f7df9 01-Dec-2011 Howard Hinnant <hhinnant@apple.com> Updated heuristic regulating small string buffer

git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@145543 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxxabi/test/test_demangle.cpp
89df8ad0d1bad867aeddf9cafe85b921eac31eba 12-Aug-2011 Howard Hinnant <hhinnant@apple.com> demangler: Drop preceeding () from function types, but not from pointers and references to function types

git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@137469 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxxabi/test/test_demangle.cpp
889b02d72d523ba716ce08403c284e60f0a9431d 22-Jun-2011 Howard Hinnant <hhinnant@apple.com> In cxa_demangle.cpp, rewrite __parse_unresolved_name to reflect updated understanding and sync with updated clang mangling. Also fix think-o in __parse_encoding enabling the parsing of trailing .eh and .b.

git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@133632 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxxabi/test/test_demangle.cpp
d213ffdf3befead3b8f5a0ba12ce1c2d9949525b 05-May-2011 Howard Hinnant <hhinnant@apple.com> initial import

git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@130921 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxxabi/test/test_demangle.cpp