]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/goobj: parse native objects in the archive
authorHiroshi Ioka <hirochachacha@gmail.com>
Sun, 10 Sep 2017 00:45:49 +0000 (09:45 +0900)
committerIan Lance Taylor <iant@golang.org>
Sun, 10 Sep 2017 12:46:44 +0000 (12:46 +0000)
commit1053ae5cf51bcc9d0b38c087880dda49b4825e0f
tree33b48bbd2eaeae466f6fbb8a95b88adadedbd79a
parentd254c61309845214084617eb5d3368bad91b609f
cmd/internal/goobj: parse native objects in the archive

Also add HasCGO() to internal/testenv for tests.

Updates #21706

Change-Id: I938188047024052bdb42b3ac1a77708f3c2a6dbb
Reviewed-on: https://go-review.googlesource.com/62591
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/internal/goobj/goobj_test.go
src/cmd/internal/goobj/read.go
src/cmd/internal/goobj/testdata/mycgo/c1.c [new file with mode: 0644]
src/cmd/internal/goobj/testdata/mycgo/c2.c [new file with mode: 0644]
src/cmd/internal/goobj/testdata/mycgo/go.go [new file with mode: 0644]
src/cmd/internal/goobj/testdata/mycgo/go1.go [new file with mode: 0644]
src/cmd/internal/goobj/testdata/mycgo/go2.go [new file with mode: 0644]
src/internal/testenv/testenv.go