Function rustc_mir_transform::coverage::create_mappings

source ยท
fn create_mappings<'tcx>(
    tcx: TyCtxt<'tcx>,
    hir_info: &ExtractedHirInfo,
    extracted_mappings: &ExtractedMappings,
    coverage_counters: &CoverageCounters,
) -> Vec<Mapping>
Expand description

For each coverage span extracted from MIR, create a corresponding mapping.

Precondition: All BCBs corresponding to those spans have been given coverage counters.