rustc_mir_transform::coverage

Module 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.

Constantsยง

MCDC_MAX_BITMAP_SIZE ๐Ÿ”’

Functionsยง

calc_test_vectors_index ๐Ÿ”’
extract_all_mapping_info_from_mir ๐Ÿ”’
Extracts coverage-relevant spans from MIR, and associates them with their corresponding BCBs.
extract_branch_pairs ๐Ÿ”’
extract_mcdc_mappings ๐Ÿ”’
resolve_block_markers ๐Ÿ”’