Module rustc_mir_transform::coverage::mappings
source ยท Structsยง
- Branch
Pair ๐This is separate fromMCDCBranch
to help prepare for larger changes that will be needed for improved branch coverage in the future. (See https://github.com/rust-lang/rust/pull/124217.) - Code
Mapping ๐Associates an ordinary executable code span with its corresponding BCB. - Extracted
Mappings ๐ - MCDC
Branch ๐Associates an MC/DC branch span with condition info besides fields for normal branch. - MCDC
Decision ๐Associates an MC/DC decision with its join BCBs.
Functionsยง
- Extracts coverage-relevant spans from MIR, and associates them with their corresponding BCBs.
- extract_
branch_ ๐pairs