MaskRay wrote: `libcxx/src/new.cpp` needs `#include <__assert>` in the `_LIBCPP_ASSERT_SHIM` code path ( `-fno-exceptions` and LIBCXX_ENABLE_NEW_DELETE_DEFINITIONS=on). Sent #83480 as a follow-up. https://github.com/llvm/llvm-project/pull/80091