1
0
mirror of https://github.com/golang/go synced 2024-11-11 18:21:40 -07:00
go/misc
Cherry Mui eb75219438 [release-branch.go1.17] cmd/link: mark unexported methods for plugins
When plugin is used, we already mark all exported methods
reachable. However, when the plugin and the host program share
a common package, an unexported method could also be reachable
from both the plugin and the host via interfaces. We need to mark
them as well.

Fixes #51736.
Updates #51621.

Change-Id: I1a70d3f96b66b803f2d0ab14d00ed0df276ea500
Reviewed-on: https://go-review.googlesource.com/c/go/+/393365
Trust: Cherry Mui <cherryyz@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
(cherry picked from commit 91631bc7e0)
Reviewed-on: https://go-review.googlesource.com/c/go/+/397484
2022-04-04 18:02:38 +00:00
..
android all: update references to symbols moved from io/ioutil to io 2021-04-05 17:51:15 +00:00
arm
cgo [release-branch.go1.17] cmd/link: mark unexported methods for plugins 2022-04-04 18:02:38 +00:00
chrome/gophertool docs: fix case of GitHub 2021-03-05 02:35:21 +00:00
ios all: update references to symbols moved from io/ioutil to io 2021-04-05 17:51:15 +00:00
linkcheck all: update references to symbols moved from io/ioutil to io 2021-04-05 17:51:15 +00:00
reboot all: update references to symbols moved from io/ioutil to io 2021-04-05 17:51:15 +00:00
swig
trace all: use HTML5 br tags 2021-03-13 03:38:42 +00:00
wasm [release-branch.go1.17] cmd/link: increase reserved space for passing env on wasm 2021-10-28 18:01:34 +00:00
editors
go.mod