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 misc/cgo/fortran: avoid writing to $PWD 2019-11-20 22:37:23 +00:00
gmp all: gofmt more (but vendor, testdata, and top-level test directories) 2021-08-13 20:45:17 +00:00
life all: update references to symbols moved from io/ioutil to io 2021-04-05 17:51:15 +00:00
nocgo cmd/ld: really import runtime/cgo for external link 2014-05-20 21:36:50 -07:00
stdio all: update references to symbols moved from io/ioutil to io 2021-04-05 17:51:15 +00:00
test cmd/cgo: update to handle ast.IndexListExpr 2021-10-07 18:02:14 +00:00
testasan misc: log 'ok' from 'go run' tests on success 2019-11-25 16:43:27 +00:00
testcarchive all: simplify the spelling of Linux 2021-04-13 13:56:21 +00:00
testcshared all: use bytes.Cut, strings.Cut 2021-10-06 15:53:04 +00:00
testgodefs cmd/cgo: for godefs, don't let field prefix removal cause duplicates 2021-09-16 23:56:28 +00:00
testplugin misc/cgo/testplugin: skip TestIssue25756pie on darwin/arm64 builder 2021-05-20 01:22:28 +00:00
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 misc: log 'ok' from 'go run' tests on success 2019-11-25 16:43:27 +00:00
testso all: gofmt more (but vendor, testdata, and top-level test directories) 2021-08-13 20:45:17 +00:00
testsovar all: gofmt more (but vendor, testdata, and top-level test directories) 2021-08-13 20:45:17 +00:00
testtls all: gofmt more (but vendor, testdata, and top-level test directories) 2021-08-13 20:45:17 +00:00