[libcxx-commits] [PATCH] D95200: [test] Add basic _Unwind_ForcedUnwind + exception tests

Fangrui Song via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jan 21 19:40:54 PST 2021

MaskRay created this revision.
MaskRay added reviewers: libc++abi, compnerd, ldionne.
MaskRay requested review of this revision.
Herald added a project: libc++abi.
Herald added a subscriber: libcxx-commits.
Herald added 1 blocking reviewer(s): libc++abi.

Forced unwinding is like a foreign exception, which can be caught by `catch (...)` and rethrown.
If not rethrown, `__cxa_end_cath` will call `_Unwind_DeleteException` to destroy the object.

The behavior going through empty `throw()` and non-empty `throw(int)` is not
clear (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98785), so I do not add such

  rG LLVM Github Monorepo



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95200.318401.patch
Type: text/x-patch
Size: 3441 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210122/836bcda4/attachment-0001.bin>

More information about the libcxx-commits mailing list