llvm-project/libcxxabi/test
Dan Albert 12c0c8b67f [libcxxabi] Add __cxa_thread_atexit for TLS support on Linux.
Summary:
Fixes PR21738.

The implementation for this is handled by __cxa_thread_atexit_impl,
which is supplied by libc.

More information:
https://sourceware.org/glibc/wiki/Destructor%20support%20for%20thread_local%20variables

Reviewers: mclow.lists, EricWF, jroelofs

Reviewed By: jroelofs

Subscribers: majnemer, cfe-commits

Differential Revision: http://reviews.llvm.org/D6708

llvm-svn: 224477
2014-12-18 00:03:57 +00:00
..
support Fix comment on end of #endif to match #if 2014-11-25 03:19:02 +00:00
CMakeLists.txt [libcxxabi] Refactor building and testing libc++abi without threads 2014-11-24 22:42:03 +00:00
backtrace_test.cpp Move ARM failure from FIXME to XFAIL 2014-11-07 10:30:53 +00:00
catch_array_01.cpp Quash TODO regarding catch by array type. Add tests to back it up. 2012-02-01 19:21:28 +00:00
catch_array_02.cpp Quash TODO regarding catch by array type. Add tests to back it up. 2012-02-01 19:21:28 +00:00
catch_class_01.cpp More test cases concentrating on catching class types. 2012-01-31 23:52:20 +00:00
catch_class_02.cpp More test cases concentrating on catching class types. 2012-01-31 23:52:20 +00:00
catch_class_03.cpp More test cases concentrating on catching class types. 2012-01-31 23:52:20 +00:00
catch_class_04.cpp More test cases concentrating on catching class types. 2012-01-31 23:52:20 +00:00
catch_const_pointer_nullptr.cpp 80-column wrap a comment in a test 2013-12-05 21:54:49 +00:00
catch_function_01.cpp Quash TODO regarding catch by function type. Add tests to back it up. 2012-02-01 19:42:45 +00:00
catch_function_02.cpp Quash TODO regarding catch by function type. Add tests to back it up. 2012-02-01 19:42:45 +00:00
catch_in_noexcept.cpp Add EH test case checking that handlers in noexcept functions can still unwind 2014-05-31 00:25:59 +00:00
catch_member_data_pointer_01.cpp Quash a TODO related to catching pointer-to-member. These tests fail on my 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. 2012-02-01 20:53:21 +00:00
catch_member_function_pointer_01.cpp Quash a TODO related to catching pointer-to-member. These tests fail on my 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. 2012-02-01 20:53:21 +00:00
catch_member_pointer_nullptr.cpp Add some tests to test catching nullptr with pointers and member pointers. Tests are only activated if #if __has_feature(cxx_nullptr). 2012-02-01 21:01:52 +00:00
catch_pointer_nullptr.cpp Add some tests to test catching nullptr with pointers and member pointers. Tests are only activated if #if __has_feature(cxx_nullptr). 2012-02-01 21:01:52 +00:00
catch_pointer_reference.cpp Add EH test cases corresponding to C++ ABI # 15.3.3 2014-05-31 00:24:58 +00:00
catch_ptr.cpp Here's a test for catching pointers. 2012-02-01 00:22:38 +00:00
catch_ptr_02.cpp [libcxxabi] Cleanup memory in tests to placate ASAN. 2014-11-21 01:53:51 +00:00
cxa_thread_atexit_test.cpp [libcxxabi] Add __cxa_thread_atexit for TLS support on Linux. 2014-12-18 00:03:57 +00:00
dynamic_cast3.cpp [libcxxabi] Refactor test timing logic and disable by default. 2014-11-24 22:38:57 +00:00
dynamic_cast5.cpp [libcxxabi] Refactor test timing logic and disable by default. 2014-11-24 22:38:57 +00:00
dynamic_cast14.cpp [libcxxabi] Refactor test timing logic and disable by default. 2014-11-24 22:38:57 +00:00
dynamic_cast_stress.cpp [libcxxabi] Refactor test timing logic and disable by default. 2014-11-24 22:38:57 +00:00
inherited_exception.cpp [libcxxabi] Cleanup memory in tests to placate ASAN. 2014-11-21 01:53:51 +00:00
lit.cfg [libcxxabi] Add __cxa_thread_atexit for TLS support on Linux. 2014-12-18 00:03:57 +00:00
lit.site.cfg.in [libcxxabi] Refactor building and testing libc++abi without threads 2014-11-24 22:42:03 +00:00
test_aux_runtime.cpp Silence a warning. 2012-01-28 00:29:27 +00:00
test_aux_runtime_op_array_new.cpp Adding ABI support for __cxa_throw_bad_array_new_length. 2014-09-11 17:26:43 +00:00
test_demangle.cpp [libcxxabi] Refactor test timing logic and disable by default. 2014-11-24 22:38:57 +00:00
test_exception_storage.cpp [libcxxabi] Refactor building and testing libc++abi without threads 2014-11-24 22:42:03 +00:00
test_fallback_malloc.cpp Marshall Clow reminded me that fallback_malloc.cpp was broken out for testing purposes. We've agreed to simply rename fallback_malloc.cpp to fallback_malloc.ipp. Thanks Marshall. 2012-01-24 21:41:27 +00:00
test_guard.cpp [libcxxabi] Refactor building and testing libc++abi without threads 2014-11-24 22:42:03 +00:00
test_vector1.cpp [libcxxabi] Cleanup memory in tests to placate ASAN. 2014-11-21 01:53:51 +00:00
test_vector2.cpp Clean up the vector tests 2011-06-13 17:57:10 +00:00
test_vector3.cpp Add missing #include <stdlib.h> into test which uses ::exit. 2012-07-11 09:37:56 +00:00
testit Don't use bash features. 2014-05-03 12:09:55 +00:00
unwind_01.cpp Some unwinding test cases 2012-01-31 21:58:58 +00:00
unwind_02.cpp Some unwinding test cases 2012-01-31 21:58:58 +00:00
unwind_03.cpp Some unwinding test cases 2012-01-31 21:58:58 +00:00
unwind_04.cpp Some unwinding test cases 2012-01-31 21:58:58 +00:00
unwind_05.cpp Some unwinding test cases 2012-01-31 21:58:58 +00:00
unwind_06.cpp Try harder to get the compiler to use float registers in different 2014-05-04 16:31:33 +00:00