]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/internal/objfile: read Go object file using goobj2 package
authorCherry Zhang <cherryyz@google.com>
Fri, 31 Jul 2020 00:49:29 +0000 (20:49 -0400)
committerCherry Zhang <cherryyz@google.com>
Tue, 11 Aug 2020 17:15:15 +0000 (17:15 +0000)
commit9559877543976f8e7b15ae02a7196c4f930fc371
treecfb69dcc4a81d16d03664d8f578b7544712a42b7
parenta8463c32823d451800aae14226c1e36481d692bc
[dev.link] cmd/internal/objfile: read Go object file using goobj2 package

Read Go object files using cmd/internal/goobj2 package directly,
instead of using cmd/internal/goobj as an intermediate layer.

Now cmd/internal/archive is only about reading archives.

Change-Id: Ifecb217fb26c16c26fc1bbc3fba0ed44710020ed
Reviewed-on: https://go-review.googlesource.com/c/go/+/246443
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/internal/archive/archive_test.go [moved from src/cmd/internal/archive/goobj_test.go with 75% similarity]
src/cmd/internal/archive/read.go
src/cmd/internal/archive/readnew.go [deleted file]
src/cmd/internal/bio/buf.go
src/cmd/internal/objfile/goobj.go