[libcxx-commits] [libcxx] Make __libcpp_verbose_abort() noexcept like std::terminate() (PR #109151)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Fri Oct 18 08:04:09 PDT 2024


ldionne wrote:

> @dougsonos this breaks flang compilation because flang overrides [this symbol](https://github.com/llvm/llvm-project/blob/af90e7c5161de9a36af768dd5c9d73464e0eed64/flang/runtime/io-api-minimal.cpp#L153) and doesn't use `noexcept` attribute

In fact, we want to move away from supporting overriding that function. The way of customizing the assertion handler is when configuring the library, as explained here: https://libcxx.llvm.org/Hardening.html#overriding-the-assertion-failure-handler

https://github.com/llvm/llvm-project/pull/109151


More information about the libcxx-commits mailing list