mirror of https://github.com/golang/go.git
When build with "-linkshared", we can't tell if the interface method will be used or not. It can be used in shared library.
This CL backport this fix to 1.17.
Fixes #49086
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>
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| dep2 | ||
| dep3 | ||
| depBase | ||
| division | ||
| exe | ||
| exe2 | ||
| exe3 | ||
| execgo | ||
| explicit | ||
| gcdata | ||
| global | ||
| globallib | ||
| iface | ||
| iface_a | ||
| iface_b | ||
| iface_i | ||
| implicit | ||
| implicitcmd | ||
| issue25065 | ||
| issue30768 | ||
| issue39777 | ||
| issue44031 | ||
| issue47837 | ||
| trivial | ||