]> Cypherpunks repositories - gostls13.git/commit
cmd/go: for -msan build runtime/cgo with -fsanitize=memory
authorIan Lance Taylor <iant@golang.org>
Mon, 11 Jul 2016 00:51:27 +0000 (17:51 -0700)
committerIan Lance Taylor <iant@golang.org>
Mon, 29 Aug 2016 22:49:16 +0000 (22:49 +0000)
commitdb1fef7b2afd12625e3edd90f879e5d05511d1d6
tree44bf8aa7371581db702db124b50f6f41e6bcc610
parentbd9aa9811d63c121a84ef92bc9b6a4101af46235
cmd/go: for -msan build runtime/cgo with -fsanitize=memory

The go tool used to avoid passing -fsanitize=memory when building
runtime/cgo. That was originally to avoid an msan error, but that error
was fixed anyhow for issue #13815. And building runtime/cgo with
-fsanitize=memory corrects the handling of the context traceback
function when the traceback function itself is built with
-fsanitize=memory.

Change-Id: I4bf5c3d21de6b2eb540600435ae47f5820d17464
Reviewed-on: https://go-review.googlesource.com/24855
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/go/build.go