commit | ee94431c133a90ca5c3c5ebbebcb019c60258dac | [log] [tgz] |
---|---|---|
author | Cherry Zhang <cherryyz@google.com> | Mon Jan 14 20:51:51 2019 -0500 |
committer | Ian Lance Taylor <iant@golang.org> | Wed Jan 16 22:37:59 2019 +0000 |
tree | 8bac07348b120a221013636c4a89fa7e85d7a114 | |
parent | 9a79c333e896ea49f6a708d459148074d29a2af6 [diff] |
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. Change-Id: Ifa5a5d0de51c4af9d1bb16b3fbfc166632ee2711 Reviewed-on: https://go-review.googlesource.com/c/158158 Reviewed-by: Ian Lance Taylor <iant@golang.org>