diff options
| author | Ian Lance Taylor <iant@golang.org> | 2015-10-21 12:33:56 -0700 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2015-10-21 20:30:23 +0000 |
| commit | e7ee268292a814fed6ebe7c81c808581f80d3416 (patch) | |
| tree | af879c34849734d96debd5768ff16a258ad12f86 /src/os/exec/exec.go | |
| parent | d96b4c494fcf915a49b004d59018c46deaa069bb (diff) | |
| download | go-e7ee268292a814fed6ebe7c81c808581f80d3416.tar.xz | |
cmd/go: add -msan option
The -msan option compiles Go code to use the memory sanitizer. This is
intended for use when linking with C/C++ code compiled with
-fsanitize=memory. When memory blocks are passed back and forth between
C/C++ and Go, code in both languages will agree as to whether the memory
is correctly initialized or not, and will report errors for any use of
uninitialized memory.
Change-Id: I2dbdbd26951eacb7d84063cfc7297f88ffadd70c
Reviewed-on: https://go-review.googlesource.com/16169
Reviewed-by: David Crawshaw <crawshaw@golang.org>
Diffstat (limited to 'src/os/exec/exec.go')
0 files changed, 0 insertions, 0 deletions
