Skip to content

Commit 0cc8b2c

Browse files
alexrpxtexx
authored andcommitted
libunwind: backport llvm/llvm-project#162867
llvm/llvm-project#162867 (cherry picked from commit 6714283)
1 parent 82b0df8 commit 0cc8b2c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/libunwind/src/Unwind-seh.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,8 @@ _GCC_specific_handler(PEXCEPTION_RECORD ms_exc, PVOID frame, PCONTEXT ms_ctx,
148148
}
149149
// FIXME: Indicate target frame in foreign case!
150150
// phase 2: the clean up phase
151-
RtlUnwindEx(frame, (PVOID)disp->ControlPc, ms_exc, exc, ms_ctx, disp->HistoryTable);
151+
RtlUnwindEx(frame, (PVOID)disp->ControlPc, ms_exc, exc, disp->ContextRecord,
152+
disp->HistoryTable);
152153
_LIBUNWIND_ABORT("RtlUnwindEx() failed");
153154
case _URC_INSTALL_CONTEXT: {
154155
// If we were called by __libunwind_seh_personality(), indicate that

0 commit comments

Comments
 (0)