dbghelp/dwarf: Don't skip functions when their inlined flag comes from an abstract origin.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Eric Pouech 2021-11-05 16:51:31 +01:00 committed by Alexandre Julliard
parent 0c42b9e111
commit f83e647547
1 changed files with 1 additions and 0 deletions

View File

@ -2242,6 +2242,7 @@ static struct symt* dwarf2_parse_subprogram(dwarf2_debug_info_t* di)
* a concrete object that we'll handle
*/
if (dwarf2_find_attribute(di, DW_AT_inline, &inline_flags) &&
inline_flags.gotten_from == attr_direct &&
inline_flags.u.uvalue != DW_INL_not_inlined)
{
TRACE("Function %s declared as inlined (%ld)... skipping\n",