]> Cypherpunks repositories - gostls13.git/commit
runtime: add //go:cgo_unsafe_args to AIX syscallX functions
authorClément Chigot <clement.chigot@atos.net>
Fri, 12 Apr 2019 12:23:13 +0000 (14:23 +0200)
committerIan Lance Taylor <iant@golang.org>
Fri, 12 Apr 2019 17:01:51 +0000 (17:01 +0000)
commit8c7564deadedda87097e0eedd3e8f85bcd895ff0
tree97de611319c8649935094044a4918c3df758bd48
parent480df2c2b4bc668e6b3a9d2f9ade1593da875be9
runtime: add //go:cgo_unsafe_args to AIX syscallX functions

On AIX, syscallX functions are using the first argument to retrieve the
next arguments when calling asmcgocall. Therefore,//go:cgo_unsafe_args
is needed.

Change-Id: I7fe0fbf0c961250a6573c66a8b0eb897dff94bfe
Reviewed-on: https://go-review.googlesource.com/c/go/+/171723
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/os2_aix.go