[libcxx-commits] [libcxxabi] [libcxxabi] prevent __cxa_free_exception from being inlined when called in __cxa_decrement_exception_refcount (PR #222754)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Fri Sep 11 06:54:48 PDT 2026


https://github.com/philnik777 requested changes to this pull request.

Why would we want to support this? `__cxa_free_exception` isn't meant to be overridden, so this is incredibly fragile. Notably, we already have  a fallback in case normal memory allocation fails.

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


More information about the libcxx-commits mailing list