]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/internal/obj, cmd/link: add InlTree in new object files
authorCherry Zhang <cherryyz@google.com>
Tue, 8 Oct 2019 21:22:20 +0000 (17:22 -0400)
committerCherry Zhang <cherryyz@google.com>
Tue, 15 Oct 2019 18:56:08 +0000 (18:56 +0000)
commit6ba3ae9ca547f6078c51f871717f48746e93271a
tree0e3caf46109db0d3618073efa036dbbcb24e855a
parentdab05a04842e75126fdf880368c2e721485f8a09
[dev.link] cmd/internal/obj, cmd/link: add InlTree in new object files

Add InlTree to the FuncInfo aux symbol in new object files.

In the linker, change InlinedCall.Func from a Symbol to a string,
as we only use its Name. (There was a use of Func.File, but that
use is not correct anyway.) So we don't need to create a Symbol
if not necessary.

Change-Id: I38ce568ae0934cd9cb6d0b30599f1c8d75444fc9
Reviewed-on: https://go-review.googlesource.com/c/go/+/200098
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/internal/goobj/readnew.go
src/cmd/internal/goobj2/funcinfo.go
src/cmd/internal/obj/objfile2.go
src/cmd/internal/obj/sym.go
src/cmd/link/internal/ld/pcln.go
src/cmd/link/internal/objfile/objfile.go
src/cmd/link/internal/objfile/objfile2.go
src/cmd/link/internal/sym/symbol.go