diff options
| author | Michael Pratt <mpratt@google.com> | 2022-04-28 12:58:32 -0400 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2022-04-28 23:16:44 +0000 |
| commit | cb6fc99b32cd5ec80e98f0eaec18bcfffba572ca (patch) | |
| tree | b898ab9c094c80badf50f2774e046d1a5a55868c /src/runtime/sys_aix_ppc64.s | |
| parent | c90a19a7601a201ac54be352608d46365adc0095 (diff) | |
| download | go-cb6fc99b32cd5ec80e98f0eaec18bcfffba572ca.tar.xz | |
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>
Diffstat (limited to 'src/runtime/sys_aix_ppc64.s')
| -rw-r--r-- | src/runtime/sys_aix_ppc64.s | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/sys_aix_ppc64.s b/src/runtime/sys_aix_ppc64.s index 217ebb8878..772f357ca9 100644 --- a/src/runtime/sys_aix_ppc64.s +++ b/src/runtime/sys_aix_ppc64.s @@ -101,7 +101,7 @@ GLOBL runtimeĀ·sigtramp(SB), NOPTR, $24 // This function must not have any frame as we want to control how // every registers are used. // TODO(aix): Implement SetCgoTraceback handler. -TEXT sigtramp<>(SB),NOSPLIT|NOFRAME,$0 +TEXT sigtramp<>(SB),NOSPLIT|NOFRAME|TOPFRAME,$0 MOVD LR, R0 MOVD R0, 16(R1) // initialize essential registers (just in case) |
