[PATCH] D73004: llvm-dwarfdump][Statistics] Make calculations of vars in global scope more accurate
Adrian Prantl via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 21 10:20:00 PST 2020
aprantl added inline comments.
================
Comment at: llvm/tools/llvm-dwarfdump/Statistics.cpp:330
+ if (Die.getTag() == dwarf::DW_TAG_member) {
FnStats.ConstantMembers++;
+ return;
----------------
How does this condition ensure that this is a constant member now?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73004/new/
https://reviews.llvm.org/D73004
More information about the llvm-commits
mailing list