[CTRACER]: Avoid comparing DW_TAG_subprogram with DW_AT_abstract_origin

See d0e47a6f2c commit.

Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
This commit is contained in:
Arnaldo Carvalho de Melo 2007-01-09 14:26:07 -02:00
parent bd62cad409
commit b916bb459e
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@ static struct tag *function__filter(struct tag *tag, struct cu *cu, void *cookie
function = tag__function(tag);
if (function__inlined(function) ||
function->abstract_origin != 0 ||
!ftype__has_parm_of_type(&function->proto, cookie, cu))
return NULL;