1
0
mirror of https://github.com/golang/go synced 2024-09-30 02:14:29 -06:00
go/misc/cgo/testplugin/testdata
Cherry Zhang 7a1e963058 cmd/compile, cmd/link: dynamically export writable static tmps
Static tmps are private to a package, but with plugins a package
can be shared among multiple DSOs. They need to have a consistent
view of the static tmps, especially for writable ones. So export
them. (Read-only static tmps have the same values anyway, so it
doesn't matter. Also Mach-O doesn't support dynamically exporting
read-only symbols anyway.)

Fixes #44956.

Change-Id: I921e25b7ab73cd5d5347800eccdb7931e3448779
Reviewed-on: https://go-review.googlesource.com/c/go/+/301793
Trust: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
2021-03-16 23:14:54 +00:00
..
checkdwarf
common
host
iface
iface_a
iface_b
iface_i
issue18584
issue18676
issue19418
issue19529
issue19534
issue22175
issue22295.pkg
issue24351
issue25756
issue44956 cmd/compile, cmd/link: dynamically export writable static tmps 2021-03-16 23:14:54 +00:00
method
method2 all: run gofmt 2021-03-15 21:49:19 +00:00
plugin1
plugin2
sub/plugin1
unnamed1
unnamed2