syscall: mark C syscall functions noescape
authorIan Lance Taylor <ian@gcc.gnu.org>
Wed, 16 Jan 2019 22:38:33 +0000 (22:38 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 16 Jan 2019 22:38:33 +0000 (22:38 +0000)
commita6804ea9293fc10c85568c475ecdb402106fce8c
tree1a1cf662c1c95e2cf4823bb2d6923c78490ecf9d
parent07e1534f44b26a1acb0b3393aae7d1a4a90fa942
syscall: mark C syscall functions noescape

    Many C syscall functions take pointer arguments. The pointers
    don't escape in the C functions. Mark the C functions noescape so
    calling them doesn't need allocation.

    Reviewed-on: https://go-review.googlesource.com/c/158158

From-SVN: r267989
gcc/go/gofrontend/MERGE
libgo/go/syscall/exec_linux.go
libgo/go/syscall/mksyscall.awk