llvm-project/libcxxabi
Louis Dionne 5d796645d6 [take 2] [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.

This commit was originally applied in 1e46d1aa3 and reverted in eb60c487
because it broke the libc++abi and libunwind test suites. This has now
been fixed.

Differential Revision: https://reviews.llvm.org/D89041
2020-10-21 10:40:33 -04:00
..
cmake [libcxxabi,libunwind] support running tests in standalone mode 2020-10-14 09:10:20 +02:00
fuzz add cxa_demangle_fuzzer 2016-12-28 03:28:29 +00:00
include [libc++abi] Do not declare __cxa_finalize and __cxa_atexit in <cxxabi.h> 2020-09-14 20:10:29 -04:00
lib [libc++/abi] Revert "[libc++] Move the weak symbols list to libc++abi" 2020-10-05 11:42:13 -04:00
src [take 2] [libc++] Include <__config_site> from <__config> 2020-10-21 10:40:33 -04:00
test [take 2] [libc++] Include <__config_site> from <__config> 2020-10-21 10:40:33 -04:00
www [libc++abi] Simplify the logic for finding libc++ from libc++abi 2020-06-11 15:08:01 -04:00
.clang-format Fully Reformat fallback_malloc.cpp 2017-03-04 03:23:15 +00:00
.gitignore
CMakeLists.txt [take 2] [libc++] Include <__config_site> from <__config> 2020-10-21 10:40:33 -04:00
CREDITS.TXT Try again, this time with the correct address 2017-12-29 19:26:28 +00:00
LICENSE.TXT Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00