[llvm-branch-commits] [libcxxabi] release/22.x: libcxxabi: declare __gnu_unwind_frame in cxa_personality (#189787) (PR #194305)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Apr 27 00:43:28 PDT 2026


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libcxxabi

Author: llvmbot

<details>
<summary>Changes</summary>

Backport 8119f1854948b50358bbfaea08f207f51970f06c

Requested by: @<!-- -->alexrp

---
Full diff: https://github.com/llvm/llvm-project/pull/194305.diff


1 Files Affected:

- (modified) libcxxabi/src/cxa_personality.cpp (+2) 


``````````diff
diff --git a/libcxxabi/src/cxa_personality.cpp b/libcxxabi/src/cxa_personality.cpp
index 77b2eb53af0e4..28208194edb3e 100644
--- a/libcxxabi/src/cxa_personality.cpp
+++ b/libcxxabi/src/cxa_personality.cpp
@@ -1125,6 +1125,8 @@ __gxx_personality_seh0(PEXCEPTION_RECORD ms_exc, void *this_frame,
 
 #else
 
+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

``````````

</details>


https://github.com/llvm/llvm-project/pull/194305


More information about the llvm-branch-commits mailing list