mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 14:01:51 +00:00
8294356a5d
coverage: Add enums to accommodate other kinds of coverage mappings Extracted from #118305. LLVM supports several different kinds of coverage mapping regions, but currently we only ever emit ordinary “code” regions. This PR performs the plumbing required to add other kinds of regions as enum variants, but does not add any specific variants other than `Code`. The main motivation for this change is branch coverage, but it will also allow separate experimentation with gap regions and skipped regions, which might help in producing more accurate and useful coverage reports. --- ``@rustbot`` label +A-code-coverage |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |