dbghelp: In dwarf unwinder, fix the last valid IP value to be used for a given line of Call Frame Information.
This commit is contained in:
parent
44eed2465c
commit
9156501084
|
@ -2658,7 +2658,7 @@ static int valid_reg(ULONG_PTR reg)
|
||||||
static void execute_cfa_instructions(dwarf2_traverse_context_t* ctx,
|
static void execute_cfa_instructions(dwarf2_traverse_context_t* ctx,
|
||||||
ULONG_PTR last_ip, struct frame_info *info)
|
ULONG_PTR last_ip, struct frame_info *info)
|
||||||
{
|
{
|
||||||
while (ctx->data < ctx->end_data && info->ip < last_ip + info->signal_frame)
|
while (ctx->data < ctx->end_data && info->ip <= last_ip + info->signal_frame)
|
||||||
{
|
{
|
||||||
enum dwarf_call_frame_info op = dwarf2_parse_byte(ctx);
|
enum dwarf_call_frame_info op = dwarf2_parse_byte(ctx);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue