dbghelp/dwarf: Detect auto reference between a dwarf's DIE and its type.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
3111daa222
commit
e28ec5a0fb
|
@ -1025,6 +1025,11 @@ static struct symt* dwarf2_lookup_type(dwarf2_parse_context_t* ctx,
|
||||||
FIXME("Unable to find back reference to type %lx\n", attr.u.uvalue);
|
FIXME("Unable to find back reference to type %lx\n", attr.u.uvalue);
|
||||||
return ctx->symt_cache[sc_unknown];
|
return ctx->symt_cache[sc_unknown];
|
||||||
}
|
}
|
||||||
|
if (type == di)
|
||||||
|
{
|
||||||
|
FIXME("Reference to itself\n");
|
||||||
|
return ctx->symt_cache[sc_unknown];
|
||||||
|
}
|
||||||
if (!type->symt)
|
if (!type->symt)
|
||||||
{
|
{
|
||||||
/* load the debug info entity */
|
/* load the debug info entity */
|
||||||
|
|
Loading…
Reference in New Issue