• Russ Cox's avatar
    cmd/go: clean up compile vs link vs shared library actions · 4e8be995
    Russ Cox authored
    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: 's avatarDavid Crawshaw <crawshaw@golang.org>
    4e8be995
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...