...

Package coverage

import "cmd/compile/internal/coverage"
Overview
Index

Overview ▾

Index ▾

Package files

cover.go

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).