]> Cypherpunks repositories - gostls13.git/commit
cmd/asm: require NOSPLIT for ABIInternal asm functions
authorThan McIntosh <thanm@google.com>
Tue, 13 Apr 2021 17:46:52 +0000 (13:46 -0400)
committerThan McIntosh <thanm@google.com>
Wed, 14 Apr 2021 16:59:08 +0000 (16:59 +0000)
commit25b25a9ed7fe8a543fd6c1f79c6a43d33f8eae68
tree68b4b7c7237e5fb5edb84a15629f266802a51dc4
parentef36e4fd0eec3283a43d03bc6bff7da4e5e03c06
cmd/asm: require NOSPLIT for ABIInternal asm functions

Change the assembler to enforce the requirement that ABIInternal
functions need to be NOSPLIT. At the moment all of the assembly
routines in the runtime that are defined as ABIInternal also
happen to be NOSPLIT, but this CL makes it mandatory.

Updates #40724.

Change-Id: Ief80d22de1782edb44b798fcde9aab8a93548722
Reviewed-on: https://go-review.googlesource.com/c/go/+/309789
Trust: Than McIntosh <thanm@google.com>
Run-TryBot: Than McIntosh <thanm@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/asm/internal/asm/asm.go
src/cmd/asm/internal/asm/pseudo_test.go