aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/debug
diff options
context:
space:
mode:
authorCherry Zhang <cherryyz@google.com>2020-09-17 21:34:52 -0400
committerCherry Zhang <cherryyz@google.com>2020-09-18 14:36:22 +0000
commit789d77a87e5417c10377a9f9de07ec37c65048f2 (patch)
treebcb48cc3712b338a89aac72d480521e832d64094 /src/runtime/debug
parentbf9800c7931da96e2ddc8363955f43581265b95c (diff)
downloadgo-789d77a87e5417c10377a9f9de07ec37c65048f2.tar.xz
cmd/link: propagate UsedInIface through method descriptor
The linker prunes methods that are not directly reachable if the receiver type is never converted to interface. A type can be converted to interface using reflection through other types. The linker already takes this into consideration but it missed the case that the intermediate is a method descriptor. Handle this case. Change-Id: I590efc5da163c326db8d43583908a2ef67f65d9d Reviewed-on: https://go-review.googlesource.com/c/go/+/255858 Trust: Cherry Zhang <cherryyz@google.com> Run-TryBot: Cherry Zhang <cherryyz@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Than McIntosh <thanm@google.com> Reviewed-by: Jeremy Faller <jeremy@golang.org>
Diffstat (limited to 'src/runtime/debug')
0 files changed, 0 insertions, 0 deletions