]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: improve sigtramp on aix/ppc64 to handle SIGPROF
authorClément Chigot <clement.chigot@atos.net>
Mon, 25 Mar 2019 09:26:44 +0000 (10:26 +0100)
committerIan Lance Taylor <iant@golang.org>
Tue, 26 Mar 2019 20:04:42 +0000 (20:04 +0000)
commitb5cf035d1ca21ee4bf799c6d97b2759471b76483
tree186ed54996563dae3e6e7716181e92c17c01f105
parente007916cea969c4d5917da931413fba4eb43e8f6
runtime: improve sigtramp on aix/ppc64 to handle SIGPROF

R14, R15 must be saved in sigtramp because they might be modified by Go
code when a SIGPROF occurs.

Fixes #28555

Change-Id: I573541f108d7d6aac8e60d33c649e5db943f3ef5
Reviewed-on: https://go-review.googlesource.com/c/go/+/169117
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/crash_cgo_test.go
src/runtime/crash_test.go
src/runtime/os_aix.go
src/runtime/pprof/pprof_test.go
src/runtime/pprof/proto_test.go
src/runtime/proc.go
src/runtime/sys_aix_ppc64.s