Modules

counters 🔒
debug 🔒

The InstrumentCoverage MIR pass implementation includes debugging tools and options to help developers understand and/or improve the analysis and instrumentation of a MIR.

graph 🔒
spans 🔒

Structs

Error 🔒

A simple error message wrapper for coverage::Errors.

Inserts StatementKind::Coverage statements that either instrument the binary with injected counters, via intrinsic llvm.instrprof.increment, and/or inject metadata used during codegen to construct the coverage map.

Functions

Convert the Span into its file name, start line and column, and end line and column