]> Cypherpunks repositories - gostls13.git/commit
runtime: windows/arm fix tracebacks printed from sigpanic
authorJordan Rhee <jordanrh@microsoft.com>
Wed, 21 Nov 2018 22:04:29 +0000 (14:04 -0800)
committerAustin Clements <austin@google.com>
Mon, 26 Nov 2018 19:24:54 +0000 (19:24 +0000)
commit9ab2ffe8e92f9660cbde1a18921ae864c64f280b
tree9a2ea5369f179ed20deb01c77689abe12da692d4
parent9fe9853ae5641eda4cfa58015bd0bcedb99c12cb
runtime: windows/arm fix tracebacks printed from sigpanic

The exception handler modifies the stack and continuation context so
it looks like the faulting code calls sigpanic() directly. The call was
not set up correctly on ARM, because it did not handle the link register
correctly. This change handles the link register correctly for ARM.

Updates #28854

Change-Id: I7ccf838adfc05cd968a5edd7d19ebba6a2478360
Reviewed-on: https://go-review.googlesource.com/c/150957
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/runtime/defs_windows_386.go
src/runtime/defs_windows_amd64.go
src/runtime/defs_windows_arm.go
src/runtime/signal_windows.go