aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/stack.go
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2016-05-25 22:59:19 -0400
committerAustin Clements <austin@google.com>2016-05-26 13:54:02 +0000
commitadff422779709c83db91700fdcc0a0bd5dee6a21 (patch)
tree4adc24e8fc466c8e6dc6da599ef01cda4aed5707 /src/runtime/stack.go
parentd9557523c2febc29ad3ecab8b1a4358abd709b30 (diff)
downloadgo-adff422779709c83db91700fdcc0a0bd5dee6a21.tar.xz
cmd/link/internal/ld: fix DWARF offsets with GOEXPERIMENT=framepointer
The offsets computed by the DWARF expressions for local variables currently don't account for the extra stack slot used by the frame pointer when GOEXPERIMENT=framepointer is enabled. Fix this by adding the extra stack slot to the offset. This fixes TestGdbPython with GOEXPERIMENT=framepointer. Updates #15840. Change-Id: I1b2ebb2750cd22266f4a89ec8d9e8bfa05fabd19 Reviewed-on: https://go-review.googlesource.com/23458 Run-TryBot: Austin Clements <austin@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Russ Cox <rsc@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/stack.go')
0 files changed, 0 insertions, 0 deletions