]> Cypherpunks repositories - gostls13.git/commit
runtime: correct isAbortPC check in isgoexception
authorAlex Brainman <alex.brainman@gmail.com>
Tue, 4 Dec 2018 01:05:11 +0000 (12:05 +1100)
committerAlex Brainman <alex.brainman@gmail.com>
Wed, 5 Dec 2018 02:56:47 +0000 (02:56 +0000)
commit9be01c2eab928f9899c67eb7bcdb164728f85a2c
treef481e1523c6b01b099b08754593c424ebf543675
parenta7af474359179062a82429da927407d2d5395acc
runtime: correct isAbortPC check in isgoexception

The expression passed into isAbortPC call was written specifically
for windows/amd64 and windows/386 runtime.abort implementation.
Adjust the code, so it also works for windows/arm.

Fixes #29050

Change-Id: I3dc8ddd08031f34115396429eff512827264826f
Reviewed-on: https://go-review.googlesource.com/c/152357
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/signal_windows.go