aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/sys_linux_amd64.s
diff options
context:
space:
mode:
authorCherry Zhang <cherryyz@google.com>2021-02-02 18:25:39 -0500
committerCherry Zhang <cherryyz@google.com>2021-02-05 17:34:54 +0000
commit946351d5a27d7dc5550f579ddfec926790903fc5 (patch)
tree3b3a4f26a5b76cce8daf7b5a66099285ceee3633 /src/runtime/sys_linux_amd64.s
parent397a46a10a2cc8557e965af269915909cb5c0a80 (diff)
downloadgo-946351d5a27d7dc5550f579ddfec926790903fc5.tar.xz
[dev.regabi] runtime: zero X15 in racecall
racecall can be called in ABIInternal context (e.g. raceread calling racecalladdr calling racecall) without wrapper. racecall calls C code, which doesn't preserve our special registers. Set them explicitly in racecall upon returning from C. Change-Id: Ic990479c1fca6bb8a3b151325c7a89be8331a530 Reviewed-on: https://go-review.googlesource.com/c/go/+/289709 Trust: Cherry Zhang <cherryyz@google.com> Run-TryBot: Cherry Zhang <cherryyz@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Michael Knyszek <mknyszek@google.com> Reviewed-by: Jeremy Faller <jeremy@golang.org>
Diffstat (limited to 'src/runtime/sys_linux_amd64.s')
0 files changed, 0 insertions, 0 deletions