Commit 44c52c16 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

dbghelp: Silence DW_TAG_GNU_call_site objects.

parent 18f539ac
...@@ -1751,6 +1751,9 @@ static void dwarf2_parse_inlined_subroutine(dwarf2_subprogram_t* subpgm, ...@@ -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, ...@@ -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, ...@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment