From 814988647f3fd96219a1487bf036a8a6b618f3ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Sun, 26 Apr 2026 15:35:11 +0200 Subject: [PATCH] libcxxabi: unregress arm-freebsd and arm-openbsd build https://github.com/llvm/llvm-project/issues/194232 Regression known for at least 2 months, but hey, just ship it anyway. --- lib/libcxxabi/src/cxa_personality.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.54.0