diff options
author | Clément Chigot <clement.chigot@atos.net> | 2019-03-25 10:26:44 +0100 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2019-03-26 20:04:42 +0000 |
commit | b5cf035d1ca21ee4bf799c6d97b2759471b76483 (patch) | |
tree | 186ed54996563dae3e6e7716181e92c17c01f105 /src/runtime/crash_cgo_test.go | |
parent | e007916cea969c4d5917da931413fba4eb43e8f6 (diff) | |
download | go-b5cf035d1ca21ee4bf799c6d97b2759471b76483.tar.gz go-b5cf035d1ca21ee4bf799c6d97b2759471b76483.zip |
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>
Diffstat (limited to 'src/runtime/crash_cgo_test.go')
-rw-r--r-- | src/runtime/crash_cgo_test.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/runtime/crash_cgo_test.go b/src/runtime/crash_cgo_test.go index 07eba78c8a..af3c1f82a7 100644 --- a/src/runtime/crash_cgo_test.go +++ b/src/runtime/crash_cgo_test.go @@ -229,9 +229,6 @@ func TestCgoPanicDeadlock(t *testing.T) { } func TestCgoCCodeSIGPROF(t *testing.T) { - if runtime.GOOS == "aix" { - t.Skip("pprof not yet available on AIX (see golang.org/issue/28555)") - } t.Parallel() got := runTestProg(t, "testprogcgo", "CgoCCodeSIGPROF") want := "OK\n" |