go/misc/cgo/testplugin
Cherry Zhang 86954d5246 cmd/compile: mark plugin-exported types as used in interface
Plugin exports symbols as interfaces. Mark their types as used in
interfaces, so their methods will be kept alive by the linker.

Fixes #42579.

Change-Id: If1b5aacc21510c20c25f88bb131bca61db6f1d56
Reviewed-on: https://go-review.googlesource.com/c/go/+/269819
Trust: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
2020-11-13 22:01:37 +00:00
..
altpath/testdata misc/cgo/testplugin: convert test.bash to Go and fix in module mode 2019-02-24 00:36:13 +00:00
testdata cmd/compile: mark plugin-exported types as used in interface 2020-11-13 22:01:37 +00:00
overlaydir_test.go misc: remove use of relative directories in overlayDir functions 2019-11-25 16:26:15 +00:00
plugin_test.go cmd/compile: mark plugin-exported types as used in interface 2020-11-13 22:01:37 +00:00