mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
dbghelp: Don't crash when parsing the forward declaration of a function.
This commit is contained in:
parent
34c0bd760f
commit
1a34d70354
1 changed files with 1 additions and 1 deletions
|
@ -1679,7 +1679,7 @@ static struct symt* dwarf2_parse_subprogram(dwarf2_parse_context_t* ctx,
|
|||
symt_add_function_point(ctx->module, subpgm.func, SymTagCustom,
|
||||
&subpgm.frame, NULL);
|
||||
}
|
||||
symt_normalize_function(subpgm.ctx->module, subpgm.func);
|
||||
if (subpgm.func) symt_normalize_function(subpgm.ctx->module, subpgm.func);
|
||||
|
||||
return di->symt;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue