dbghelp: Silence DW_TAG_GNU_call_site objects.

This commit is contained in:
Eric Pouech 2011-04-14 21:27:59 +02:00 committed by Alexandre Julliard
parent 18f539ac2e
commit 44c52c16fd
1 changed files with 10 additions and 3 deletions

View File

@ -1751,6 +1751,9 @@ static void dwarf2_parse_inlined_subroutine(dwarf2_subprogram_t* subpgm,
case DW_TAG_label: case DW_TAG_label:
dwarf2_parse_subprogram_label(subpgm, child); dwarf2_parse_subprogram_label(subpgm, child);
break; break;
case DW_TAG_GNU_call_site:
/* this isn't properly supported by dbghelp interface. skip it for now */
break;
default: default:
FIXME("Unhandled Tag type 0x%lx at %s, for %s\n", FIXME("Unhandled Tag type 0x%lx at %s, for %s\n",
child->abbrev->tag, dwarf2_debug_ctx(subpgm->ctx), child->abbrev->tag, dwarf2_debug_ctx(subpgm->ctx),
@ -1808,9 +1811,12 @@ 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: case DW_TAG_imported_module:
/* C++ stuff to be silenced (for now) */ /* C++ stuff to be silenced (for now) */
break; break;
case DW_TAG_GNU_call_site:
/* this isn't properly supported by dbghelp interface. skip it 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;
@ -1939,6 +1945,7 @@ static struct symt* dwarf2_parse_subprogram(dwarf2_parse_context_t* ctx,
case DW_TAG_unspecified_parameters: case DW_TAG_unspecified_parameters:
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_GNU_call_site:
/* FIXME: no support in dbghelp's internals so far */ /* FIXME: no support in dbghelp's internals so far */
break; break;
default: default: