go/misc/cgo
zhouguangyuan f687831e4c cmd/link: disable weak reference in itab if build with "-linkshared"
When build with "-linkshared", we can't tell if the interface method will be used or not. It can be used in shared library.

Fixes #47873

Change-Id: Iba12812f199b7679cf2fd41a304268d6d6dd03c6
Reviewed-on: https://go-review.googlesource.com/c/go/+/350189
Reviewed-by: Cherry Mui <cherryyz@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Alexander Rakoczy <alex@golang.org>
2021-10-13 15:12:46 +00:00
..
errors all: use bytes.Cut, strings.Cut 2021-10-06 15:53:04 +00:00
fortran
gmp
life
nocgo
stdio
test cmd/cgo: update to handle ast.IndexListExpr 2021-10-07 18:02:14 +00:00
testasan
testcarchive
testcshared all: use bytes.Cut, strings.Cut 2021-10-06 15:53:04 +00:00
testgodefs
testplugin
testsanitizers all: use bytes.Cut, strings.Cut 2021-10-06 15:53:04 +00:00
testshared cmd/link: disable weak reference in itab if build with "-linkshared" 2021-10-13 15:12:46 +00:00
testsigfwd
testso
testsovar
testtls