[libcxx-commits] [libcxxabi] [libcxx] [libc++] [libc++abi] Initialize exception directly in make_exception_ptr if __cxa_init_primary_exception is available in ABI-library (PR #65534)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Dec 5 10:58:51 PST 2023


================
@@ -16,6 +16,17 @@
 // stable ABI), and its rethrow_exception(std::__exception_ptr::exception_ptr)
 // function.
 
+
+#  if _LIBCPP_AVAILABILITY_HAS_INIT_PRIMARY_EXCEPTION
----------------
ldionne wrote:

I don't understand why we're modifying this file in this PR. We added a new function to libc++abi, we didn't touch libsupc++ though.

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


More information about the libcxx-commits mailing list