Commit 3d0cf846 authored by Derek Lesho's avatar Derek Lesho Committed by Alexandre Julliard

ntdll: Fix unwinding from leaf function on x86_64.

parent 897b1f5c
...@@ -4232,7 +4232,7 @@ void WINAPI RtlUnwindEx( PVOID end_frame, PVOID target_ip, EXCEPTION_RECORD *rec ...@@ -4232,7 +4232,7 @@ void WINAPI RtlUnwindEx( PVOID end_frame, PVOID target_ip, EXCEPTION_RECORD *rec
new_context.Rip = *(ULONG64 *)context->Rsp; new_context.Rip = *(ULONG64 *)context->Rsp;
new_context.Rsp = context->Rsp + sizeof(ULONG64); new_context.Rsp = context->Rsp + sizeof(ULONG64);
dispatch.EstablisherFrame = new_context.Rsp; dispatch.EstablisherFrame = context->Rsp;
dispatch.LanguageHandler = NULL; dispatch.LanguageHandler = NULL;
unwind_done: unwind_done:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment