commit 814988647f3fd96219a1487bf036a8a6b618f3ba (tree)
parent af4086662808d2df66df4ba1fa479bb9dc70ccbd
Author: Alex Rønne Petersen <alex@alexrp.com>
Date: Sun, 26 Apr 2026 15:35:11 +0200
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.
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git 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