diff options
author | Kristina Bessonova <kbessonova@accesssoftek.com> | 2020-01-14 20:39:04 +0200 |
---|---|---|
committer | Kristina Bessonova <kbessonova@accesssoftek.com> | 2020-01-28 20:52:20 +0200 |
commit | 4b0a7fe008e6a61997f622b7993d6316d898deae (patch) | |
tree | ad1a937ea547ea7bf7ac547b098c25ee982a6b59 /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | |
parent | 5499e2f455caad5c7cf95aa459b8d246e14c6af9 (diff) | |
download | llvm-4b0a7fe008e6a61997f622b7993d6316d898deae.zip llvm-4b0a7fe008e6a61997f622b7993d6316d898deae.tar.gz llvm-4b0a7fe008e6a61997f622b7993d6316d898deae.tar.bz2 |
[llvm-dwarfdump][Statistics] Make calculations of vars in global scope more accurate
It isn't known how many times we've seen the same variable or member in
the global scope (unlike in functions), but there still can be some duplicates
among different CUs.
So, this patch proposes to count variables in the global scope just as a sum of
the number of vars, constant members and artificial entities.
Reviewed by: aprantl
Differential Revision: https://reviews.llvm.org/D73004
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions