Source file src/syscall/ptrace_darwin.go
1 // Copyright 2020 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 //go:build !ios 6 7 package syscall 8 9 // Nosplit because it is called from forkAndExecInChild. 10 // 11 //go:nosplit 12 func ptrace(request int, pid int, addr uintptr, data uintptr) error { 13 return ptrace1(request, pid, addr, data) 14 } 15