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:
parent
2651677d49
commit
92b3f1bf2a
|
@ -947,7 +947,6 @@ static BOOL dwarf2_compute_location_attr(dwarf2_parse_context_t* ctx,
|
||||||
*ptr = xloc.u.block.size;
|
*ptr = xloc.u.block.size;
|
||||||
memcpy(ptr + 1, xloc.u.block.ptr, xloc.u.block.size);
|
memcpy(ptr + 1, xloc.u.block.ptr, xloc.u.block.size);
|
||||||
loc->offset = (ULONG_PTR)ptr;
|
loc->offset = (ULONG_PTR)ptr;
|
||||||
compute_location(ctx->module, &ctx->head, &lctx, loc, NULL, frame);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
Loading…
Reference in New Issue