Module: wine Branch: master Commit: ca95533e8a12dbd7b3b3f3e4e8f2907429a312a1 URL: https://gitlab.winehq.org/wine/wine/-/commit/ca95533e8a12dbd7b3b3f3e4e8f2907...
Author: Eric Pouech epouech@codeweavers.com Date: Thu Mar 14 13:14:45 2024 +0100
dbghelp: Add support for V2 unwind info (x86_64).
Signed-off-by: Eric Pouech epouech@codeweavers.com
---
dlls/dbghelp/cpu_x86_64.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/dlls/dbghelp/cpu_x86_64.c b/dlls/dbghelp/cpu_x86_64.c index 5193faee825..a2be9fabbb7 100644 --- a/dlls/dbghelp/cpu_x86_64.c +++ b/dlls/dbghelp/cpu_x86_64.c @@ -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;