Documentation
¶
Index ¶
- Constants
- func Acquire(addr unsafe.Pointer)
- func AcquireCtx(racectx uintptr, addr unsafe.Pointer)
- func Ctxend(racectx uintptr)
- func Fingo()
- func Fini()
- func Free(p unsafe.Pointer, sz uintptr)
- func FuncEnter(pc uintptr)
- func FuncEnterFP(fp uintptr)
- func FuncExit()
- func Goend()
- func Gostart(pc uintptr) uintptr
- func Init() (uintptr, uintptr)
- func Malloc(p unsafe.Pointer, sz uintptr)
- func MapShadow(addr unsafe.Pointer, size uintptr)
- func ProcCreate() uintptr
- func ProcDestroy(ctx uintptr)
- func Read(p unsafe.Pointer)
- func ReadObjectPC(t *abi.Type, addr unsafe.Pointer, callerpc, pc uintptr)
- func ReadPC(addr unsafe.Pointer, callpc, pc uintptr)
- func ReadRange(addr unsafe.Pointer, size uintptr)
- func ReadRangePC(addr unsafe.Pointer, sz, callerpc, pc uintptr)
- func Release(addr unsafe.Pointer)
- func ReleaseAcquire(addr unsafe.Pointer)
- func ReleaseMerge(addr unsafe.Pointer)
- func Write(p unsafe.Pointer)
- func WriteObjectPC(t *abi.Type, addr unsafe.Pointer, callerpc, pc uintptr)
- func WritePC(addr unsafe.Pointer, callpc, pc uintptr)
- func WriteRange(addr unsafe.Pointer, size uintptr)
- func WriteRangePC(addr unsafe.Pointer, sz, callerpc, pc uintptr)
Constants ¶
View Source
const ( IsRace = 0 Enabled = false )
Variables ¶
This section is empty.
Functions ¶
func ReadObjectPC ¶
runtime.raceReadObjectPC
For all functions accepting callerpc and pc, callerpc is a return PC of the function that calls this function, pc is start PC of the function that calls this function.
func ReadRangePC ¶
runtime.racereadrangepc
func WriteObjectPC ¶
runtime.raceWriteObjectPC
func WriteRangePC ¶
runtime.racewriterangepc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.