llvm-project/libcxxabi/test
Chandler Carruth 24a6b05680 [cmake/multilib] Teach libc++abi's CMake build to support multilib
libdir suffixes like 'lib64' or 'lib32'.

This support is currently very rhudimentary. We define a variable
LIBCXXABI_LIBDIR_SUFFIX. In a standalone build of libc++abi this can be
directly set as a cached variable to control the multilib suffix used.
When building libc++abi within a larger LLVM build, it is hard wired to
whatever LLVM libdir suffix has been selected. If this doesn't work for
someone, just let me know. I'm happy to change it.

Unfortunately, libc++abi's lit setup made this somewhat problematic to
change. It was setting variables up in a way that caused the resulting
build to not work with lit at all. To fix that, I've moved some
variables around in the CMake build to more closely match where and how
they are defined in the libc++ CMake build. This includes specifically
defining a library root variable in the CMake build where the libdir
suffix can be applied, and then using that rather than re-computing it
from the object directory in the lit config.

This is essentially new functionality for libc++abi so I don't expect it
to have any impact for folks until they start setting these variables.
However, I know libc++abi is built in a diverse set of environments so
just let me know if this causes you any problems.

llvm-svn: 224927
2014-12-29 12:22:04 +00:00
..
support Fix comment on end of #endif to match #if 2014-11-25 03:19:02 +00:00
CMakeLists.txt [cmake/multilib] Teach libc++abi's CMake build to support multilib 2014-12-29 12:22:04 +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 [cmake/multilib] Teach libc++abi's CMake build to support multilib 2014-12-29 12:22:04 +00:00
lit.site.cfg.in [cmake/multilib] Teach libc++abi's CMake build to support multilib 2014-12-29 12:22:04 +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