| ... | @@ -1125,6 +1125,10 @@ __gxx_personality_seh0(PEXCEPTION_RECORD ms_exc, void *this_frame, | ... | @@ -1125,6 +1125,10 @@ __gxx_personality_seh0(PEXCEPTION_RECORD ms_exc, void *this_frame, |
| 1125 | | 1125 | |
| 1126 | #else | 1126 | #else |
| 1127 | | 1127 | |
| | 1128 | // zig patch: https://github.com/llvm/llvm-project/issues/194232 |
| | 1129 | extern "C" _Unwind_Reason_Code __gnu_unwind_frame(_Unwind_Exception*, |
| | 1130 | _Unwind_Context*); |
| | 1131 | |
| 1128 | // Helper function to unwind one frame. | 1132 | // Helper function to unwind one frame. |
| 1129 | // ARM EHABI 7.3 and 7.4: If the personality function returns _URC_CONTINUE_UNWIND, the | 1133 | // ARM EHABI 7.3 and 7.4: If the personality function returns _URC_CONTINUE_UNWIND, the |
| 1130 | // personality routine should update the virtual register set (VRS) according to the | 1134 | // personality routine should update the virtual register set (VRS) according to the |