Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for addInitHookCall (0.2 sec)

  1. 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)
Back to top