hanchenye-llvm-project/libcxxabi
Louis Dionne 71d88cebfb [libc++/libc++abi] Automatically detect whether exceptions are enabled
Instead of detecting it automatically (in libc++) and relying on
_LIBCXXABI_NO_EXCEPTIONS being set explicitly (in libc++abi), always
detect whether exceptions are enabled automatically.

This commit also removes support for specifying -D_LIBCPP_NO_EXCEPTIONS
and -D_LIBCXXABI_NO_EXCEPTIONS explicitly -- those should just be inferred
from using -fno-exceptions (or an equivalent flag).

Allowing both -D_FOO_NO_EXCEPTIONS to be provided explicitly and trying
to detect it automatically is just confusing, especially since we did
specify it explicitly when building libc++abi. We should have only one
way to detect whether exceptions are enabled, but it should be robust.
2020-07-03 14:58:09 -04:00
..
cmake [libcxx][libcxxabi][libunwind] Use libgcc on Android 2020-04-30 15:42:32 -07:00
fuzz
include [libc++/libc++abi] Automatically detect whether exceptions are enabled 2020-07-03 14:58:09 -04:00
lib [libc++] Fix the no-exceptions build of libc++ on Apple 2020-04-20 10:45:14 -04:00
src [libc++abi] Remove unused include of <sys/types.h> 2020-06-30 12:13:28 -04:00
test [runtimes] Rename newformat to just format, now that the old format has been removed 2020-06-30 10:10:30 -04:00
www [libc++abi] Simplify the logic for finding libc++ from libc++abi 2020-06-11 15:08:01 -04:00
.clang-format
.gitignore
CMakeLists.txt [libc++/libc++abi] Automatically detect whether exceptions are enabled 2020-07-03 14:58:09 -04:00
CREDITS.TXT
LICENSE.TXT