github.com/shogo82148/std@v1.22.1-0.20240327122250-4e474527810c/cmd/compile/internal/coverage/cover.go (about) 1 // Copyright 2022 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package coverage 6 7 // Fixup adds calls to the pkg init function as appropriate to 8 // register coverage-related variables with the runtime. 9 // 10 // It also reclassifies selected variables (for example, tagging 11 // coverage counter variables with flags so that they can be handled 12 // properly downstream). 13 func Fixup()