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

via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 26 02:03:57 PST 2023


itrofimow wrote:

I've addressed/answered inline comments and the build is finally green.

I'm not particularly in love with declaring `__cxa_allocate_exception`, `__cxa_free_exception` and `__cxa_init_primary_exception` in `exception_ptr.h`, but i find it's better than including whole `cxxabi.h` there.

Could you please have a look? @ldionne 

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


More information about the cfe-commits mailing list