go/misc/cgo/testplugin/src
David Crawshaw 24e4a128c9 cmd/link: type symbol name mangling for plugins
Moves type symbol name mangling out of the object reader
and into a separate pass. Requires some care, as changing
the name of a type may require dealing with duplicate
symbols for the first time.

Disables DWARF for both plugins and programs that use plugin.Open,
because type manging is currently incompatible with the go.info.*
symbol generator in cmd/link. (It relies on the symbol names to
find type information.) A future fix for this would be moving the
go.info.* generation into the compiler, with the logic we use
for generating the type.* symbols.

Fixes #19529

Change-Id: I75615f8bdda86ff9e767e536d9aa36e15c194098
Reviewed-on: https://go-review.googlesource.com/67312
Run-TryBot: David Crawshaw <crawshaw@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2017-10-05 09:51:31 +00:00
..
common
host runtime, plugin: error not throw on duplicate open 2017-09-09 16:26:33 +00:00
iface misc/cgo/testplugin: test that types and itabs are unique 2017-01-13 17:31:33 +00:00
iface_a misc/cgo/testplugin: test that types and itabs are unique 2017-01-13 17:31:33 +00:00
iface_b misc/cgo/testplugin: test that types and itabs are unique 2017-01-13 17:31:33 +00:00
iface_i misc/cgo/testplugin: test that types and itabs are unique 2017-01-13 17:31:33 +00:00
issue18584 misc/cgo/testplugin: add test for issue 18584 2017-09-29 22:10:22 +00:00
issue18676 runtime: for plugins, don't add duplicate itabs 2017-01-17 22:37:19 +00:00
issue19418 cmd/link: support -X values for main.* in plugins 2017-10-04 00:46:06 +00:00
issue19529 cmd/link: type symbol name mangling for plugins 2017-10-05 09:51:31 +00:00
issue19534 plugin: resolve plugin import path issue 2017-04-26 00:54:54 +00:00
plugin1 cmd/go: pass plugin package name to compile -p 2017-09-01 18:27:59 +00:00
plugin2 cmd/go: pass plugin package name to compile -p 2017-09-01 18:27:59 +00:00
sub/plugin1 cmd/compile: write type symbols referenced in ptabs 2016-11-03 14:07:34 +00:00