You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When _LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS is not defined, things
work as expected: i.e. the feature is only used on macOS that vendors LLVM>=18.
Our general policy of setting `-D_LIBCPP_DISABLE_AVAILABILITY` (which causes
the above macro to be defined) wherever newer C++ features are needed works
fine because we ship our own libcxx. In this case however, the required symbols
(`___cxa_init_primary_exception` etc.) is in libcxxabi, which we intentionally
don't ship ourselves.
Therefore, we must disable this feature unconditionally, at least until our
macOS baseline is >=15.0, as we rely on the libcxxabi shipped by the system.
See also llvm#77653 & llvm#86077
0 commit comments