Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for racereadrangepc (0.5 sec)

  1. src/runtime/slice.go

    			bulkBarrierPreWriteSrcOnly(uintptr(to), uintptr(from), copymem, et)
    		}
    	}
    
    	if raceenabled {
    		callerpc := getcallerpc()
    		pc := abi.FuncPCABIInternal(makeslicecopy)
    		racereadrangepc(from, copymem, callerpc, pc)
    	}
    	if msanenabled {
    		msanread(from, copymem)
    	}
    	if asanenabled {
    		asanread(from, copymem)
    	}
    
    	memmove(to, from, copymem)
    
    	return to
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. src/runtime/string.go

    		// Consider that you want to parse out data between parens in "foo()bar",
    		// you find the indices and convert the subslice to string.
    		return ""
    	}
    	if raceenabled {
    		racereadrangepc(unsafe.Pointer(ptr),
    			uintptr(n),
    			getcallerpc(),
    			abi.FuncPCABIInternal(slicebytetostring))
    	}
    	if msanenabled {
    		msanread(unsafe.Pointer(ptr), uintptr(n))
    	}
    	if asanenabled {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. src/runtime/race.go

    		racefuncexit()
    	}
    }
    
    //go:nosplit
    func racereadrangepc(addr unsafe.Pointer, sz, callpc, pc uintptr) {
    	gp := getg()
    	if gp != gp.m.curg {
    		// The call is coming from manual instrumentation of Go code running on g0/gsignal.
    		// Not interesting.
    		return
    	}
    	if callpc != 0 {
    		racefuncenter(callpc)
    	}
    	racereadrangepc1(uintptr(addr), sz, pc)
    	if callpc != 0 {
    		racefuncexit()
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  4. src/runtime/mbarrier.go

    	// code and needs its own instrumentation.
    	if raceenabled {
    		callerpc := getcallerpc()
    		pc := abi.FuncPCABIInternal(slicecopy)
    		racewriterangepc(dstPtr, uintptr(n)*typ.Size_, callerpc, pc)
    		racereadrangepc(srcPtr, uintptr(n)*typ.Size_, callerpc, pc)
    	}
    	if msanenabled {
    		msanwrite(dstPtr, uintptr(n)*typ.Size_)
    		msanread(srcPtr, uintptr(n)*typ.Size_)
    	}
    	if asanenabled {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  5. src/cmd/internal/goobj/builtinlist.go

    	{"runtime.getcallerpc", 1},
    	{"runtime.getcallersp", 1},
    	{"runtime.racefuncenter", 1},
    	{"runtime.racefuncexit", 1},
    	{"runtime.raceread", 1},
    	{"runtime.racewrite", 1},
    	{"runtime.racereadrange", 1},
    	{"runtime.racewriterange", 1},
    	{"runtime.msanread", 1},
    	{"runtime.msanwrite", 1},
    	{"runtime.msanmove", 1},
    	{"runtime.asanread", 1},
    	{"runtime.asanwrite", 1},
    	{"runtime.checkptrAlignment", 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)
  6. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func getcallerpc() uintptr
    func getcallersp() uintptr
    
    // race detection
    func racefuncenter(uintptr)
    func racefuncexit()
    func raceread(uintptr)
    func racewrite(uintptr)
    func racereadrange(addr, size uintptr)
    func racewriterange(addr, size uintptr)
    
    // memory sanitizer
    func msanread(addr, size uintptr)
    func msanwrite(addr, size uintptr)
    func msanmove(dst, src, size uintptr)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. src/runtime/race_s390x.s

    	LMG	addr+0(FP), R3, R4
    	MOVD	R14, R5
    	JMP	racecalladdr<>(SB)
    
    // func runtime·RaceReadRange(addr, size uintptr)
    TEXT	runtime·RaceReadRange(SB), NOSPLIT, $0-16
    	// This needs to be a tail call, because racereadrange reads caller pc.
    	JMP	runtime·racereadrange(SB)
    
    // func runtime·racereadrangepc1(void *addr, uintptr sz, void *pc)
    TEXT	runtime·racereadrangepc1(SB), NOSPLIT, $0-24
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  8. src/runtime/race_amd64.s

    	MOVQ	$__tsan_read_range(SB), AX
    	JMP	racecalladdr<>(SB)
    
    // func runtime·RaceReadRange(addr, size uintptr)
    TEXT	runtime·RaceReadRange(SB), NOSPLIT, $0-16
    	// This needs to be a tail call, because racereadrange reads caller pc.
    	JMP	runtime·racereadrange(SB)
    
    // void runtime·racereadrangepc1(void *addr, uintptr sz, void *pc)
    TEXT	runtime·racereadrangepc1(SB), NOSPLIT, $0-24
    	MOVQ	addr+0(FP), RARG1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/typecheck/builtin.go

    	{"getcallerpc", funcTag, 143},
    	{"getcallersp", funcTag, 143},
    	{"racefuncenter", funcTag, 31},
    	{"racefuncexit", funcTag, 9},
    	{"raceread", funcTag, 31},
    	{"racewrite", funcTag, 31},
    	{"racereadrange", funcTag, 144},
    	{"racewriterange", funcTag, 144},
    	{"msanread", funcTag, 144},
    	{"msanwrite", funcTag, 144},
    	{"msanmove", funcTag, 145},
    	{"asanread", funcTag, 144},
    	{"asanwrite", funcTag, 144},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  10. src/runtime/race_arm64.s

    	MOVD	$__tsan_read_range(SB), R9
    	JMP	racecalladdr<>(SB)
    
    // func runtime·RaceReadRange(addr, size uintptr)
    TEXT	runtime·RaceReadRange(SB), NOSPLIT, $0-16
    	// This needs to be a tail call, because racereadrange reads caller pc.
    	JMP	runtime·racereadrange(SB)
    
    // func runtime·racereadrangepc1(void *addr, uintptr sz, void *pc)
    TEXT	runtime·racereadrangepc1(SB), NOSPLIT, $0-24
    	MOVD	addr+0(FP), R1
    	MOVD	size+8(FP), R2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 15.5K bytes
    - Viewed (0)
Back to top