1
0
mirror of https://github.com/golang/go synced 2024-10-06 05:21:22 -06:00
go/src/cmd/compile/internal
Russ Cox 0f6da8923f cmd/internal/gc: add -buildid flag to write build ID into object file
The build ID is an opaque token supplied by the build system.
The compiler writes it out early in the Go export metadata
(the second line), in a way that does not bother existing readers.

The intent is that the go command can use this to store information
about the sources for the generated code, so that it can detect
stale packages even in cases (like removed files) where mtimes fail.

Change-Id: Ib5082515d6cde8a07a8d4b5c69d1e8e4190cb5e1
Reviewed-on: https://go-review.googlesource.com/9153
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2015-06-03 20:43:51 +00:00
..
amd64
arm cmd/compile, cmd/internal: replace %P with %v in a few final prints 2015-06-03 20:10:03 +00:00
arm64 cmd/internal/obj: make Prog.From3 a pointer 2015-05-29 16:19:02 +00:00
big cmd/compile/internal/big: update and apply vendor.bash 2015-05-22 22:46:44 +00:00
gc cmd/internal/gc: add -buildid flag to write build ID into object file 2015-06-03 20:43:51 +00:00
ppc64 cmd/internal/obj: make Prog.From3 a pointer 2015-05-29 16:19:02 +00:00
x86