package rtcov
Import Path
internal/coverage/rtcov (on go.dev)
Dependency Relation
imports 0 packages, and imported by one package
Involved Source Files
rtcov.go
Package-Level Type Names (total 2, both are exported)
CovCounterBlob is a container for encapsulating a counter section
(BSS variable) for an instrumented Go module. Here "counters"
points to the counter payload and "len" is the number of uint32
entries in the section.
Counters *uint32
Len uint64
func runtime.runtime_coverage_getCovCounterList() []CovCounterBlob
CovMetaBlob is a container for holding the meta-data symbol (an
RODATA variable) for an instrumented Go package. Here "p" points to
the symbol itself, "len" is the length of the sym in bytes, and
"hash" is an md5sum for the sym computed by the compiler. When
the init function for a coverage-instrumented package executes, it
will make a call into the runtime which will create a covMetaBlob
object for the package and chain it onto a global list.
// coverage.CounterGranularity
// coverage.CounterMode
Hash [16]byte
Len uint32
P *byte
PkgID int
PkgPath string
func runtime.runtime_coverage_getCovMetaList() []CovMetaBlob
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |