Eric Pouech : dbghelp: When parsing dwarf debug info, silence ptr_to_member and imported_declaration entries.

Alexandre Julliard julliard at winehq.org
Wed Mar 9 11:12:49 CST 2011


Module: wine
Branch: master
Commit: 0816d8f4bfee9d30c45ec0a290f5e1b835b0a5d7
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0816d8f4bfee9d30c45ec0a290f5e1b835b0a5d7

Author: Eric Pouech <eric.pouech at orange.fr>
Date:   Tue Mar  8 21:30:36 2011 +0100

dbghelp: When parsing dwarf debug info, silence ptr_to_member and imported_declaration entries.

---

 dlls/dbghelp/dwarf.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/dlls/dbghelp/dwarf.c b/dlls/dbghelp/dwarf.c
index 585ea6c..776031e 100644
--- a/dlls/dbghelp/dwarf.c
+++ b/dlls/dbghelp/dwarf.c
@@ -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",




More information about the wine-cvs mailing list