[PATCH 07/12] dbghelp/dwarf: Silence a couple of dwarf DIE's tag in load_one_debug_entry

Eric Pouech eric.pouech at gmail.com
Sun Sep 26 07:47:07 CDT 2021


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

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