]> Cypherpunks repositories - gostls13.git/commit
runtime: make racereadrange ABIinternal
authorKeith Randall <khr@golang.org>
Tue, 15 Mar 2022 20:03:39 +0000 (13:03 -0700)
committerKeith Randall <khr@google.com>
Mon, 9 May 2022 16:59:57 +0000 (16:59 +0000)
commitf566fe3910593de96b6ab17abc906934de78d27c
tree642bd9cf2975d1d4389cff2c7cf283a5c4e70a17
parent9ae7dc304082cc36d0d587c5edcc899497f2d06f
runtime: make racereadrange ABIinternal

CL 266638 marked racewriterange (and some other race functions) as
ABIinternal but missed racereadrange.

arm64 and ppc64le (the other two register ABI platforms at the moment)
already have racereadrange marked as such.

The other two instrumented calls are to racefuncenter/racefuncexit.
Do you think they would need this treatment as well? arm64 already does,
but amd64 and ppc64le do not.

Fixes #51459

Change-Id: I3f54e1298433b6d67bfe18120d9f86205ff66a73
Reviewed-on: https://go-review.googlesource.com/c/go/+/393154
Reviewed-by: Than McIntosh <thanm@google.com>
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
src/runtime/race_amd64.s