1
0
mirror of https://github.com/golang/go synced 2024-11-24 11:20:07 -07:00
go/misc
Russ Cox 4e8be99590 cmd/go: clean up compile vs link vs shared library actions
Everything got a bit tangled together in b.action1.
Try to tease things apart again.

In general this is a refactoring of the existing code, with limited
changes to the effect of the code.

The main additional change is to complete a.Deps for link actions.
That list now directly contains all the inputs the linker will attempt
to read, eliminating the need for a transitive traversal of the entire
action graph to find those. The comepleteness of a.Deps will be
important when we eventually use it to decide whether an cached
action output can be reused.

all.bash passes, but it's possible I've broken some subtety of
buildmode=shared again. Certainly that code took the longest
to get working.

Change-Id: I34e849eda446dca45a9cfce02b07bec6edb6d0d4
Reviewed-on: https://go-review.googlesource.com/69831
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: David Crawshaw <crawshaw@golang.org>
2017-10-11 17:47:09 +00:00
..
android misc/android: don't let the Android exec wrapper hang indefinitely 2017-05-01 22:31:15 +00:00
arm
cgo cmd/go: clean up compile vs link vs shared library actions 2017-10-11 17:47:09 +00:00
chrome/gophertool
git
ios misc/ios: always kill lldb process when it hangs 2017-10-03 14:21:35 +00:00
linkcheck
nacl misc/nacl: add cmd/vendor/golang.org/x/arch/arm64/arm64asm testdata 2017-08-16 17:57:51 +00:00
sortac
swig
trace misc/trace: update trace-viewer 2017-08-25 15:50:29 +00:00
benchcmp
editors