pdwtags: Print DW_TAG_subroutine_type as well

So that we can see at least via pdwtags those tags, be it from DWARF of
BTF.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
Arnaldo Carvalho de Melo 2019-11-05 10:16:25 -03:00
parent 3c5f2a224a
commit 3e8f09e304
1 changed files with 3 additions and 0 deletions

View File

@ -1844,6 +1844,9 @@ size_t tag__fprintf(struct tag *tag, const struct cu *cu,
case DW_TAG_structure_type:
printed += __class__fprintf(tag__class(tag), cu, pconf, fp);
break;
case DW_TAG_subroutine_type:
printed += ftype__fprintf(tag__ftype(tag), cu, NULL, false, false, 0, pconf, fp);
break;
case DW_TAG_namespace:
printed += namespace__fprintf(tag, cu, pconf, fp);
break;