pub trait CoverageInfoBuilderMethods<'tcx>: BackendTypes {
// Required method
fn add_coverage(&mut self, instance: Instance<'tcx>, coverage: &Coverage);
}
Required Methods§
sourcefn add_coverage(&mut self, instance: Instance<'tcx>, coverage: &Coverage)
fn add_coverage(&mut self, instance: Instance<'tcx>, coverage: &Coverage)
Handle the MIR coverage info in a backend-specific way.
This can potentially be a no-op in backends that don’t support coverage instrumentation.