llvm-project/libcxxabi/test
Petr Hosek ea12d779bc [libc++] Support per-target __config_site in per-target runtime build
When using the per-target runtime build, it may be desirable to have
different __config_site headers for each target where all targets cannot
share a single configuration.

The layout used for libc++ headers after this change is:

```
include/
  c++/
    v1/
      <libc++ headers except for __config_site>
  <target1>/
    c++/
      v1/
        __config_site
  <target2>/
    c++/
      v1/
        __config_site
  <other targets>
```

This is the most optimal layout since it avoids duplication, the only
headers that's per-target is __config_site, all other headers are
shared across targets. This also means that we no need two
-isystem flags: one for the target-agnostic headers and one for
the target specific headers.

Differential Revision: https://reviews.llvm.org/D89013
2021-04-28 14:27:16 -07:00
..
libcxxabi [libc++] Support per-target __config_site in per-target runtime build 2021-04-28 14:27:16 -07:00
native/arm-linux-eabi [libc++/abi/unwind] Rename Lit features for no exceptions to 'no-exceptions' 2020-04-22 08:25:27 -04:00
support [libc++/abi] Clean up uses of <iostream> in the test suite 2020-10-13 20:25:33 -04:00
CMakeLists.txt [runtimes] Use add_lit_testsuite to register lit testsuites 2021-03-05 10:37:21 -08:00
backtrace_test.pass.cpp [runtimes] Use int main(int, char**) consistently in tests 2020-10-08 14:28:13 -04:00
catch_array_01.pass.cpp [runtimes] Use int main(int, char**) consistently in tests 2020-10-08 14:28:13 -04:00
catch_array_02.pass.cpp [runtimes] Use int main(int, char**) consistently in tests 2020-10-08 14:28:13 -04:00
catch_class_01.pass.cpp [runtimes] Use int main(int, char**) consistently in tests 2020-10-08 14:28:13 -04:00
catch_class_02.pass.cpp [runtimes] Use int main(int, char**) consistently in tests 2020-10-08 14:28:13 -04:00
catch_class_03.pass.cpp [libc++abi] Get rid of warnings when running the tests with GCC 2020-11-02 10:19:39 -05:00
catch_class_04.pass.cpp [libc++abi] Get rid of warnings when running the tests with GCC 2020-11-02 10:19:39 -05:00
catch_const_pointer_nullptr.pass.cpp [runtimes] Use int main(int, char**) consistently in tests 2020-10-08 14:28:13 -04:00
catch_function_01.pass.cpp [libc++/abi] Allow running back-deployment testing against libc++abi 2021-03-01 12:13:03 -05:00
catch_function_02.pass.cpp [runtimes] Use int main(int, char**) consistently in tests 2020-10-08 14:28:13 -04:00
catch_function_03.pass.cpp [runtimes] Use int main(int, char**) consistently in tests 2020-10-08 14:28:13 -04:00
catch_in_noexcept.pass.cpp [runtimes] Use int main(int, char**) consistently in tests 2020-10-08 14:28:13 -04:00
catch_member_data_pointer_01.pass.cpp [libc++/abi] Allow running back-deployment testing against libc++abi 2021-03-01 12:13:03 -05:00
catch_member_function_pointer_01.pass.cpp [runtimes] Use int main(int, char**) consistently in tests 2020-10-08 14:28:13 -04:00
catch_member_function_pointer_02.pass.cpp [runtimes] Use int main(int, char**) consistently in tests 2020-10-08 14:28:13 -04:00
catch_member_pointer_nullptr.pass.cpp [libc++/abi] Allow running back-deployment testing against libc++abi 2021-03-01 12:13:03 -05:00
catch_multi_level_pointer.pass.cpp [libc++/abi] Allow running back-deployment testing against libc++abi 2021-03-01 12:13:03 -05:00
catch_pointer_nullptr.pass.cpp [libc++/abi] Allow running back-deployment testing against libc++abi 2021-03-01 12:13:03 -05:00
catch_pointer_reference.pass.cpp [libc++abi] Get rid of warnings when running the tests with GCC 2020-11-02 10:19:39 -05:00
catch_ptr.pass.cpp [libc++abi] Get rid of warnings when running the tests with GCC 2020-11-02 10:19:39 -05:00
catch_ptr_02.pass.cpp [libc++/abi] Allow running back-deployment testing against libc++abi 2021-03-01 12:13:03 -05:00
catch_reference_nullptr.pass.cpp [runtimes] Use int main(int, char**) consistently in tests 2020-10-08 14:28:13 -04:00
cxa_bad_cast.pass.cpp [libc++abi] Get rid of warnings when running the tests with GCC 2020-11-02 10:19:39 -05:00
cxa_bad_typeid.pass.cpp [libc++abi] Get rid of warnings when running the tests with GCC 2020-11-02 10:19:39 -05:00
cxa_thread_atexit_test.pass.cpp [runtimes] Use int main(int, char**) consistently in tests 2020-10-08 14:28:13 -04:00
cxa_vec_new_overflow_PR41395.pass.cpp [libc++/abi] Allow running back-deployment testing against libc++abi 2021-03-01 12:13:03 -05:00
dynamic_cast.pass.cpp [libc++/abi] Allow running back-deployment testing against libc++abi 2021-03-01 12:13:03 -05:00
dynamic_cast3.pass.cpp [libc++] [libc++abi] Mark a few tests as unsupported/xfail on gcc-7/8/9. 2020-11-26 08:59:52 +01:00
dynamic_cast5.pass.cpp [libc++] [libc++abi] Mark a few tests as unsupported/xfail on gcc-7/8/9. 2020-11-26 08:59:52 +01:00
dynamic_cast14.pass.cpp [runtimes] Use int main(int, char**) consistently in tests 2020-10-08 14:28:13 -04:00
dynamic_cast_stress.pass.cpp [runtimes] Use int main(int, char**) consistently in tests 2020-10-08 14:28:13 -04:00
exception_object_alignment.2.pass.cpp [runtimes] Use int main(int, char**) consistently in tests 2020-10-08 14:28:13 -04:00
exception_object_alignment.pass.cpp [libc++/abi] Allow running back-deployment testing against libc++abi 2021-03-01 12:13:03 -05:00
forced_unwind1.pass.cpp [libc++/abi] Allow running back-deployment testing against libc++abi 2021-03-01 12:13:03 -05:00
forced_unwind2.pass.cpp [libc++/abi] Allow running back-deployment testing against libc++abi 2021-03-01 12:13:03 -05:00
guard_test_basic.pass.cpp [libc++abi] Get rid of warnings when running the tests with GCC 2020-11-02 10:19:39 -05:00
guard_threaded_test.pass.cpp [libc++] Introduce an indirection to create threads in the test suite 2020-11-27 11:54:19 -05:00
incomplete_type.sh.cpp [libc++/abi] Allow running back-deployment testing against libc++abi 2021-03-01 12:13:03 -05:00
inherited_exception.pass.cpp [libc++abi] Get rid of warnings when running the tests with GCC 2020-11-02 10:19:39 -05:00
lit.cfg.py [libc++abi] Allow specifying custom Lit config files 2020-06-25 12:15:15 -04:00
lit.site.cfg.in [libcxxabi] Use cxx-headers target to consume libcxx headers 2021-03-26 13:27:51 -07:00
noexception1.pass.cpp [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
noexception2.pass.cpp [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
noexception3.pass.cpp [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
noexception4.pass.cpp [libc++/abi/unwind] Rename Lit features for no exceptions to 'no-exceptions' 2020-04-22 08:25:27 -04:00
test_aux_runtime.pass.cpp [libc++/abi] Clean up uses of <iostream> in the test suite 2020-10-13 20:25:33 -04:00
test_aux_runtime_op_array_new.pass.cpp [libc++/abi] Allow running back-deployment testing against libc++abi 2021-03-01 12:13:03 -05:00
test_demangle.pass.cpp * Fix demangling of optional template-args for vendor extended type qualifier. 2021-03-24 10:21:32 +04:00
test_exception_address_alignment.pass.cpp [libc++abi] Adjust XFAIL for misaligned exception header on ARM 2021-04-07 16:14:50 -04:00
test_exception_storage.pass.cpp [libcxxabi] Stub out 'sleep' call when _LIBCXXABI_HAS_NO_THREADS is defined. 2020-10-21 20:56:24 +01:00
test_fallback_malloc.pass.cpp [libcxxabi] Fix printf formats in a test. 2020-10-16 13:59:11 +01:00
test_guard.pass.cpp [libc++] Introduce an indirection to create threads in the test suite 2020-11-27 11:54:19 -05:00
test_vector1.pass.cpp [libc++/abi] Clean up uses of <iostream> in the test suite 2020-10-13 20:25:33 -04:00
test_vector2.pass.cpp [libc++/abi] Clean up uses of <iostream> in the test suite 2020-10-13 20:25:33 -04:00
test_vector3.pass.cpp [libc++abi] Get rid of warnings when running the tests with GCC 2020-11-02 10:19:39 -05:00
thread_local_destruction_order.pass.cpp [libc++/abi] Allow running back-deployment testing against libc++abi 2021-03-01 12:13:03 -05:00
uncaught_exception.pass.cpp [libc++/abi/unwind] Rename Lit features for no exceptions to 'no-exceptions' 2020-04-22 08:25:27 -04:00
uncaught_exceptions.pass.cpp [libc++/abi] Allow running back-deployment testing against libc++abi 2021-03-01 12:13:03 -05:00
unittest_demangle.pass.cpp [runtimes] Use int main(int, char**) consistently in tests 2020-10-08 14:28:13 -04:00
unwind_01.pass.cpp [runtimes] Use int main(int, char**) consistently in tests 2020-10-08 14:28:13 -04:00
unwind_02.pass.cpp [runtimes] Use int main(int, char**) consistently in tests 2020-10-08 14:28:13 -04:00
unwind_03.pass.cpp [runtimes] Use int main(int, char**) consistently in tests 2020-10-08 14:28:13 -04:00
unwind_04.pass.cpp [runtimes] Use int main(int, char**) consistently in tests 2020-10-08 14:28:13 -04:00
unwind_05.pass.cpp [runtimes] Use int main(int, char**) consistently in tests 2020-10-08 14:28:13 -04:00
unwind_06.pass.cpp [libc++] [libc++abi] Mark a few tests as unsupported/xfail on gcc-7/8/9. 2020-11-26 08:59:52 +01:00