diff --git a/lib/libcxxabi/src/cxa_personality.cpp b/lib/libcxxabi/src/cxa_personality.cpp index 77b2eb53af0e43983549b2dcecffe2e0bf94bf54..f607fa58dee897355ae48d601f851b4a81f2e0e4 100644 --- a/lib/libcxxabi/src/cxa_personality.cpp +++ b/lib/libcxxabi/src/cxa_personality.cpp @@ -1125,6 +1125,10 @@ __gxx_personality_seh0(PEXCEPTION_RECORD ms_exc, void *this_frame, #else +// zig patch: https://github.com/llvm/llvm-project/issues/194232 +extern "C" _Unwind_Reason_Code __gnu_unwind_frame(_Unwind_Exception*, + _Unwind_Context*); + // Helper function to unwind one frame. // ARM EHABI 7.3 and 7.4: If the personality function returns _URC_CONTINUE_UNWIND, the // personality routine should update the virtual register set (VRS) according to the