llvm-project/libunwind/test
Louis Dionne c06a8f9caa [libc++] Include <__config_site> from <__config>
Prior to this patch, we would generate a fancy <__config> header by
concatenating <__config_site> and <__config>. This complexifies the
build system and also increases the difference between what's tested
and what's actually installed.

This patch removes that complexity and instead simply installs <__config_site>
alongside the libc++ headers. <__config_site> is then included by <__config>,
which is much simpler. Doing this also opens the door to having different
<__config_site> headers depending on the target, which was impossible before.

It does change the workflow for testing header-only changes to libc++.
Previously, we would run `lit` against the headers in libcxx/include.
After this patch, we run it against a fake installation root of the
headers (containing a proper <__config_site> header). This makes use
closer to testing what we actually install, which is good, however it
does mean that we have to update that root before testing header changes.
Thus, we now need to run `ninja check-cxx-deps` before running `lit` by
hand.

Differential Revision: https://reviews.llvm.org/D97572
2021-03-30 14:06:11 -07:00
..
libunwind [libc++] Include <__config_site> from <__config> 2021-03-30 14:06:11 -07:00
CMakeLists.txt [libcxxabi,libunwind] support running tests in standalone mode 2020-10-14 09:10:20 +02:00
alignment.compile.pass.cpp [runtimes] Use int main(int, char**) consistently in tests 2020-10-08 14:28:13 -04:00
frameheadercache_test.pass.cpp [runtimes] Use int main(int, char**) consistently in tests 2020-10-08 14:28:13 -04:00
libunwind_01.pass.cpp [runtimes] Use int main(int, char**) consistently in tests 2020-10-08 14:28:13 -04:00
libunwind_02.pass.cpp [runtimes] Use int main(int, char**) consistently in tests 2020-10-08 14:28:13 -04:00
lit.cfg.py [libunwind] Allow specifying custom Lit config files 2020-06-25 12:15:15 -04:00
lit.site.cfg.in [libc++/abi] Allow running back-deployment testing against libc++abi 2021-03-01 12:13:03 -05:00
remember_state_leak.pass.sh.s [libunwind] Fix incorrect lit substitutions in tests 2020-04-08 10:50:09 -04:00
signal_frame.pass.cpp [runtimes] Use int main(int, char**) consistently in tests 2020-10-08 14:28:13 -04:00
signal_unwind.pass.cpp [libunwind] Unwind through aarch64/Linux sigreturn frame 2021-01-13 16:38:36 -08:00
unw_getcontext.pass.cpp [runtimes] Use int main(int, char**) consistently in tests 2020-10-08 14:28:13 -04:00
unwind_leaffunction.pass.cpp [libunwind] Unwind through aarch64/Linux sigreturn frame 2021-01-13 16:38:36 -08:00