[PATCH] dbghelp/dwarf: don't skip functions when their inlined flag comes from an abstract origin

Eric Pouech eric.pouech at gmail.com
Fri Nov 5 10:51:31 CDT 2021


Signed-off-by: Eric Pouech <eric.pouech at gmail.com>

---
 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-devel mailing list