For x86_64 and aarch64, this requires https://reviews.llvm.org/D89231. The C++ destructors aren't executed while doing the longjmp (contrary to how it works MSVC's C++ exceptions), but it no longer crashes.