Eric Pouech : dbghelp/dwarf: Support more dwarf's TAG related to types in udt parsing.
Alexandre Julliard
julliard at winehq.org
Tue Sep 21 15:59:04 CDT 2021
Module: wine
Branch: master
Commit: 79cd318b778def23b044af6d1f54a14e6496880e
URL: https://source.winehq.org/git/wine.git/?a=commit;h=79cd318b778def23b044af6d1f54a14e6496880e
Author: Eric Pouech <eric.pouech at gmail.com>
Date: Tue Sep 21 08:00:30 2021 +0200
dbghelp/dwarf: Support more dwarf's TAG related to types in udt parsing.
Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/dbghelp/dwarf.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/dlls/dbghelp/dwarf.c b/dlls/dbghelp/dwarf.c
index d1075caf4b8..c409f39d80b 100644
--- a/dlls/dbghelp/dwarf.c
+++ b/dlls/dbghelp/dwarf.c
@@ -1704,6 +1704,12 @@ static struct symt* dwarf2_parse_udt_type(dwarf2_debug_info_t* di,
case DW_TAG_const_type:
dwarf2_parse_const_type(child);
break;
+ case DW_TAG_volatile_type:
+ dwarf2_parse_volatile_type(di);
+ break;
+ case DW_TAG_pointer_type:
+ dwarf2_parse_pointer_type(child);
+ break;
case DW_TAG_subrange_type:
dwarf2_parse_subrange_type(child);
break;
@@ -1713,11 +1719,13 @@ static struct symt* dwarf2_parse_udt_type(dwarf2_debug_info_t* di,
case DW_TAG_typedef:
/* FIXME: we need to handle nested udt definitions */
case DW_TAG_inheritance:
+ case DW_TAG_interface_type:
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:
+ case DW_TAG_GNU_template_template_param:
case DW_TAG_GNU_template_parameter_pack:
case DW_TAG_GNU_formal_parameter_pack:
/* FIXME: some C++ related stuff */
More information about the wine-cvs
mailing list