dbghelp/dwarf: Support more dwarf's TAG related to types in udt parsing.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Eric Pouech 2021-09-21 08:00:30 +02:00 committed by Alexandre Julliard
parent 88840187f5
commit 79cd318b77
1 changed files with 8 additions and 0 deletions

View File

@ -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 */