mirror of
https://github.com/ziglang/zig.git
synced 2025-12-24 07:03:11 +00:00
libunwind: backport llvm/llvm-project#162867
https://github.com/llvm/llvm-project/pull/162867
This commit is contained in:
parent
1f8a72175b
commit
671428359e
3
lib/libunwind/src/Unwind-seh.cpp
vendored
3
lib/libunwind/src/Unwind-seh.cpp
vendored
@ -174,7 +174,8 @@ _GCC_specific_handler(PEXCEPTION_RECORD ms_exc, PVOID frame, PCONTEXT ms_ctx,
|
|||||||
}
|
}
|
||||||
// FIXME: Indicate target frame in foreign case!
|
// FIXME: Indicate target frame in foreign case!
|
||||||
// phase 2: the clean up phase
|
// 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");
|
_LIBUNWIND_ABORT("RtlUnwindEx() failed");
|
||||||
case _URC_INSTALL_CONTEXT: {
|
case _URC_INSTALL_CONTEXT: {
|
||||||
// If we were called by __libunwind_seh_personality(), indicate that
|
// If we were called by __libunwind_seh_personality(), indicate that
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user