mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 17:27:18 +00:00
dbghelp: In const types, force 'void' type when none is found.
This commit is contained in:
parent
96a38c93d5
commit
6a60266575
|
@ -1317,9 +1317,13 @@ static struct symt* dwarf2_parse_volatile_type(dwarf2_parse_context_t* ctx,
|
||||||
|
|
||||||
if (di->symt) return di->symt;
|
if (di->symt) return di->symt;
|
||||||
|
|
||||||
TRACE("%s, for %s\n", dwarf2_debug_ctx(ctx), dwarf2_debug_di(di));
|
TRACE("%s, for %s\n", dwarf2_debug_ctx(ctx), dwarf2_debug_di(di));
|
||||||
|
|
||||||
ref_type = dwarf2_lookup_type(ctx, di);
|
if (!(ref_type = dwarf2_lookup_type(ctx, di)))
|
||||||
|
{
|
||||||
|
ref_type = ctx->symt_cache[sc_void];
|
||||||
|
assert(ref_type);
|
||||||
|
}
|
||||||
if (dwarf2_get_di_children(ctx, di)) FIXME("Unsupported children\n");
|
if (dwarf2_get_di_children(ctx, di)) FIXME("Unsupported children\n");
|
||||||
di->symt = ref_type;
|
di->symt = ref_type;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue