This is an archive of the discontinued LLVM Phabricator instance.

[llvm-dwarfdump][Statistics] Distinguish parameters with same name or w/o a name
ClosedPublic

Authored by krisb on Jan 19 2020, 8:13 AM.

Details

Summary
A few DW_TAG_formal_parameter's of the same function may have the same
name (e.g. variadic (template) functions) or don't have a name at all
(if the parameter isn't used inside the function body), but we still
need to be able to distinguish between them to get the correct number of 'total vars'
and 'availability' metric.

Diff Detail