rustc_codegen_llvm::coverageinfo::mapgen

Function generate_covmap_record

Source
fn generate_covmap_record<'ll>(
    cx: &CodegenCx<'ll, '_>,
    version: u32,
    filenames_buffer: &[u8],
)
Expand description

Generates the contents of the covmap record for this CGU, which mostly consists of a header and a list of filenames. The record is then stored as a global variable in the __llvm_covmap section.