1
0
mirror of https://github.com/golang/go synced 2024-11-08 06:26:19 -07:00
go/misc/cgo/testplugin/src
Keith Randall 9d4215311b runtime: identify special functions by flag instead of address
When there are plugins, there may not be a unique copy of runtime
functions like goexit, mcall, etc.  So identifying them by entry
address is problematic.  Instead, keep track of each special function
using a field in the symbol table.  That way, multiple copies of
the same runtime function will be treated identically.

Fixes #24351
Fixes #23133

Change-Id: Iea3232df8a6af68509769d9ca618f530cc0f84fd
Reviewed-on: https://go-review.googlesource.com/100739
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2018-03-15 17:31:57 +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
issue22175 cmd/link, runtime: put hasmain bit in moduledata 2017-10-13 01:13:33 +00:00
issue22295.pkg cmd/link, plugin: always encode path 2017-10-26 15:08:37 +00:00
issue24351 runtime: identify special functions by flag instead of address 2018-03-15 17:31:57 +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