about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorRich Kadel <richkadel@google.com>2021-05-01 14:56:48 -0700
committerRich Kadel <richkadel@google.com>2021-06-01 13:28:59 -0700
commitf4f76e60b3c4b0f52caecc5e52f9ee7f24b7d050 (patch)
treebf984cee99db1780fe335bcd6b4ef71a5a704dc5 /compiler/rustc_codegen_llvm/src
parent7f9ab0300cd66f6f616e03ea90b2d71af474bf28 (diff)
downloadrust-f4f76e60b3c4b0f52caecc5e52f9ee7f24b7d050.tar.gz
rust-f4f76e60b3c4b0f52caecc5e52f9ee7f24b7d050.zip
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.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions