inject_coverage_statements in rustc_mir_transform::coverage - Rust (original) (raw)

rustc_mir_transform::coverage

Function inject_coverage_statements

Source

fn inject_coverage_statements<'tcx>(
    mir_body: &mut Body<'tcx>,
    graph: &CoverageGraph,
)

Expand description

Inject any necessary coverage statements into MIR, so that they influence codegen.