Skip to main content

emit_covfun_record

Function emit_covfun_record 

Source
pub(crate) fn emit_covfun_record<'tcx>(
    cx: &mut GenericCx<'_, FullCx<'_, 'tcx>>,
    global_file_table: &GlobalFileTable,
    covfun: &CovfunRecord<'tcx>,
)
Expand description

Generates and emits the covfun record for this function, which contains the function’s coverage mapping data. The record is emitted as a global variable in the __llvm_covfun section.