]> Cypherpunks repositories - gostls13.git/commit
runtime, syscall: add calls to msan functions
authorIan Lance Taylor <iant@golang.org>
Wed, 21 Oct 2015 18:04:42 +0000 (11:04 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 21 Oct 2015 19:17:46 +0000 (19:17 +0000)
commit73f329f47236c6952235db395802810156a7bd65
tree4f26e4e00e448a5d005535cca4b660f8b0922ffb
parentc27925094640f0d151da92663d19d511d8dfdc31
runtime, syscall: add calls to msan functions

Add explicit memory sanitizer instrumentation to the runtime and syscall
packages.  The compiler does not instrument the runtime package.  It
does instrument the syscall package, but we need to add a couple of
cases that it can't see.

Change-Id: I2d66073f713fe67e33a6720460d2bb8f72f31394
Reviewed-on: https://go-review.googlesource.com/16164
Reviewed-by: David Crawshaw <crawshaw@golang.org>
15 files changed:
src/runtime/chan.go
src/runtime/hashmap.go
src/runtime/iface.go
src/runtime/malloc.go
src/runtime/mbarrier.go
src/runtime/mgcsweep.go
src/runtime/proc.go
src/runtime/select.go
src/runtime/slice.go
src/runtime/stack.go
src/runtime/string.go
src/syscall/msan.go [new file with mode: 0644]
src/syscall/msan0.go [new file with mode: 0644]
src/syscall/syscall_unix.go
src/syscall/syscall_windows.go