]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: fix windows/arm64 callbackasm1 for frame pointer hack
authorRuss Cox <rsc@golang.org>
Tue, 20 Apr 2021 18:05:49 +0000 (14:05 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 23 Apr 2021 21:43:08 +0000 (21:43 +0000)
commita25d1d45d968253f0b257cca9d57619a5af248c9
treeef39c0ec7bbbb4b1c15dcc097b97f53d39790207
parent16330817aa6588651a09df03b556091c16052ce6
runtime: fix windows/arm64 callbackasm1 for frame pointer hack

Fixes the previously failing TestStdcallAndCDeclCallbacks
for the 9+ argument case.

The last time this code passed, the invisible frame pointer
below SP was apparently not enabled on windows/arm64.

Change-Id: Ifc3064e894b2f39d6410f3be51c17309ebab08a4
Reviewed-on: https://go-review.googlesource.com/c/go/+/312042
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/runtime/sys_windows_arm64.s