Module coverage

Module coverage 

Source

Modulesยง

counters ๐Ÿ”’
expansion ๐Ÿ”’
graph ๐Ÿ”’
hir_info ๐Ÿ”’
mappings ๐Ÿ”’
query ๐Ÿ”’
spans ๐Ÿ”’
unexpand ๐Ÿ”’

Structsยง

InstrumentCoverage ๐Ÿ”’
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ยง

inject_coverage_statements ๐Ÿ”’
Inject any necessary coverage statements into MIR, so that they influence codegen.
inject_statement ๐Ÿ”’
instrument_function_for_coverage ๐Ÿ”’