]> Cypherpunks repositories - gostls13.git/commit
[dev.link] move FuncID creation into the compiler/assembler
authorJeremy Faller <jeremy@golang.org>
Tue, 21 Jul 2020 19:53:30 +0000 (15:53 -0400)
committerJeremy Faller <jeremy@golang.org>
Mon, 3 Aug 2020 17:56:50 +0000 (17:56 +0000)
commit89cf569a45f035bae45553f399880b92ede65f38
treee84962ba6163a63a187d93b507f3626f56c452d3
parent847b9be3f62c7c93d3faf34577675e97176f6f7d
[dev.link] move FuncID creation into the compiler/assembler

Leaving creation of the funcID till the linker requires the linker to
load the function and file names into memory. Moving these into the
compiler/assembler prevents this.

This work is a step towards moving all func metadata into the compiler.

Change-Id: Iebffdc5a909adbd03ac263fde3f4c3d492fb1eac
Reviewed-on: https://go-review.googlesource.com/c/go/+/244024
Run-TryBot: Jeremy Faller <jeremy@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Austin Clements <austin@google.com>
src/cmd/compile/internal/gc/closure.go
src/cmd/internal/goobj2/funcinfo.go
src/cmd/internal/goobj2/objfile.go
src/cmd/internal/obj/link.go
src/cmd/internal/obj/objfile.go
src/cmd/internal/obj/objfile2.go
src/cmd/internal/obj/plist.go
src/cmd/internal/objabi/funcid.go
src/cmd/link/internal/ld/pcln.go
src/cmd/link/internal/loader/loader.go