]> Cypherpunks repositories - gostls13.git/commit
runtime: call msanwrite on object passed to runtime/cgo
authorIan Lance Taylor <iant@golang.org>
Tue, 5 Jan 2016 22:06:58 +0000 (14:06 -0800)
committerIan Lance Taylor <iant@golang.org>
Wed, 6 Jan 2016 04:04:42 +0000 (04:04 +0000)
commit934e055f414839a9af59601aebacfeeef2b52740
tree9b0580829773516ea966243caeebc2832ef4bb55
parent17ce03725cc549fc24e8972780d18ffd673f6b6c
runtime: call msanwrite on object passed to runtime/cgo

Avoids an msan error when runtime/cgo is explicitly rebuilt with
-fsanitize=memory.

Fixes #13815.

Change-Id: I70308034011fb308b63585bcd40b0d1e62ec93ef
Reviewed-on: https://go-review.googlesource.com/18263
Reviewed-by: Russ Cox <rsc@golang.org>
misc/cgo/testsanitizers/test.bash
src/runtime/proc.go