llvm-project/libcxxabi
Jonathan Roelofs 8829e961e6 Revert r286788
The Itanium ABI [1] specifies that __cxa_demangle accept either:

   1) symbol names, which start with "_Z"
   2) type manglings, which do not start with "_Z"

r286788 erroneously assumes that it should only handle symbols, so this patch
reverts it and adds a counterexample to the testcase.

1: https://mentorembedded.github.io/cxx-abi/abi.html#demangler


Reviewers: zygoloid, EricWF
llvm-svn: 292418
2017-01-18 18:12:39 +00:00
..
cmake [CMake] Trying to fix the bots I broke 2016-08-29 22:26:00 +00:00
fuzz add cxa_demangle_fuzzer 2016-12-28 03:28:29 +00:00
include [libc++abi] Add _LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS 2016-12-05 19:42:11 +00:00
lib Add ability to set OPTIONS for compile 2013-09-09 23:53:08 +00:00
src Revert r286788 2017-01-18 18:12:39 +00:00
test Revert r286788 2017-01-18 18:12:39 +00:00
www [CMake] Be more consistent about naming targets and components in libc++abi 2016-08-28 18:28:51 +00:00
.arcconfig Fix arc config to use https 2016-07-18 02:05:52 +00:00
.gitignore .gitignore: ignore vim swap files 2015-12-04 02:15:02 +00:00
CMakeLists.txt [cmake] Handle missing LIBUNWIND_* directories gracefully 2017-01-14 17:05:16 +00:00
CREDITS.TXT Adding ABI support for __cxa_throw_bad_array_new_length. 2014-09-11 17:26:43 +00:00
LICENSE.TXT Update LICENSE.TXT to 2017 2017-01-03 11:21:43 +00:00