This is an archive of the discontinued LLVM Phabricator instance.

[llvm-dwarfdump][Statistics] Ignore DW_TAG_subroutine_type in statistics
ClosedPublic

Authored by krisb on Jan 18 2020, 12:50 PM.

Details

Summary

DW_TAG_subroutine_type is not really useful for statistics purposes, as it never has location information. But it may contain DW_TAG_formal_parameter children that generate a number of parameters w/o location and decrease 'availability' metric significantly.

Event Timeline

krisb created this revision.Jan 18 2020, 12:50 PM
Herald added a project: Restricted Project. · View Herald Transcript
djtodoro accepted this revision.Jan 20 2020, 2:39 AM

Looks good to me.

This revision is now accepted and ready to land.Jan 20 2020, 2:39 AM
This revision was automatically updated to reflect the committed changes.