1
0
mirror of https://github.com/golang/go synced 2024-11-07 08:46:19 -07:00
go/misc/cgo/testplugin/src
David Crawshaw 6355d6c7e2 cmd/link, plugin: always encode path
Both the linker and the plugin package were inconsistent
about when they applied the path encoding defined in
objabi.PathToPrefix. As a result, only some symbols from
a package path that required encoding were being found.

So always encoding the path.

Fixes #22295

Change-Id: Ife86c79ca20b2e9307008ed83885e193d32b7dc4
Reviewed-on: https://go-review.googlesource.com/72390
Run-TryBot: David Crawshaw <crawshaw@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2017-10-26 15:08:37 +00:00
..
common
host runtime, plugin: error not throw on duplicate open 2017-09-09 16:26:33 +00:00
iface
iface_a
iface_b
iface_i
issue18584 misc/cgo/testplugin: add test for issue 18584 2017-09-29 22:10:22 +00:00
issue18676
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
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
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