hanchenye-llvm-project/libcxx
Louis Dionne 1262f8a64d [libc++] Remove the CI job for Apple/System/Noexceptions
When we recently started using DYLD_LIBRARY_PATH to run the test suite
on the Apple/System configuration of the library, the -fno-exceptions
variant started failing.

It started failing because under that configuration, libc++abi.dylib
doesn't provide support for exceptions. For example, it doesn't provide
some symbols such as ___gxx_personality_v0. Now, the problem is that
when the test suite is run with DYLD_LIBRARY_PATH, /usr/lib/libobjc.dylib
uses the just-built libc++abi.dylib, which doesn't support exceptions,
and we end up with an unresolved reference to ___gxx_personality_v0.

Previously, using -Wl,-rpath,path/to/lib, we would be loading both
/usr/lib/libc++abi.dylib and <just-built>/lib/libc++abi.dylib.
/usr/lib/libobjc.dylib would use the system libc++abi.dylib, which
contains support for exceptions, and the tests would be using the
just-built one, which doesn't.

Disentangling that led me to believe that we shouldn't try to test this
configuration where libc++/libc++abi are built as system libraries, but
where they don't support exceptions, since that just doesn't make any
sense. Doing so is like trying to build libc++/libc++abi and test it as
a system library after performing an ABI break -- of course nothing is
going to work.

For that reason, I am removing this configuration. Note that we could
still test the library on macOS without exceptions if we wanted, only
we wouldn't be building it as a system library. This patch doesn't add
that because we already have a -fno-exceptions CI job on Linux.

Differential Revision: https://reviews.llvm.org/D111349
2021-10-07 17:27:24 -04:00
..
benchmarks [libc++][format] Implement Unicode support. 2021-10-02 11:57:40 +02:00
cmake [runtimes] Add tests for vendor-specific properties 2021-10-07 15:46:20 -04:00
docs [libc++][format] Adds bool formatter. 2021-10-07 17:17:27 +02:00
include [libc++] Use addressof in assignment operator. 2021-10-07 18:10:47 +02:00
lib
src [libc++] Use init_priority(100) when possible 2021-10-06 15:53:56 -04:00
test [libc++] Add a from-scratch testing config for GCC 2021-10-07 17:26:25 -04:00
utils [libc++] Remove the CI job for Apple/System/Noexceptions 2021-10-07 17:27:24 -04:00
.clang-format [NFC][libc++] Update clang-format style. 2021-09-24 19:28:07 +02:00
.gitignore
CMakeLists.txt [runtimes] Allow FOO_TEST_CONFIG to be a relative path 2021-10-05 19:45:50 -04:00
CREDITS.TXT [NFC] Add contributor name to CREDITS.TXT 2021-09-29 14:48:32 -04:00
LICENSE.TXT
TODO.TXT [libc++] Disallow volatile types in std::allocator 2021-09-22 11:47:38 -04:00
appveyor-reqs-install.cmd
appveyor.yml