[PATCH] D121284: [llvm-dwarfdump] Avoid possible div-by-zero in debug output
Dmitry Vassiliev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 9 05:44:41 PST 2022
slydiman marked an inline comment as done.
slydiman added inline comments.
================
Comment at: llvm/tools/llvm-dwarfdump/Statistics.cpp:1057
+ (GlobalStats.ScopeBytesCovered.Value * 100.0) /
+ GlobalStats.ScopeBytes.Value)
+ << "%\n");
----------------
djtodoro wrote:
> can we face the same here?
Probably yes, but we did not face it yet. I have updated the patch just to be sure.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D121284/new/
https://reviews.llvm.org/D121284
More information about the llvm-commits
mailing list