[libcxx-commits] [libcxx] [libc++] Inline fast path for`exception_ptr` copy constructor & destructor (PR #165909)

Adrian Vogelsgesang via libcxx-commits libcxx-commits at lists.llvm.org
Tue Nov 4 02:49:17 PST 2025


vogelsgesang wrote:

> Do you think this is ready for review?

The PR is ready for a first round of feedback, in particular on the high-level questions:

1. How to make sure we still emit the ~exception_ptr and copy constructor/assignment in the library. The current approach was previously discussed in https://reviews.llvm.org/D122536.
2. If we actually want to introduce the new __do_{inc,dec}rement functions or if we want to directly call __cxa_{inc,dec}rement_refcount from the headers

The CI is still red since I did not yet update the ABI list and because I did not yet add the new `_LIBCPP_EXPORTED_FROM_LIB_INLINEABLE` macro to the clang-tidy check. I still need to address those, but would already appreciate feedback on those two higher-level points

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


More information about the libcxx-commits mailing list