rust/compiler/rustc_codegen_ssa/src/coverageinfo
Rich Kadel f4f76e60b3 Reland - Report coverage 0 of dead blocks
Fixes: #84018

With `-Z instrument-coverage`, coverage reporting of dead blocks
(for example, blocks dropped because a conditional branch is dropped,
based on const evaluation) is now supported.

Note, this PR relands an earlier, reverted PR that failed when compiling
generators. The prior issues with generators has been resolved and a new
test was added to prevent future regressions.

Check out the resulting changes to test coverage of dead blocks in the
test coverage reports in this PR.
2021-06-01 13:28:59 -07:00
..
ffi.rs Translate counters from Rust 1-based to LLVM 0-based counter ids 2021-04-02 17:16:36 -07:00
map.rs Reland - Report coverage 0 of dead blocks 2021-06-01 13:28:59 -07:00
mod.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00