Function generate_covfun_record

Source
pub(crate) fn generate_covfun_record<'tcx>(
    cx: &GenericCx<'_, FullCx<'_, 'tcx>>,
    filenames_hash: u64,
    covfun: &CovfunRecord<'tcx>,
)
Expand description

Generates the contents of the covfun record for this function, which contains the function’s coverage mapping data. The record is then stored as a global variable in the __llvm_covfun section.