aboutsummaryrefslogtreecommitdiff
path: root/lib/libunwind/src/Unwind-seh.cpp
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2025-10-17 14:58:30 +0200
committerAlex Rønne Petersen <alex@alexrp.com>2025-10-17 15:02:02 +0200
commit671428359ef85d5ffc9e44fbc8bd51ac0079f917 (patch)
tree5b4e51c664699b1e04b99a2ff6b76f0ecf93c14a /lib/libunwind/src/Unwind-seh.cpp
parent1f8a72175b5352e77b41ed4d165acccad08ffb16 (diff)
downloadzig-671428359ef85d5ffc9e44fbc8bd51ac0079f917.tar.gz
zig-671428359ef85d5ffc9e44fbc8bd51ac0079f917.zip
libunwind: backport llvm/llvm-project#162867
https://github.com/llvm/llvm-project/pull/162867
Diffstat (limited to 'lib/libunwind/src/Unwind-seh.cpp')
-rw-r--r--lib/libunwind/src/Unwind-seh.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libunwind/src/Unwind-seh.cpp b/lib/libunwind/src/Unwind-seh.cpp
index 8b83f10615..110c5987c3 100644
--- a/lib/libunwind/src/Unwind-seh.cpp
+++ b/lib/libunwind/src/Unwind-seh.cpp
@@ -174,7 +174,8 @@ _GCC_specific_handler(PEXCEPTION_RECORD ms_exc, PVOID frame, PCONTEXT ms_ctx,
}
// FIXME: Indicate target frame in foreign case!
// phase 2: the clean up phase
- RtlUnwindEx(frame, (PVOID)disp->ControlPc, ms_exc, exc, ms_ctx, disp->HistoryTable);
+ RtlUnwindEx(frame, (PVOID)disp->ControlPc, ms_exc, exc, disp->ContextRecord,
+ disp->HistoryTable);
_LIBUNWIND_ABORT("RtlUnwindEx() failed");
case _URC_INSTALL_CONTEXT: {
// If we were called by __libunwind_seh_personality(), indicate that