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:
parent
3c5f2a224a
commit
3e8f09e304
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue