package coverage

import "cmd/compile/internal/coverage"

Index

Functions

func Fixup

func Fixup()

Fixup adds calls to the pkg init function as appropriate to register coverage-related variables with the runtime.

It also reclassifies selected variables (for example, tagging coverage counter variables with flags so that they can be handled properly downstream).

Source Files

cover.go

Version
v1.24.0 (latest)
Published
Feb 10, 2025
Platform
linux/amd64
Imports
8 packages
Last checked
43 seconds ago

Tools for package owners.