about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-06-04 10:18:54 +0000
committerbors <bors@rust-lang.org>2021-06-04 10:18:54 +0000
commit289ada5ed41fd1b9a3ffe2b694e6e73079528587 (patch)
tree299c87cec243c287382486e380df4a600661537d /compiler/rustc_codegen_llvm/src
parentc4c2ab57a43737867982fafc8cfacd9b069fee96 (diff)
parentf4f76e60b3c4b0f52caecc5e52f9ee7f24b7d050 (diff)
downloadrust-289ada5ed41fd1b9a3ffe2b694e6e73079528587.tar.gz
rust-289ada5ed41fd1b9a3ffe2b694e6e73079528587.zip
Auto merge of #85385 - richkadel:simpler-simplify-with-coverage, r=wesleywiser
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.

r? `@tmandry`
fyi: `@wesleywiser`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions