Commit e28ec5a0 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

dbghelp/dwarf: Detect auto reference between a dwarf's DIE and its type.

parent 3111daa2
......@@ -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);
return ctx->symt_cache[sc_unknown];
}
if (type == di)
{
FIXME("Reference to itself\n");
return ctx->symt_cache[sc_unknown];
}
if (!type->symt)
{
/* load the debug info entity */
......
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