dbghelp: Don't call assert() on missing subprogram dwarf's information.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
c8fede5efb
commit
0b84fa05a1
|
@ -1602,10 +1602,10 @@ static void dwarf2_parse_variable(dwarf2_subprogram_t* subpgm,
|
||||||
/* either a pmt/variable relative to frame pointer or
|
/* either a pmt/variable relative to frame pointer or
|
||||||
* pmt/variable in a register
|
* pmt/variable in a register
|
||||||
*/
|
*/
|
||||||
assert(subpgm->func);
|
if (subpgm->func)
|
||||||
symt_add_func_local(subpgm->ctx->module, subpgm->func,
|
symt_add_func_local(subpgm->ctx->module, subpgm->func,
|
||||||
is_pmt ? DataIsParam : DataIsLocal,
|
is_pmt ? DataIsParam : DataIsLocal,
|
||||||
&loc, block, param_type, name.u.string);
|
&loc, block, param_type, name.u.string);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue