2016-08-05 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / libgo / go / syscall / msan.go
blobbaaad6df984cbf93f3489df2bb488375736792d5
1 // Copyright 2015 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
5 // +build msan
7 package syscall
9 import (
10 "runtime"
11 "unsafe"
14 const msanenabled = true
16 func msanRead(addr unsafe.Pointer, len int) {
17 runtime.MSanRead(addr, len)
20 func msanWrite(addr unsafe.Pointer, len int) {
21 runtime.MSanWrite(addr, len)