diff --git a/libcxxabi/src/cxa_demangle.cpp b/libcxxabi/src/cxa_demangle.cpp --- a/libcxxabi/src/cxa_demangle.cpp +++ b/libcxxabi/src/cxa_demangle.cpp @@ -10,6 +10,11 @@ // file does not yet support: // - C++ modules TS +// We have to avoid any references to the libc++ dylib, so we +// explicitly disable assertions here (as that could result in +// a call to __libcpp_verbose_abort()). +#define _LIBCPP_ENABLE_ASSERTIONS 0 + #include "demangle/ItaniumDemangle.h" #include "__cxxabi_config.h" #include