]> Cypherpunks repositories - gostls13.git/commit
runtime: refactor test for pushing sigpanic frame
authorAustin Clements <austin@google.com>
Wed, 31 Jan 2018 22:34:22 +0000 (17:34 -0500)
committerAustin Clements <austin@google.com>
Tue, 13 Feb 2018 21:01:25 +0000 (21:01 +0000)
commit615d44c287a9c8a5f1062dd24ba341d806abc944
tree23cb45d41b62fcd1c539ae067b33aadb05606031
parentb1679e4d03268a6792e6b8d573ac31080d9d9baf
runtime: refactor test for pushing sigpanic frame

This logic is duplicated in all of the preparePanic functions. Pull it
out into one architecture-independent function.

Change-Id: I7ef4e78e3eda0b7be1a480fb5245fc7424fb2b4e
Reviewed-on: https://go-review.googlesource.com/91255
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/panic.go
src/runtime/signal_386.go
src/runtime/signal_amd64x.go
src/runtime/signal_arm.go
src/runtime/signal_arm64.go
src/runtime/signal_linux_s390x.go
src/runtime/signal_mips64x.go
src/runtime/signal_mipsx.go
src/runtime/signal_ppc64x.go