]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/internal/goobj2, cmd/link: add accessors for field of FuncInfo
authorCherry Zhang <cherryyz@google.com>
Tue, 25 Feb 2020 20:14:31 +0000 (15:14 -0500)
committerCherry Zhang <cherryyz@google.com>
Tue, 25 Feb 2020 20:34:34 +0000 (20:34 +0000)
commite00da38b81897d29857a6ce3eae01729da813fba
tree2279b09f8427f532b07ea561b8ed929d62eefebc
parent90799be8acdf9645b0da4ba78767af569d639767
[dev.link] cmd/internal/goobj2, cmd/link: add accessors for field of FuncInfo

Add accessors for fields of FuncInfo, so we don't have to read
the whole FuncInfo.

TODO: explore/experiment with an alternative idea -- splitting
FuncInfo to separate Aux symbols.

Change-Id: Ie4bc2613fd76d08fc63fd86956802920da63dd2f
Reviewed-on: https://go-review.googlesource.com/c/go/+/220979
Run-TryBot: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/internal/goobj2/funcinfo.go
src/cmd/link/internal/loader/loader.go