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: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2019-08-16 18:31:49 -05:00 committed by Alexandre Julliard
parent 3994f3f1bf
commit 7ea3a14792
1 changed files with 1 additions and 1 deletions

View File

@ -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;