]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/mips: store LR before update SP in function prologue
authorCherry Zhang <cherryyz@google.com>
Fri, 21 Oct 2016 22:22:13 +0000 (18:22 -0400)
committerCherry Zhang <cherryyz@google.com>
Mon, 24 Oct 2016 22:39:15 +0000 (22:39 +0000)
commitb55cee1893283cc55e99fb041fc0067f56924926
tree148e1f3082e86944720f324034394557776ada61
parent0c02280fe0b4a178f78633721201f899e5213414
cmd/internal/obj/mips: store LR before update SP in function prologue

This prevents the traceback code from seeing a half-updated
stack frame when a profiling signal comes during the execution
of function prologue. Also fixes mips64x part of #17381.

Change-Id: Iec9683427e546e3648b2e8b1dde956d13f6eb938
Reviewed-on: https://go-review.googlesource.com/31721
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
src/cmd/internal/obj/mips/obj0.go