[CODIFF]: Avoid comparing DW_TAG_subprogram with DW_AT_abstract_origin

We were comparing DW_TAG_subprogram tags without low_pc/high_pc with
aliases to it, that have low_pc/high_pc, not good.

Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
This commit is contained in:
Arnaldo Carvalho de Melo 2007-01-08 12:07:59 -02:00
parent e8e38bd27e
commit d0e47a6f2c
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ static void diff_function(const struct cu *new_cu, struct function *function,
assert(function->proto.tag.tag == DW_TAG_subprogram);
if (function->inlined)
if (function->inlined || function->abstract_origin != 0)
return;
name = function__name(function, cu);