Expand description
Safe wrappers for coverage-specific FFI functions.
Functionsยง
- covfun_
section_ ๐name - covmap_
section_ ๐name - covmap_
var_ ๐name - hash_
bytes ๐Hashes some bytes into a 64-bit hash, via LLVMโsIndexedInstrProf::ComputeHash
, as required for parts of the LLVM coverage mapping format. - mapping_
version ๐Returns LLVMโscoverage::CovMapVersion::CurrentVersion
(CoverageMapping.h) as a raw numeric value. For historical reasons, the numeric value is 1 less than the number in the versionโs name, soVersion7
is actually6u32
.