dbghelp: When parsing dwarf debug info, silence ptr_to_member and imported_declaration entries.
This commit is contained in:
parent
ab7efe7273
commit
0816d8f4bf
|
@ -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_type_param:
|
||||||
case DW_TAG_template_value_param:
|
case DW_TAG_template_value_param:
|
||||||
case DW_TAG_variable:
|
case DW_TAG_variable:
|
||||||
|
case DW_TAG_imported_declaration:
|
||||||
|
case DW_TAG_ptr_to_member_type:
|
||||||
/* FIXME: some C++ related stuff */
|
/* FIXME: some C++ related stuff */
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
@ -1715,6 +1717,9 @@ static void dwarf2_parse_subprogram_block(dwarf2_subprogram_t* subpgm,
|
||||||
* Skip it for now
|
* Skip it for now
|
||||||
*/
|
*/
|
||||||
break;
|
break;
|
||||||
|
case DW_TAG_imported_module:
|
||||||
|
/* C++ stuff to be silenced (for now) */
|
||||||
|
break;
|
||||||
case DW_TAG_label:
|
case DW_TAG_label:
|
||||||
dwarf2_parse_subprogram_label(subpgm, child);
|
dwarf2_parse_subprogram_label(subpgm, child);
|
||||||
break;
|
break;
|
||||||
|
@ -1974,6 +1979,7 @@ static void dwarf2_load_one_entry(dwarf2_parse_context_t* ctx,
|
||||||
case DW_TAG_namespace:
|
case DW_TAG_namespace:
|
||||||
case DW_TAG_imported_module:
|
case DW_TAG_imported_module:
|
||||||
case DW_TAG_imported_declaration:
|
case DW_TAG_imported_declaration:
|
||||||
|
case DW_TAG_ptr_to_member_type:
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
FIXME("Unhandled Tag type 0x%lx at %s, for %lu\n",
|
FIXME("Unhandled Tag type 0x%lx at %s, for %lu\n",
|
||||||
|
|
Loading…
Reference in New Issue