aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/link/internal/ld/deadcode.go
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2023-12-12 20:40:33 -0800
committerKeith Randall <khr@golang.org>2024-02-08 01:38:11 +0000
commite0ee5b1afa4d6b53d80fbba1195fe148b7505d99 (patch)
treeaf8546554611834334cc329770fc96ec279bfe21 /src/cmd/link/internal/ld/deadcode.go
parentcde38c966dad075c4c24694d4f02d71de3ab957a (diff)
downloadgo-e0ee5b1afa4d6b53d80fbba1195fe148b7505d99.tar.xz
cmd/compile: move runtime.itab to internal/abi.ITab
Change-Id: I44293452764dc4bc4de8d386153c6402a9cbe409 Reviewed-on: https://go-review.googlesource.com/c/go/+/549435 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: David Chase <drchase@google.com> Reviewed-by: Than McIntosh <thanm@google.com>
Diffstat (limited to 'src/cmd/link/internal/ld/deadcode.go')
-rw-r--r--src/cmd/link/internal/ld/deadcode.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/link/internal/ld/deadcode.go b/src/cmd/link/internal/ld/deadcode.go
index 70b4a7ca30..de4395d5df 100644
--- a/src/cmd/link/internal/ld/deadcode.go
+++ b/src/cmd/link/internal/ld/deadcode.go
@@ -201,7 +201,7 @@ func (d *deadcodePass) flood() {
rs := r.Sym()
if d.ldr.IsItab(rs) {
// This relocation can also point at an itab, in which case it
- // means "the _type field of that itab".
+ // means "the Type field of that itab".
rs = decodeItabType(d.ldr, d.ctxt.Arch, rs)
}
if !d.ldr.IsGoType(rs) && !d.ctxt.linkShared {