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

Eric Pouech eric.pouech at gmail.com
Fri Sep 24 10:32:59 CDT 2021


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

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

diff --git a/dlls/dbghelp/dwarf.c b/dlls/dbghelp/dwarf.c
index e48993e6293..58e9b63a28a 100644
--- a/dlls/dbghelp/dwarf.c
+++ b/dlls/dbghelp/dwarf.c
@@ -2400,9 +2400,14 @@ 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:
+    case DW_TAG_constant:
+    /* 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