dbghelp/dwarf: Don't recompute location when said location is complex.

This was generating a global symbol instead of a local symbol.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Eric Pouech 2021-09-11 10:58:47 +02:00 committed by Alexandre Julliard
parent 2651677d49
commit 92b3f1bf2a
1 changed files with 0 additions and 1 deletions

View File

@ -947,7 +947,6 @@ static BOOL dwarf2_compute_location_attr(dwarf2_parse_context_t* ctx,
*ptr = xloc.u.block.size;
memcpy(ptr + 1, xloc.u.block.ptr, xloc.u.block.size);
loc->offset = (ULONG_PTR)ptr;
compute_location(ctx->module, &ctx->head, &lctx, loc, NULL, frame);
}
}
return TRUE;