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

Alexandre Julliard julliard at winehq.org
Fri Nov 5 17:15:53 CDT 2021


Module: wine
Branch: master
Commit: f83e6475477b06d53c0058a8c2f2d54040e484df
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=f83e6475477b06d53c0058a8c2f2d54040e484df

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Fri Nov  5 16:51:31 2021 +0100

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

Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/dbghelp/dwarf.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/dbghelp/dwarf.c b/dlls/dbghelp/dwarf.c
index 269cfadd56c..d812e03f833 100644
--- a/dlls/dbghelp/dwarf.c
+++ b/dlls/dbghelp/dwarf.c
@@ -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",




More information about the wine-cvs mailing list