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:
Matthew Dempsky 2017-04-18 10:18:34 -07:00
parent dffe5ac9f2
commit 1747078695
23 changed files with 168 additions and 169 deletions

View file

@ -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.