aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/alldocs.go
diff options
context:
space:
mode:
authorDmitri Goutnik <dgoutnik@gmail.com>2022-06-08 10:55:42 -0500
committerDmitri Goutnik <dgoutnik@gmail.com>2022-10-14 12:48:27 +0000
commite56c93f07b445d1c123b1c46483db2d214af8cc3 (patch)
tree6d52849d1cc9ea59ed26b8679564a788a88dbb44 /src/cmd/go/alldocs.go
parent5fde02e312796012b5ddacd79cbaafb91d329c72 (diff)
downloadgo-e56c93f07b445d1c123b1c46483db2d214af8cc3.tar.gz
go-e56c93f07b445d1c123b1c46483db2d214af8cc3.zip
cmd/go: enable -msan on freebsd/amd64
Enable -msan flag on freebsd/amd64 and amend PIE comment in internal/work/init.go to indicate that MSAN requires PIE on all platforms except linux/amd64. R=go1.20 For #53298 Change-Id: I93d94efa95d7f292c23c433fb1d3f4301d820bde Reviewed-on: https://go-review.googlesource.com/c/go/+/411275 Reviewed-by: Bryan Mills <bcmills@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/cmd/go/alldocs.go')
-rw-r--r--src/cmd/go/alldocs.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/go/alldocs.go b/src/cmd/go/alldocs.go
index 6a348dbb75..a8206c475c 100644
--- a/src/cmd/go/alldocs.go
+++ b/src/cmd/go/alldocs.go
@@ -114,9 +114,9 @@
// linux/ppc64le and linux/arm64 (only for 48-bit VMA).
// -msan
// enable interoperation with memory sanitizer.
-// Supported only on linux/amd64, linux/arm64
+// Supported only on linux/amd64, linux/arm64, freebsd/amd64
// and only with Clang/LLVM as the host C compiler.
-// On linux/arm64, pie build mode will be used.
+// PIE build mode will be used on all platforms except linux/amd64.
// -asan
// enable interoperation with address sanitizer.
// Supported only on linux/arm64, linux/amd64.