]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/internal/goobj2, cmd/link: experiment new aux symbol accessors
authorCherry Zhang <cherryyz@google.com>
Fri, 6 Mar 2020 06:15:07 +0000 (01:15 -0500)
committerCherry Zhang <cherryyz@google.com>
Mon, 16 Mar 2020 17:33:43 +0000 (17:33 +0000)
commit8a074fa275261a3dd1690f81e4fa6c45bdbb0471
treed97d31b8473df5b991ba28450e8885e098c0a598
parent8e100a05a5d72c2f2b079d8791edf700c612e45e
[dev.link] cmd/internal/goobj2, cmd/link: experiment new aux symbol accessors

Following the previous CLs, do the same for aux symbols. This has
some small speedup:

(linking cmd/compile)
Dostkcheck    41.0ms ± 1%    38.6ms ± 1%    -6.00%  (p=0.008 n=5+5)

Change-Id: Id62b2fc9e4ef1be92e60e4c03faec0a953eee94e
Reviewed-on: https://go-review.googlesource.com/c/go/+/222303
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/internal/goobj2/objfile.go
src/cmd/internal/goobj2/objfile_test.go
src/cmd/link/internal/ld/deadcode2.go
src/cmd/link/internal/loader/loader.go