]> Cypherpunks repositories - gostls13.git/commit
runtime: add msan support on freebsd/amd64
authorDmitri Goutnik <dgoutnik@gmail.com>
Wed, 8 Jun 2022 15:52:19 +0000 (10:52 -0500)
committerDmitri Goutnik <dgoutnik@gmail.com>
Fri, 14 Oct 2022 12:48:03 +0000 (12:48 +0000)
commit5fde02e312796012b5ddacd79cbaafb91d329c72
tree69ad1d8bbf9106be2b38838bb21b860c3b844995
parent76e4833b7a3f1ab2d8f30e497d00809b1f6cf1e6
runtime: add msan support on freebsd/amd64

Adjust build constraints and change the runtime to call the C mmap function
when using cgo.

R=go1.20

For #53298

Change-Id: If9c3306dc16a8645d1bb9be0343e0472d6c4783f
Reviewed-on: https://go-review.googlesource.com/c/go/+/411274
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
src/runtime/cgo/gcc_mmap.c
src/runtime/cgo/mmap.go
src/runtime/cgo_mmap.go
src/runtime/mmap.go
src/runtime/msan/msan.go
src/runtime/sys_freebsd_amd64.s