]> Cypherpunks repositories - gostls13.git/commit
runtime: mark TestTracebackArgs test functions nosplit
authorCherry Mui <cherryyz@google.com>
Thu, 4 Nov 2021 20:53:30 +0000 (16:53 -0400)
committerCherry Mui <cherryyz@google.com>
Fri, 5 Nov 2021 16:51:14 +0000 (16:51 +0000)
commitc58417b97f2b8d16176ddd294ae4471f834ab4d6
tree1037bfb810d9c0e77547d9355203023c57266484
parentf249fa27a9117dd5986f35463fc6a1467ecc72bb
runtime: mark TestTracebackArgs test functions nosplit

The argument liveness tests expect outputs where a dead stack slot
has a poisoned value. If the test function is preempted at the
prologue, it will go with the morestack code path which will spill
all the argument registers. Mark them nosplit to avoid that.

Should fix #49354.

Change-Id: I3b13e72e925748687a53c494bfaa70f07d9496fa
Reviewed-on: https://go-review.googlesource.com/c/go/+/361211
Trust: Cherry Mui <cherryyz@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
src/runtime/traceback_test.go