diff options
| author | Keith Randall <khr@golang.org> | 2025-10-07 07:58:50 -0700 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2025-10-07 08:21:14 -0700 |
| commit | c938051dd0b80a5c60572d6807270d06ca685d2e (patch) | |
| tree | c4e69ab40d336c192c7cb7ec0a5f50ed54f97d80 /src/runtime/testdata | |
| parent | 64699542031b994ec4fdb6de887a94b69a372f9b (diff) | |
| download | go-c938051dd0b80a5c60572d6807270d06ca685d2e.tar.xz | |
Revert "cmd/compile: redo arm64 LR/FP save and restore"
This reverts commit 719dfcf8a8478d70360bf3c34c0e920be7b32994.
Reason for revert: Causing crashes.
Change-Id: I0b8526dd03d82fa074ce4f97f1789eeac702b3eb
Reviewed-on: https://go-review.googlesource.com/c/go/+/709755
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: David Chase <drchase@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Keith Randall <khr@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'src/runtime/testdata')
| -rw-r--r-- | src/runtime/testdata/testprog/badtraceback.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/runtime/testdata/testprog/badtraceback.go b/src/runtime/testdata/testprog/badtraceback.go index 36575f765d..455118a543 100644 --- a/src/runtime/testdata/testprog/badtraceback.go +++ b/src/runtime/testdata/testprog/badtraceback.go @@ -41,11 +41,6 @@ func badLR2(arg int) { if runtime.GOARCH == "ppc64" || runtime.GOARCH == "ppc64le" { lrOff = 32 // FIXED_FRAME or sys.MinFrameSize } - if runtime.GOARCH == "arm64" { - // skip 8 bytes at bottom of parent frame, then point - // to the 8 bytes of the saved PC at the top of the frame. - lrOff = 16 - } lrPtr := (*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&arg)) - lrOff)) *lrPtr = 0xbad |
