]> Cypherpunks repositories - gostls13.git/commit
runtime: mark activeModules nosplit/nowritebarrier
authorIan Lance Taylor <iant@golang.org>
Fri, 4 Aug 2017 17:36:40 +0000 (10:36 -0700)
committerIan Lance Taylor <iant@golang.org>
Sat, 5 Aug 2017 18:05:41 +0000 (18:05 +0000)
commitf096b5b340f6e831cf80cd39cbf88d4656d232fa
tree1814c48b303450276e9b843f5f29e6a880b0c20e
parent3e3da5463302ff6f73a78e60fa7027d554095520
runtime: mark activeModules nosplit/nowritebarrier

The activeModules function is called by the cgo pointer checking code,
which is called by the write barrier (when GODEBUG=cgocheck=2), and as
such must be nosplit/nowritebarrier.

Fixes #21306

Change-Id: I57f2124f14de7f3872b2de9532abab15df95d45a
Reviewed-on: https://go-review.googlesource.com/53352
Reviewed-by: Austin Clements <austin@google.com>
misc/cgo/errors/ptr.go
src/runtime/symtab.go