Function rustc_codegen_llvm::coverageinfo::mapgen::generate_coverage_map
source · fn generate_coverage_map<'ll>(
cx: &CodegenCx<'ll, '_>,
version: u32,
filenames_size: usize,
filenames_val: &'ll Value
) -> &'ll Value
Expand description
Construct coverage map header and the array of function records, and combine them into the coverage map. Save the coverage map data into the LLVM IR as a static global using a specific, well-known section and name.