rustc_mir_transform::coverage::mappings

Function extract_all_mapping_info_from_mir

Source
pub(super) fn extract_all_mapping_info_from_mir<'tcx>(
    tcx: TyCtxt<'tcx>,
    mir_body: &Body<'tcx>,
    hir_info: &ExtractedHirInfo,
    basic_coverage_blocks: &CoverageGraph,
) -> ExtractedMappings
Expand description

Extracts coverage-relevant spans from MIR, and associates them with their corresponding BCBs.