1
0
mirror of https://github.com/golang/go synced 2024-11-18 06:04:53 -07:00
go/misc/cgo/testplugin
David Crawshaw 8eb9fdaa01 cmd/compile: write type symbols referenced in ptabs
The exported symbol for a plugin can be the only reference to a
type in a program. In particular, "var F func()" will have
the type *func(), which is uncommon.

Fixes #17140

Change-Id: Ide2104edbf087565f5377374057ae54e0c00c57e
Reviewed-on: https://go-review.googlesource.com/29692
Run-TryBot: David Crawshaw <crawshaw@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
2016-11-03 14:07:34 +00:00
..
src cmd/compile: write type symbols referenced in ptabs 2016-11-03 14:07:34 +00:00
test.bash cmd/link: support plugins with no exported symbols 2016-11-01 20:56:30 +00:00