diff options
author | Jeremy Quirke <qjeremy@uber.com> | 2023-12-02 10:03:13 +0000 |
---|---|---|
committer | Gopher Robot <gobot@golang.org> | 2024-03-23 04:28:32 +0000 |
commit | c2c4a32f9e57ac9f7102deeba8273bcd2b205d3c (patch) | |
tree | aaf4559600f000e3c8e4ebcbe8c5efc6436044af /test | |
parent | 83a6c13e7344394d32d4114c3504ffecaae37b1e (diff) | |
download | go-c2c4a32f9e57ac9f7102deeba8273bcd2b205d3c.tar.gz go-c2c4a32f9e57ac9f7102deeba8273bcd2b205d3c.zip |
cmd/link: remove objIdx structure
This indirection appears to be unnecessary for linking or linker debugging, and therefore hinders readability.
Since all *oReaders are added to loader.objs *only* via the Preload -> addObj path, before any symbols are examined, there is no possible way the "i" member of this structure is still useful; and is likely a remnant of an earlier design.
Change-Id: Icd880f40bf3299bf1aa0a14cf217268e49ee90c5
GitHub-Last-Rev: dd2d512cbe99a551585fc9f895eca28a5bfde21b
GitHub-Pull-Request: golang/go#57460
Reviewed-on: https://go-review.googlesource.com/c/go/+/459456
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: qiulaidongfeng <2645477756@qq.com>
Reviewed-by: Than McIntosh <thanm@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions