From 6ef7fe9a483d3c886ef96194fed38954af0146e1 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 10 Dec 2025 21:41:57 -0800 Subject: 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 Auto-Submit: Ian Lance Taylor Reviewed-by: Dmitri Shuralyov Reviewed-by: Cherry Mui --- src/runtime/plugin.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/runtime/plugin.go') 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 -- cgit v1.3-5-g9baa