Commit 639ac76d authored by Russ Cox's avatar Russ Cox

runtime: fix 'go vet -race runtime'

This updates the Go function declarations to match race_amd64.s.

Change-Id: I2b541a6b335ce732f4c31652aa615240ce7bb1c3
Reviewed-on: https://go-review.googlesource.com/c/go/+/177397
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: default avatarAustin Clements <austin@google.com>
parent 14491a2e
...@@ -291,20 +291,20 @@ var racedataend uintptr ...@@ -291,20 +291,20 @@ var racedataend uintptr
var racearenastart uintptr var racearenastart uintptr
var racearenaend uintptr var racearenaend uintptr
func racefuncenter(uintptr) func racefuncenter(callpc uintptr)
func racefuncenterfp() func racefuncenterfp(fp uintptr)
func racefuncexit() func racefuncexit()
func raceread(uintptr) func raceread(addr uintptr)
func racewrite(uintptr) func racewrite(addr uintptr)
func racereadrange(addr, size uintptr) func racereadrange(addr, size uintptr)
func racewriterange(addr, size uintptr) func racewriterange(addr, size uintptr)
func racereadrangepc1(uintptr, uintptr, uintptr) func racereadrangepc1(addr, size, pc uintptr)
func racewriterangepc1(uintptr, uintptr, uintptr) func racewriterangepc1(addr, size, pc uintptr)
func racecallbackthunk(uintptr) func racecallbackthunk(uintptr)
// racecall allows calling an arbitrary function f from C race runtime // racecall allows calling an arbitrary function f from C race runtime
// with up to 4 uintptr arguments. // with up to 4 uintptr arguments.
func racecall(*byte, uintptr, uintptr, uintptr, uintptr) func racecall(fn *byte, arg0, arg1, arg2, arg3 uintptr)
// checks if the address has shadow (i.e. heap or data/bss) // checks if the address has shadow (i.e. heap or data/bss)
//go:nosplit //go:nosplit
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment