dbghelp: Add support for V2 unwind info (x86_64).

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
This commit is contained in:
Eric Pouech 2024-03-14 13:14:45 +01:00 committed by Alexandre Julliard
parent 8dd24ad2a4
commit ca95533e8a

View file

@ -279,6 +279,7 @@ static int get_opcode_size(UNWIND_CODE op)
return 2 + (op.OpInfo != 0);
case UWOP_SAVE_NONVOL:
case UWOP_SAVE_XMM128:
case UWOP_EPILOG:
return 2;
case UWOP_SAVE_NONVOL_FAR:
case UWOP_SAVE_XMM128_FAR:
@ -586,6 +587,9 @@ static BOOL interpret_function_table_entry(struct cpu_stack_walk* csw,
if (!sw_read_mem(csw, context->Rsp + 24, &context->Rsp, sizeof(DWORD64))) return FALSE;
mach_frame = TRUE;
break;
case UWOP_EPILOG:
if (info->Version == 2)
break; /* nothing to do */
default:
FIXME("unknown code %u\n", info->UnwindCode[i].UnwindOp);
break;