hanchenye-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
catch_array_02.cpp
catch_class_01.cpp
catch_class_02.cpp
catch_class_03.cpp
catch_class_04.cpp
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
catch_function_02.cpp
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
catch_member_function_pointer_01.cpp
catch_member_pointer_nullptr.cpp
catch_pointer_nullptr.cpp
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
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
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
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
test_vector3.cpp
testit Don't use bash features. 2014-05-03 12:09:55 +00:00
unwind_01.cpp
unwind_02.cpp
unwind_03.cpp
unwind_04.cpp
unwind_05.cpp
unwind_06.cpp Try harder to get the compiler to use float registers in different 2014-05-04 16:31:33 +00:00