From 549e4febc34ae8ef2ef13f621e7fe69cb73e1aee Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 19 Jan 2018 04:09:55 +0000 Subject: [PATCH] runtime: add go:noescape declaration for Solaris Patch by Rainer Orth. Reviewed-on: https://go-review.googlesource.com/88376 From-SVN: r256872 --- gcc/go/gofrontend/MERGE | 2 +- libgo/go/runtime/netpoll_solaris.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 -- 2.30.2