Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for addCovMeta (0.14 sec)

  1. src/runtime/covermeta.go

    	"internal/coverage/rtcov"
    	"unsafe"
    )
    
    // The compiler emits calls to runtime.addCovMeta
    // but this code has moved to rtcov.AddMeta.
    func addCovMeta(p unsafe.Pointer, dlen uint32, hash [16]byte, pkgpath string, pkgid int, cmode uint8, cgran uint8) uint32 {
    	id := rtcov.AddMeta(p, dlen, hash, pkgpath, pkgid, cmode, cgran)
    	if id == 0 {
    		throw("runtime.addCovMeta: coverage package map collision")
    	}
    	return id
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 603 bytes
    - Viewed (0)
  2. src/cmd/compile/internal/coverage/cover.go

    	// Materialize expression for length.
    	lenx := ir.NewInt(base.Pos, int64(mdlen)) // untyped
    
    	// Generate a call to runtime.addCovMeta, e.g.
    	//
    	//   pkgIdVar = runtime.addCovMeta(&sym, len, hash, pkgpath, pkid, cmode, cgran)
    	//
    	fn := typecheck.LookupRuntime("addCovMeta")
    	pkid := coverage.HardCodedPkgID(base.Ctxt.Pkgpath)
    	pkIdNode := ir.NewInt(base.Pos, int64(pkid))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 21:55:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. src/internal/coverage/pkid.go

    //    slot: 8 path='internal/goexperiment'
    //    slot: 9 path='internal/runtime/syscall'  hard-coded id: 8
    //    slot: 10 path='runtime'  hard-coded id: 9
    //    fatal error: runtime.addCovMeta
    //
    // For the error above, the hard-coded list is missing "internal/goos"
    // and "internal/goexperiment" ; the developer in question will need
    // to copy the list above into "rtPkgs" below.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. src/cmd/internal/goobj/builtinlist.go

    	{"runtime.libfuzzerTraceConstCmp2", 1},
    	{"runtime.libfuzzerTraceConstCmp4", 1},
    	{"runtime.libfuzzerTraceConstCmp8", 1},
    	{"runtime.libfuzzerHookStrCmp", 1},
    	{"runtime.libfuzzerHookEqualFold", 1},
    	{"runtime.addCovMeta", 1},
    	{"runtime.x86HasPOPCNT", 0},
    	{"runtime.x86HasSSE41", 0},
    	{"runtime.x86HasFMA", 0},
    	{"runtime.armHasVFPv4", 0},
    	{"runtime.arm64HasATOMICS", 0},
    	{"runtime.asanregisterglobals", 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func libfuzzerTraceConstCmp4(uint32, uint32, uint)
    func libfuzzerTraceConstCmp8(uint64, uint64, uint)
    func libfuzzerHookStrCmp(string, string, uint)
    func libfuzzerHookEqualFold(string, string, uint)
    
    func addCovMeta(p unsafe.Pointer, len uint32, hash [16]byte, pkpath string, pkgId int, cmode uint8, cgran uint8) uint32
    
    // architecture variants
    var x86HasPOPCNT bool
    var x86HasSSE41 bool
    var x86HasFMA bool
    var armHasVFPv4 bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/typecheck/builtin.go

    	{"libfuzzerTraceConstCmp2", funcTag, 150},
    	{"libfuzzerTraceConstCmp4", funcTag, 151},
    	{"libfuzzerTraceConstCmp8", funcTag, 152},
    	{"libfuzzerHookStrCmp", funcTag, 153},
    	{"libfuzzerHookEqualFold", funcTag, 153},
    	{"addCovMeta", funcTag, 155},
    	{"x86HasPOPCNT", varTag, 6},
    	{"x86HasSSE41", varTag, 6},
    	{"x86HasFMA", varTag, 6},
    	{"armHasVFPv4", varTag, 6},
    	{"arm64HasATOMICS", varTag, 6},
    	{"asanregisterglobals", funcTag, 124},
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  7. src/internal/coverage/cfile/emit.go

    				}
    			} else {
    				// The package ID value stored in the counter array
    				// has 1 added to it (so as to preclude the
    				// possibility of a zero value ; see
    				// runtime.addCovMeta), so subtract off 1 here to form
    				// the real package ID.
    				pkgId--
    			}
    
    			tcounters = rdCounters(counters, tcounters)
    			if err := f(pkgId, funcId, tcounters); err != nil {
    				return err
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 18.9K bytes
    - Viewed (0)
Back to top