Module rustc_codegen_llvm::coverageinfo
source ยท Modulesยง
Structsยง
- A context object for maintaining all state needed by the coverageinfo module.
Functionsยง
- covfun_section_name ๐Returns the section name string to pass through to the linker when embedding per-function coverage information in the object file, according to the target platformโs object file format.
- Calls llvm::createPGOFuncNameVar() with the given function instanceโs mangled function name. The LLVM API returns an llvm::GlobalVariable containing the function name, with the specific variable name and linkage required by LLVM InstrProf source-based coverage instrumentation. Use
bx.get_pgo_func_name_var()
to ensure the variable is only created once perInstance
. - hash_bytes ๐
- mapping_version ๐
- save_cov_data_to_mod ๐