aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/json/encode.go
diff options
context:
space:
mode:
authorMichael Anthony Knyszek <mknyszek@google.com>2023-08-28 19:26:46 +0000
committerMichael Knyszek <mknyszek@google.com>2023-08-28 21:36:31 +0000
commitf7a87e32997345b7acaabbf725d1b210e1cfe327 (patch)
tree64e3aa1d3c1cd9bd5a7ad6dfb15b8fb5848d786b /src/encoding/json/encode.go
parent38db2df02dbe1edbdb586118d16ebdbf20180a95 (diff)
downloadgo-f7a87e32997345b7acaabbf725d1b210e1cfe327.tar.xz
runtime: fix bp restoration in panic recovery for arm64
Previously, the frame pointer wouldn't be restored at all, which could cause panics during frame pointer unwinding. As of CL 516157, the frame pointer is restored, but it's restored incorrectly on arm64: on arm64, the frame pointer points one word below SP, but here it's one below panic.fp which is the stack pointer of the caller's frame (nothing to do with the architectural bp). For #61766. Change-Id: I86504b85a4d741df5939b51c914d9e7c8d6edaad Reviewed-on: https://go-review.googlesource.com/c/go/+/523697 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com> Run-TryBot: Michael Knyszek <mknyszek@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/encoding/json/encode.go')
0 files changed, 0 insertions, 0 deletions