go/misc/cgo/testplugin/testdata
Cherry Mui 5ef9566694 [release-branch.go1.16] cmd/link: force eager binding when using plugins on darwin
When building/using plugins on darwin, we need to use flat
namespace so the same symbol from the main executable and the
plugin can be resolved to the same address. Apparently, when using
flat namespace the dynamic linker can hang at forkExec when
resolving a lazy binding. Work around it by forcing early bindings.

Updates #38824.
Fixes #50245.

Change-Id: I983aa0a0960b15bf3f7871382e8231ee244655f4
Reviewed-on: https://go-review.googlesource.com/c/go/+/372798
Trust: Cherry Mui <cherryyz@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
(cherry picked from commit c5fee935bb)
Reviewed-on: https://go-review.googlesource.com/c/go/+/373095
2022-02-07 20:38:28 +00:00
..
checkdwarf
common
forkexec [release-branch.go1.16] cmd/link: force eager binding when using plugins on darwin 2022-02-07 20:38:28 +00:00
host
iface
iface_a
iface_b
iface_i
issue18584
issue18676
issue19418
issue19529
issue19534
issue22175
issue22295.pkg
issue24351
issue25756
issue44956 [release-branch.go1.16] cmd/compile, cmd/link: dynamically export writable static tmps 2021-03-25 18:33:03 +00:00
method cmd/compile: mark plugin-exported types as used in interface 2020-11-13 22:01:37 +00:00
method2 [release-branch.go1.16] cmd/link: handle types as converted to interface when dynlink 2021-03-01 22:31:33 +00:00
plugin1
plugin2
sub/plugin1
unnamed1
unnamed2