From: Ian Lance Taylor Date: Fri, 19 Jan 2018 04:09:55 +0000 (+0000) Subject: runtime: add go:noescape declaration for Solaris X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=549e4febc34ae8ef2ef13f621e7fe69cb73e1aee;p=gcc.git runtime: add go:noescape declaration for Solaris Patch by Rainer Orth. Reviewed-on: https://go-review.googlesource.com/88376 From-SVN: r256872 --- diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE index 93e7215271e..1a51e104084 100644 --- a/gcc/go/gofrontend/MERGE +++ b/gcc/go/gofrontend/MERGE @@ -1,4 +1,4 @@ -925635f067d40d30acf565b620cc859ee7cbc990 +6b4f1391e2cd637fa5ed797bb3ab43d9ede61997 The first line of this file holds the git revision number of the last merge done from the gofrontend repository. diff --git a/libgo/go/runtime/netpoll_solaris.go b/libgo/go/runtime/netpoll_solaris.go index e1e73857f40..a960e93b8bf 100644 --- a/libgo/go/runtime/netpoll_solaris.go +++ b/libgo/go/runtime/netpoll_solaris.go @@ -84,6 +84,7 @@ func port_associate(port, source int32, object uintptr, events uint32, user uint //extern port_dissociate func port_dissociate(port, source int32, object uintptr) int32 +//go:noescape //extern port_getn func port_getn(port int32, evs *portevent, max uint32, nget *uint32, timeout *timespec) int32