]> Cypherpunks repositories - gostls13.git/commit
runtime: mark sigtramp as TOPFRAME on the rest of unix
authorMichael Pratt <mpratt@google.com>
Thu, 28 Apr 2022 16:58:32 +0000 (12:58 -0400)
committerGopher Robot <gobot@golang.org>
Thu, 28 Apr 2022 23:16:44 +0000 (23:16 +0000)
commitcb6fc99b32cd5ec80e98f0eaec18bcfffba572ca
treeb898ab9c094c80badf50f2774e046d1a5a55868c
parentc90a19a7601a201ac54be352608d46365adc0095
runtime: mark sigtramp as TOPFRAME on the rest of unix

This extends CL 402190 from Linux to the rest of the Unix OSes.

Marking sigtramp as TOPFRAME allows gentraceback to stop tracebacks at
the end of a signal handler, since there is not much beyond sigtramp.

Change-Id: I8b7f5d55d41889f59c0a79c65351b9b0b2d77717
Reviewed-on: https://go-review.googlesource.com/c/go/+/402934
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Austin Clements <austin@google.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Michael Pratt <mpratt@google.com>
18 files changed:
src/runtime/sys_aix_ppc64.s
src/runtime/sys_darwin_amd64.s
src/runtime/sys_darwin_arm64.s
src/runtime/sys_dragonfly_amd64.s
src/runtime/sys_freebsd_386.s
src/runtime/sys_freebsd_amd64.s
src/runtime/sys_freebsd_arm.s
src/runtime/sys_freebsd_arm64.s
src/runtime/sys_netbsd_386.s
src/runtime/sys_netbsd_amd64.s
src/runtime/sys_netbsd_arm.s
src/runtime/sys_netbsd_arm64.s
src/runtime/sys_openbsd_386.s
src/runtime/sys_openbsd_amd64.s
src/runtime/sys_openbsd_arm.s
src/runtime/sys_openbsd_arm64.s
src/runtime/sys_openbsd_mips64.s
src/runtime/sys_solaris_amd64.s