Function rustc_codegen_llvm::coverageinfo::mapgen::save_function_record[−][src]

fn save_function_record<'ll, 'tcx>(
    cx: &CodegenCx<'ll, 'tcx>,
    mangled_function_name: String,
    function_source_hash: u64,
    filenames_ref: u64,
    coverage_mapping_buffer: Vec<u8>
)

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.