]> Cypherpunks repositories - gostls13.git/commit
runtime: define racefuncenter and racefuncexit as ABIInternal
authorCherry Mui <cherryyz@google.com>
Fri, 18 Feb 2022 00:43:49 +0000 (19:43 -0500)
committerCherry Mui <cherryyz@google.com>
Fri, 18 Feb 2022 18:46:44 +0000 (18:46 +0000)
commitd93cc8cb9639212ee674ecbc9149fb897dd8fd77
tree63d32446c0f6105561045e0abea2dfcb311e0b8a
parent20b177268fe6d5711a104e5fcd09b7b1ad6a561b
runtime: define racefuncenter and racefuncexit as ABIInternal

They are called from compiler instrumented code as ABIInternal.
Define them as ABIInternal to avoid the wrappers and save some
stack space, to avoid nosplit overflow in -race -N -l build.

For #51247.

Change-Id: Iadad7d6da8ac03780a7b02b03b004c52d34e020a
Reviewed-on: https://go-review.googlesource.com/c/go/+/386715
Trust: Cherry Mui <cherryyz@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/runtime/race_arm64.s