[llvm-dwarfdump][Statistics] Count more than one conrete out-of-line instances of...
authorKristina Bessonova <kbessonova@accesssoftek.com>
Wed, 8 Jan 2020 15:33:51 +0000 (17:33 +0200)
committerKristina Bessonova <kbessonova@accesssoftek.com>
Tue, 28 Jan 2020 18:52:19 +0000 (20:52 +0200)
commit57839e51781567e320e6a55bafa5afee3335bebe
treecf6410696682011ac81b54948526173c6886cdeb
parent276a6b88898a9847d6b401b769e53fb3af6e7b78
[llvm-dwarfdump][Statistics] Count more than one conrete out-of-line instances of a function

Here may be more than one out-of-line instance of the same function
among different CUs. All of them should be accounted for to get an accurate
total number of variables/parameters.

Reviewed by: aprantl

Differential Revision: https://reviews.llvm.org/D73002
llvm/test/tools/llvm-dwarfdump/X86/stats-mulitple-cu-out-of-line.ll [new file with mode: 0644]
llvm/tools/llvm-dwarfdump/Statistics.cpp