llvm/libcxxabi/test
Louis Dionne 9892d1644f [libc++][libc++abi] Add tests for vendor-specific properties
Vendors take libc++ and ship it in various ways. Some vendors might
ship it differently from what upstream LLVM does, i.e. the install
location might be different, some ABI properties might differ, etc.

In the past few years, I've come across several instances where
having a place to test some of these properties would have been
incredibly useful. I also just got bitten by the lack of tests
of that kind, so I'm adding some now.

The tests added by this commit for Apple platforms have numerous
TODOs that capture discrepancies between the upstream LLVM CMake
and the slightly-modified build we perform internally to produce
Apple's system libc++. In the future, the goal would be to upstream
all those differences so that it's possible to build a faithful
Apple system libc++ with the upstream LLVM sources only.

But this isn't only useful for Apple - this lays out the path for
any vendor being able to add their own checks (either upstream or
downstream) to libc++.

Differential Revision: https://reviews.llvm.org/D110736
2021-09-29 17:22:37 -04:00
..
libcxxabi [libc++abi] Remove unnecessary atomic_support.h header from libc++abi 2021-09-21 19:55:21 -04:00
native/arm-linux-eabi
support
vendor/apple [libc++][libc++abi] Add tests for vendor-specific properties 2021-09-29 17:22:37 -04:00
backtrace_test.pass.cpp
catch_array_01.pass.cpp
catch_array_02.pass.cpp
catch_class_01.pass.cpp
catch_class_02.pass.cpp
catch_class_03.pass.cpp [libc++abi] Remove workarounds for missing -Wno-exceptions on older GCCs 2021-09-03 14:23:28 -04:00
catch_class_04.pass.cpp [libc++abi] Remove workarounds for missing -Wno-exceptions on older GCCs 2021-09-03 14:23:28 -04:00
catch_const_pointer_nullptr.pass.cpp
catch_function_01.pass.cpp
catch_function_02.pass.cpp
catch_function_03.pass.cpp
catch_in_noexcept.pass.cpp
catch_member_data_pointer_01.pass.cpp
catch_member_function_pointer_01.pass.cpp
catch_member_function_pointer_02.pass.cpp [libc++] Remove Lit annotations for unsupported GCC versions from the test suite 2021-08-12 13:30:47 -04:00
catch_member_pointer_nullptr.pass.cpp
catch_multi_level_pointer.pass.cpp
catch_pointer_nullptr.pass.cpp
catch_pointer_reference.pass.cpp
catch_ptr.pass.cpp [libc++abi] Remove workarounds for missing -Wno-exceptions on older GCCs 2021-09-03 14:23:28 -04:00
catch_ptr_02.pass.cpp [libc++abi] Remove workarounds for missing -Wno-exceptions on older GCCs 2021-09-03 14:23:28 -04:00
catch_reference_nullptr.pass.cpp
CMakeLists.txt
cxa_bad_cast.pass.cpp
cxa_bad_typeid.pass.cpp
cxa_thread_atexit_test.pass.cpp
cxa_vec_new_overflow_PR41395.pass.cpp
dynamic_cast.pass.cpp [libc++] Remove more test-suite workarounds for unsupported GCC versions 2021-08-20 13:26:43 -04:00
dynamic_cast3.pass.cpp [libc++] Remove more test-suite workarounds for unsupported GCC versions 2021-08-20 13:26:43 -04:00
dynamic_cast5.pass.cpp [libc++] Remove more test-suite workarounds for unsupported GCC versions 2021-08-20 13:26:43 -04:00
dynamic_cast14.pass.cpp
dynamic_cast_stress.pass.cpp
exception_object_alignment.2.pass.cpp
exception_object_alignment.pass.cpp
forced_unwind1.pass.cpp [Unwind] Harmonise exception class for EHABI spec. 2021-09-02 11:31:03 +02:00
forced_unwind2.pass.cpp [Unwind] Harmonise exception class for EHABI spec. 2021-09-02 11:31:03 +02:00
guard_test_basic.pass.cpp
guard_threaded_test.pass.cpp
incomplete_type.sh.cpp
inherited_exception.pass.cpp [libc++abi] Remove workarounds for missing -Wno-exceptions on older GCCs 2021-09-03 14:23:28 -04:00
lit.cfg.py
lit.site.cfg.in [libc++][libc++abi] Add tests for vendor-specific properties 2021-09-29 17:22:37 -04:00
noexception1.pass.cpp
noexception2.pass.cpp
noexception3.pass.cpp
noexception4.pass.cpp
test_aux_runtime.pass.cpp
test_aux_runtime_op_array_new.pass.cpp
test_demangle.pass.cpp [demangle] Support for ISO/IEC TS 18661 binary floating point type 2021-09-23 11:02:58 +08:00
test_exception_address_alignment.pass.cpp [libc++] Remove test-suite annotations for unsupported Clang versions 2021-08-20 15:05:13 -04:00
test_exception_storage.pass.cpp
test_fallback_malloc.pass.cpp
test_guard.pass.cpp
test_vector1.pass.cpp
test_vector2.pass.cpp
test_vector3.pass.cpp
thread_local_destruction_order.pass.cpp
uncaught_exception.pass.cpp
uncaught_exceptions.pass.cpp
unittest_demangle.pass.cpp
unwind_01.pass.cpp
unwind_02.pass.cpp
unwind_03.pass.cpp
unwind_04.pass.cpp
unwind_05.pass.cpp
unwind_06.pass.cpp [libc++] Remove more test-suite workarounds for unsupported GCC versions 2021-08-20 13:26:43 -04:00