Eric Pouech : dbghelp/dwarf: Silence a couple of dwarf DIE's tag in load_one_debug_entry.

Alexandre Julliard julliard at winehq.org
Mon Sep 27 15:21:43 CDT 2021


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

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Sun Sep 26 14:47:07 2021 +0200

dbghelp/dwarf: Silence a couple of dwarf DIE's tag in load_one_debug_entry.

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

---

 dlls/dbghelp/dwarf.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dlls/dbghelp/dwarf.c b/dlls/dbghelp/dwarf.c
index 9e0df966b3c..0397ffe90b2 100644
--- a/dlls/dbghelp/dwarf.c
+++ b/dlls/dbghelp/dwarf.c
@@ -2400,9 +2400,13 @@ static void dwarf2_load_one_entry(dwarf2_debug_info_t* di)
     case DW_TAG_imported_unit:
         dwarf2_parse_imported_unit(di);
         break;
-    /* silence a couple of C++ defines */
+    /* keep it silent until we need DW_OP_call_xxx support */
+    case DW_TAG_dwarf_procedure:
+    /* silence a couple of non-C language defines (mainly C++ but others too) */
     case DW_TAG_imported_module:
     case DW_TAG_imported_declaration:
+    case DW_TAG_interface_type:
+    case DW_TAG_module:
     case DW_TAG_ptr_to_member_type:
         break;
     default:




More information about the wine-cvs mailing list