blob: baaad6df984cbf93f3489df2bb488375736792d5 [file] [log] [blame]
Brad Fitzpatrick51947442016-03-01 22:57:46 +00001// Copyright 2015 The Go Authors. All rights reserved.
Ian Lance Taylor73f329f2015-10-21 11:04:42 -07002// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// +build msan
6
7package syscall
8
9import (
10 "runtime"
11 "unsafe"
12)
13
14const msanenabled = true
15
16func msanRead(addr unsafe.Pointer, len int) {
17 runtime.MSanRead(addr, len)
18}
19
20func msanWrite(addr unsafe.Pointer, len int) {
21 runtime.MSanWrite(addr, len)
22}