diff options
| author | Ian Lance Taylor <iant@golang.org> | 2025-12-10 21:41:57 -0800 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2026-03-26 09:05:22 -0700 |
| commit | 6ef7fe9a483d3c886ef96194fed38954af0146e1 (patch) | |
| tree | 84c5883672126e6cb2fc19ed646041f4bc00e10b /src/runtime/plugin.go | |
| parent | b77fdc333aecc4691a0f637bd8a2600c879e342a (diff) | |
| download | go-6ef7fe9a483d3c886ef96194fed38954af0146e1.tar.xz | |
runtime, cmd/link: remove itablinks
Instead of keeping a separate list of pointers to itabs,
just walk through the itabs themselves.
For #6853
Change-Id: If030bd64fbd01d73b0bf8495f6c9826ed2e61568
Reviewed-on: https://go-review.googlesource.com/c/go/+/729201
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'src/runtime/plugin.go')
| -rw-r--r-- | src/runtime/plugin.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/runtime/plugin.go b/src/runtime/plugin.go index 49cf13cb64..1a49dd61c7 100644 --- a/src/runtime/plugin.go +++ b/src/runtime/plugin.go @@ -66,9 +66,7 @@ func plugin_lastmoduleinit() (path string, syms map[string]any, initTasks []*ini moduledataverify1(md) lock(&itabLock) - for _, i := range md.itablinks { - itabAdd(i) - } + addModuleItabs(md) unlock(&itabLock) // Build a map of symbol names to symbols. Here in the runtime |
