Module rustc_codegen_llvm::coverageinfo::mapgen[−][src]

Structs

CoverageMapGenerator

Functions

add_unreachable_coverage

When finalizing the coverage map, FunctionCoverage only has the CodeRegions and counters for the functions that went through codegen; such as public functions and “used” functions (functions referenced by other “used” or public items). Any other functions considered unused, or “Unreachable” were still parsed and processed through the MIR stage.

finalize

Generates and exports the Coverage Map.

save_function_record

Construct a function record and combine it with the function’s coverage mapping data. Save the function record into the LLVM IR as a static global using a specific, well-known section and name.