commit | f687831e4cfa06d19533d47ae93c0451bd1ca688 | [log] [tgz] |
---|---|---|
author | zhouguangyuan <zhouguangyuan.xian@gmail.com> | Thu Sep 16 02:10:17 2021 +0800 |
committer | Alexander Rakoczy <alex@golang.org> | Wed Oct 13 15:12:46 2021 +0000 |
tree | a5ea7f09d0b01c436f55cd46a686740f89bdc937 | |
parent | 0454d7346f4ca89261356d3f17da11ab5bc643c5 [diff] |
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>
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
Gopher image by Renee French, licensed under Creative Commons 3.0 Attributions license.
Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Official binary distributions are available at https://golang.org/dl/.
After downloading a binary release, visit https://golang.org/doc/install for installation instructions.
If a binary distribution is not available for your combination of operating system and architecture, visit https://golang.org/doc/install/source for source installation instructions.
Go is the work of thousands of contributors. We appreciate your help!
To contribute, please read the contribution guidelines at https://golang.org/doc/contribute.
Note that the Go project uses the issue tracker for bug reports and proposals only. See https://golang.org/wiki/Questions for a list of places to ask questions about the Go language.