mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-20 01:57:37 +00:00

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 tests. Differential Revision: https://reviews.llvm.org/D95200