llvm-project/libcxxabi/test
Eric Fiselier ffd1893df5 [libcxxabi] Allow target flags to affect configuration tests.
Summary:
This patch changes the libc++abi CMake so that it adds certain target flags like  '-m32' or '--gcc-toolchain' before including `config-ix.cmake`.
Since these flags can affect things like `check_library_exists([...])` they needed to be added before the tests are performed.

Additionally this patch adds `LIBCXXABI_BUILD_32_BITS` which defaults to `LLVM_BUILD_32_BITS`.

This patch fixes:

https://llvm.org/bugs/show_bug.cgi?id=27950
https://llvm.org/bugs/show_bug.cgi?id=27959

Reviewers: danalbert, jroelofs, bcraig, compnerd, EricWF

Subscribers: cfe-commits

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

llvm-svn: 271470
2016-06-02 02:18:31 +00:00
..
libcxxabi [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
support Add missing license headers 2016-01-19 22:07:10 +00:00
CMakeLists.txt [libcxxabi] Allow target flags to affect configuration tests. 2016-06-02 02:18:31 +00:00
backtrace_test.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
catch_array_01.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
catch_array_02.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
catch_class_01.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
catch_class_02.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
catch_class_03.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
catch_class_04.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
catch_const_pointer_nullptr.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
catch_function_01.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
catch_function_02.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
catch_in_noexcept.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
catch_member_data_pointer_01.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
catch_member_function_pointer_01.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
catch_member_pointer_nullptr.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
catch_multi_level_pointer.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
catch_pointer_nullptr.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
catch_pointer_reference.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
catch_ptr.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
catch_ptr_02.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
cxa_bad_cast.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
cxa_bad_typeid.pass.cpp [libcxxabi][test] Add missing return statement. 2016-06-01 19:13:53 +00:00
cxa_thread_atexit_test.pass.cpp [libcxxabi] Disable cxa_thread_atexit_test if unavailable 2016-03-17 10:00:24 +00:00
dynamic_cast3.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
dynamic_cast5.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
dynamic_cast14.pass.cpp Reducing stack usage of test 2016-03-04 14:25:13 +00:00
dynamic_cast_stress.pass.cpp Fix or disable C++11 tests in C++03 mode 2015-08-20 01:22:17 +00:00
incomplete_type.sh.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
inherited_exception.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
lit.cfg Revert r243752, it broke running tests on OS X (PR24491). 2015-08-18 18:29:33 +00:00
lit.site.cfg.in [libcxxabi] Allow target flags to affect configuration tests. 2016-06-02 02:18:31 +00:00
noexception1.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
noexception2.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
noexception3.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
noexception4.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
test_aux_runtime.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
test_aux_runtime_op_array_new.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
test_demangle.pass.cpp [libcxxabi] Make test tolerant of uncommon floating literal demanglings 2016-01-20 14:03:27 +00:00
test_exception_storage.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
test_fallback_malloc.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
test_guard.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
test_vector1.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
test_vector2.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
test_vector3.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
testit Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
uncaught_exceptions.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
unwind_01.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
unwind_02.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
unwind_03.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
unwind_04.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
unwind_05.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
unwind_06.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00