summaryrefslogtreecommitdiff
path: root/src/cmd/internal/obj/wasm/wasmobj.go
diff options
context:
space:
mode:
authorNick Ripley <nick.ripley@datadoghq.com>2023-04-03 09:54:53 -0400
committerMichael Knyszek <mknyszek@google.com>2023-04-05 18:16:00 +0000
commitc00e9285eae4599f6a123d0a355633379be998e8 (patch)
tree7603b322d83d889d9188d3293a1f029524b84002 /src/cmd/internal/obj/wasm/wasmobj.go
parent3202dafd4a4e9fb994fc2259f396cfeeb25c28ba (diff)
downloadgo-git-c00e9285eae4599f6a123d0a355633379be998e8.tar.gz
runtime: save frame pointer to the stack in signal handlers for arm64
When taking over the goroutine stack in the panic or preemption signal handlers on arm64, the frame pointer should be saved on the stack (like the link register) so that frame-pointer unwinding from a panic stack works properly. Otherwise, tests like TestStackWrapperStackPanic will fail with the frame pointer check in adjustframe (enabled with debugCheckBP) when checking the sigpanic frame. Updates #39524, #58432 Change-Id: I8b89e6fc4877af29b1b81e55e591e6398159855c Reviewed-on: https://go-review.googlesource.com/c/go/+/481635 Reviewed-by: Felix Geisendörfer <felix.geisendoerfer@datadoghq.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Nick Ripley <nick.ripley@datadoghq.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Michael Knyszek <mknyszek@google.com>
Diffstat (limited to 'src/cmd/internal/obj/wasm/wasmobj.go')
0 files changed, 0 insertions, 0 deletions