philnik777 wrote: > > Re. attributes, we can almost certainly add [[clang::trivial_abi]] to exception_ptr. > > Afaict, we can only add this under ABIv2, right? Yeah, that would have to be behind an ABI flag. https://github.com/llvm/llvm-project/pull/162773