• Russ Cox's avatar
    cmd/go: add cache verification mode · 15f07dbf
    Russ Cox authored
    If GODEBUG=gocacheverify=1, then instead of using the cache to
    avoid computations, the go command will do the computations and
    double-check that they match any existing cache entries.
    This is handled entirely in the cache implementation; there's no
    complexity added to any of the cache usage sites.
    
    (As of this CL there aren't any cache usage sites, but soon there will be.)
    
    Also change GOCMDDEBUGHASH to the more usual GODEBUG=gocachehash=1.
    
    Change-Id: I574f181e06b5299b1d9c6d402e40c57a0e064e74
    Reviewed-on: https://go-review.googlesource.com/75294
    Run-TryBot: Russ Cox <rsc@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarDavid Crawshaw <crawshaw@golang.org>
    15f07dbf
Name
Last commit
Last update
..
README Loading commit data...
build.go Loading commit data...
buildgo.go Loading commit data...
buildruntime.go Loading commit data...
buildtool.go Loading commit data...
cpuid_386.s Loading commit data...
cpuid_amd64.s Loading commit data...
cpuid_default.s Loading commit data...
deps.go Loading commit data...
deps_test.go Loading commit data...
doc.go Loading commit data...
main.go Loading commit data...
mkdeps.bash Loading commit data...
mkdeps.go Loading commit data...
sys_default.go Loading commit data...
sys_windows.go Loading commit data...
test.go Loading commit data...
test_linux.go Loading commit data...
util.go Loading commit data...
util_gc.go Loading commit data...
util_gccgo.go Loading commit data...
vfp_arm.s Loading commit data...
vfp_default.s Loading commit data...