]> Cypherpunks repositories - gostls13.git/commit
syscall: restore nosplit for ptrace1 on Darwin
authorCherry Zhang <cherryyz@google.com>
Tue, 27 Apr 2021 14:54:09 +0000 (10:54 -0400)
committerCherry Zhang <cherryyz@google.com>
Tue, 27 Apr 2021 17:18:15 +0000 (17:18 +0000)
commit222101549a1b0d9810e2069f776c92b6807a739d
tree61b31225d78a434a848f7015df58036cc566b1ed
parentcde6a675bccb95f0660e302965065eeef6a68128
syscall: restore nosplit for ptrace1 on Darwin

ptrace1 must be nosplit because it is called from
forAndExecInChild. It was marked nosplit in the generated code
but not in the generator. CL 313230 regenerated the code and lost
the nosplit mark. This CL restores it.

Change-Id: I4645d83650f1818bed3cb650328bba97074b6b2d
Reviewed-on: https://go-review.googlesource.com/c/go/+/314249
Trust: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/syscall/mksyscall.pl
src/syscall/zsyscall_darwin_amd64.go
src/syscall/zsyscall_darwin_arm64.go