[libcxx-commits] [PATCH] D100504: [libc++abi][AIX] add personality and helper functions for the state table EH
Fangrui Song via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Apr 9 22:05:43 PDT 2022
MaskRay added inline comments.
================
Comment at: libcxxabi/src/cxa_personality.cpp:1490
+ reinterpret_cast<void*>(fsmEntry));
+ try {
+ _LIBCXXABI_TRACE_STATETAB("..calling delete()\n");
----------------
MaskRay wrote:
> I don't think the personality impl is supposed to use `try catch`. You may use other mechanisms to avoid try catch.
You can use something like `st_terminate` in cxa_vector.cpp to catch exceptions in destructors.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D100504/new/
https://reviews.llvm.org/D100504
More information about the libcxx-commits
mailing list