[PATCH] D121284: [llvm-dwarfdump] Avoid possible div-by-zero in debug output

Djordje Todorovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 9 04:50:14 PST 2022


djtodoro added inline comments.


================
Comment at: llvm/tools/llvm-dwarfdump/Statistics.cpp:1057
+                          (GlobalStats.ScopeBytesCovered.Value * 100.0) /
+                          GlobalStats.ScopeBytes.Value)
+                   << "%\n");
----------------
can we face the same here?


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