Module rustc_mir_transform::coverage::mappings
source ยท Structsยง
- BranchPair ๐This is separate from
MCDCBranch
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.) - CodeMapping ๐Associates an ordinary executable code span with its corresponding BCB.
- ExtractedMappings ๐
- MCDCBranch ๐Associates an MC/DC branch span with condition info besides fields for normal branch.
- MCDCDecision ๐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 ๐