]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/link: write buildid to plugin
authorCherry Mui <cherryyz@google.com>
Wed, 26 Apr 2023 21:29:33 +0000 (17:29 -0400)
committerCherry Mui <cherryyz@google.com>
Fri, 28 Apr 2023 16:02:17 +0000 (16:02 +0000)
commit6c8ea391cf7f84f6861e26f27eef3bd8938cfb98
treec02bda3b894649eaeda1f7cde2485731d73e5286
parentff059add10d71fe13239cf893c0cca113de1fc21
cmd/link: write buildid to plugin

Currently, in plugin build mode we don't write the build ID. This
is disabled in CL 29394 since plugin is supported on Darwin. Maybe
it caused some problem with the Darwin dynamic linker. But it
seems no problem currently. Enabled it.

Fixes #59845.

Change-Id: I60589ffc7937e4d30055960d391cac1e7cd0cd42
Reviewed-on: https://go-review.googlesource.com/c/go/+/489457
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
misc/cgo/testplugin/plugin_test.go
src/cmd/link/internal/ld/data.go