If the total number of PC range bytes in each variable's enclosing scope ('scope bytes total') is 0, we will have division by zero.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D71415
[llvm-locstats] Avoid the loc stats for the cases with no scope bytes coverage ClosedPublic Authored by djtodoro on Dec 12 2019, 5:48 AM.
Details Summary If the total number of PC range bytes in each variable's enclosing scope ('scope bytes total') is 0, we will have division by zero.
Diff Detail Event TimelineThis revision is now accepted and ready to land.Dec 12 2019, 11:17 AM Closed by commit rGbaea913609f1: [llvm-locstats] Avoid the locstats when no scope bytes coverage found (authored by djtodoro). · Explain WhyDec 13 2019, 4:54 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 233593 llvm/test/tools/llvm-locstats/no_scope_bytes.ll
llvm/utils/llvm-locstats/llvm-locstats.py
|