Commit 7ea3a147 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

ntdll: Handle version 2 unwind info on x86_64.

It seems this is identical to version 1, but with an additional UWOP_EPILOG opcode. Signed-off-by: 's avatarZebediah Figura <z.figura12@gmail.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 3994f3f1
...@@ -3840,7 +3840,7 @@ PVOID WINAPI RtlVirtualUnwind( ULONG type, ULONG64 base, ULONG64 pc, ...@@ -3840,7 +3840,7 @@ PVOID WINAPI RtlVirtualUnwind( ULONG type, ULONG64 base, ULONG64 pc,
info = (struct UNWIND_INFO *)((char *)base + function->UnwindData); info = (struct UNWIND_INFO *)((char *)base + function->UnwindData);
handler_data = (union handler_data *)&info->opcodes[(info->count + 1) & ~1]; handler_data = (union handler_data *)&info->opcodes[(info->count + 1) & ~1];
if (info->version != 1) if (info->version != 1 && info->version != 2)
{ {
FIXME( "unknown unwind info version %u at %p\n", info->version, info ); FIXME( "unknown unwind info version %u at %p\n", info->version, info );
return NULL; return NULL;
......
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