Commit 196f8f07 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

dbghelp: Added support for DW_CFA_GNU_args_size.

parent d9c01dcc
......@@ -2672,6 +2672,14 @@ static void execute_cfa_instructions(dwarf2_traverse_context_t* ctx,
ctx->data += len;
break;
}
case DW_CFA_GNU_args_size:
/* FIXME: should check that GCC is the compiler for this CU */
{
ULONG_PTR args = dwarf2_leb128_as_unsigned(ctx);
TRACE("%lx: DW_CFA_GNU_args_size %lu\n", info->ip, args);
/* ignored */
break;
}
default:
FIXME("%lx: unknown CFA opcode %02x\n", info->ip, op);
break;
......
......@@ -449,6 +449,11 @@ enum dwarf_call_frame_info
DW_CFA_val_offset = 0x14,
DW_CFA_val_offset_sf = 0x15,
DW_CFA_val_expression = 0x16,
/* GNU extensions */
DW_CFA_GNU_window_save = 0x2d,
DW_CFA_GNU_args_size = 0x2e,
DW_CFA_GNU_negative_offset_extended = 0x2f,
};
#define DW_EH_PE_native 0x00
......
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