dbghelp: Parse DW_TAG_const_type inside dwarf2_parse_subprogram.

Signed-off-by: Qian Hong <qhong@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Qian Hong 2015-10-09 19:59:58 +08:00 committed by Alexandre Julliard
parent 62d6a09085
commit fd9d4b6232
1 changed files with 3 additions and 0 deletions

View File

@ -1978,6 +1978,9 @@ static struct symt* dwarf2_parse_subprogram(dwarf2_parse_context_t* ctx,
case DW_TAG_pointer_type: case DW_TAG_pointer_type:
dwarf2_parse_pointer_type(subpgm.ctx, di); dwarf2_parse_pointer_type(subpgm.ctx, di);
break; break;
case DW_TAG_const_type:
dwarf2_parse_const_type(subpgm.ctx, di);
break;
case DW_TAG_subprogram: case DW_TAG_subprogram:
/* FIXME: likely a declaration (to be checked) /* FIXME: likely a declaration (to be checked)
* skip it for now * skip it for now