]> Cypherpunks repositories - gostls13.git/commit
cmd/link: add -msan option
authorIan Lance Taylor <iant@golang.org>
Wed, 21 Oct 2015 14:11:01 +0000 (07:11 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 21 Oct 2015 14:40:07 +0000 (14:40 +0000)
commit7b4b96f2480d52ad99303a2c7868f2e110c2c6f8
tree93bd88cd612d9eefe6e68446563ae599684fdc31
parent3c1712db0bd3aa360ad08d9a8e57f6f9b64df6a4
cmd/link: add -msan option

The -msan option causes the linker to link against the runtime/msan
package in order to use the C/C++ memory sanitizer.

This CL passes tests but is not usable by itself.  The actual
runtime/msan package, and support for -msan in the go tool and the
compiler, and tests, are in separate CLs.

Change-Id: I02c097393b98c5b80e40ee3dbc167a8b4d23efe0
Reviewed-on: https://go-review.googlesource.com/16161
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: David Crawshaw <crawshaw@golang.org>
src/cmd/link/doc.go
src/cmd/link/internal/ld/lib.go
src/cmd/link/internal/ld/pobj.go