- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for addInitHookCall (0.11 sec)
-
src/cmd/compile/internal/coverage/cover.go
cnames.InitFn.Body.Prepend(assign) } // addInitHookCall generates a call to runtime/coverage.initHook() and // inserts it into the package main init function, which will kick off // the process for coverage data writing (emit meta data, and register // an exit hook to emit counter data). func addInitHookCall(initfn *ir.Func, cmode coverage.CounterMode) { typecheck.InitCoverage() pos := initfn.Pos()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 29 21:55:46 UTC 2024 - 6K bytes - Viewed (0)