mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/internal/obj: un-embed FuncInfo field in LSym
Automated refactoring using github.com/mdempsky/unbed (to rewrite s.Foo to s.FuncInfo.Foo) and then gorename (to rename the FuncInfo field to just Func). Passes toolstash-check -all. Change-Id: I802c07a1239e0efea058a91a87c5efe12170083a Reviewed-on: https://go-review.googlesource.com/40670 Run-TryBot: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
This commit is contained in:
parent
dffe5ac9f2
commit
1747078695
23 changed files with 168 additions and 169 deletions
|
|
@ -318,8 +318,7 @@ type LSym struct {
|
|||
P []byte
|
||||
R []Reloc
|
||||
|
||||
// TODO(mdempsky): De-anonymize field.
|
||||
*FuncInfo
|
||||
Func *FuncInfo
|
||||
}
|
||||
|
||||
// A FuncInfo contains extra fields for STEXT symbols.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue