aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
diff options
context:
space:
mode:
authorKristina Bessonova <kbessonova@accesssoftek.com>2020-01-14 20:39:04 +0200
committerKristina Bessonova <kbessonova@accesssoftek.com>2020-01-28 20:52:20 +0200
commit4b0a7fe008e6a61997f622b7993d6316d898deae (patch)
treead1a937ea547ea7bf7ac547b098c25ee982a6b59 /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
parent5499e2f455caad5c7cf95aa459b8d246e14c6af9 (diff)
downloadllvm-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