[PATCH 2/2] [DbgHelp]: silence a couple of die:s for C++ code
Eric Pouech
eric.pouech at orange.fr
Tue Dec 29 06:02:39 CST 2009
(reported by Jacek Caban)
A+
---
dlls/dbghelp/dwarf.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/dlls/dbghelp/dwarf.c b/dlls/dbghelp/dwarf.c
index d9e52d3..855f8c0 100644
--- a/dlls/dbghelp/dwarf.c
+++ b/dlls/dbghelp/dwarf.c
@@ -1243,6 +1243,10 @@ static struct symt* dwarf2_parse_udt_type(dwarf2_parse_context_t* ctx,
case DW_TAG_union_type:
case DW_TAG_typedef:
/* FIXME: we need to handle nested udt definitions */
+ case DW_TAG_inheritance:
+ case DW_TAG_subprogram:
+ case DW_TAG_variable:
+ /* FIXME: some C++ related stuff */
break;
default:
FIXME("Unhandled Tag type 0x%lx at %s, for %s\n",
@@ -1834,6 +1838,11 @@ static void dwarf2_load_one_entry(dwarf2_parse_context_t* ctx,
dwarf2_parse_variable(&subpgm, NULL, di);
}
break;
+ /* silence a couple of C++ defines */
+ case DW_TAG_namespace:
+ case DW_TAG_imported_module:
+ case DW_TAG_imported_declaration:
+ break;
default:
FIXME("Unhandled Tag type 0x%lx at %s, for %lu\n",
di->abbrev->tag, dwarf2_debug_ctx(ctx), di->abbrev->entry_code);
More information about the wine-patches
mailing list