aboutsummaryrefslogtreecommitdiff
path: root/src/debug
diff options
context:
space:
mode:
authorCherry Zhang <cherryyz@google.com>2021-03-12 23:21:09 -0500
committerCherry Zhang <cherryyz@google.com>2021-03-16 23:14:54 +0000
commit7a1e963058460d4136603b86386f2bae6fe0d5f2 (patch)
tree2f1616a4213dfbb436135d4389e63d621f581b41 /src/debug
parentdc1556eaef871074895ed9fdf6028475d53235be (diff)
downloadgo-7a1e963058460d4136603b86386f2bae6fe0d5f2.tar.xz
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>
Diffstat (limited to 'src/debug')
0 files changed, 0 insertions, 0 deletions