dbghelp: When parsing dwarf debug info, silence ptr_to_member and imported_declaratio...
authorEric Pouech <eric.pouech@orange.fr>
Tue, 8 Mar 2011 20:30:36 +0000 (21:30 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 9 Mar 2011 12:50:54 +0000 (13:50 +0100)
dlls/dbghelp/dwarf.c

index 585ea6c09d9dc21525cf6c9c6640d4f33ed00b10..776031e51d952021f457c138c22cda627b82a8f0 100644 (file)
@@ -1358,6 +1358,8 @@ static struct symt* dwarf2_parse_udt_type(dwarf2_parse_context_t* ctx,
             case DW_TAG_template_type_param:
             case DW_TAG_template_value_param:
             case DW_TAG_variable:
+            case DW_TAG_imported_declaration:
+            case DW_TAG_ptr_to_member_type:
                 /* FIXME: some C++ related stuff */
                 break;
             default:
@@ -1715,6 +1717,9 @@ static void dwarf2_parse_subprogram_block(dwarf2_subprogram_t* subpgm,
                  * Skip it for now
                  */
                 break;
+            case DW_TAG_imported_module:
+                /* C++ stuff to be silenced (for now) */
+                break;
             case DW_TAG_label:
                 dwarf2_parse_subprogram_label(subpgm, child);
                 break;
@@ -1974,6 +1979,7 @@ static void dwarf2_load_one_entry(dwarf2_parse_context_t* ctx,
     case DW_TAG_namespace:
     case DW_TAG_imported_module:
     case DW_TAG_imported_declaration:
+    case DW_TAG_ptr_to_member_type:
         break;
     default:
         FIXME("Unhandled Tag type 0x%lx at %s, for %lu\n",