aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/alldocs.go
diff options
context:
space:
mode:
authorXiaolin Zhao <zhaoxiaolin@loongson.cn>2023-03-31 15:36:59 +0800
committerGopher Robot <gobot@golang.org>2023-08-25 20:58:13 +0000
commitfbbed139a122f689cf862b0ac89119891a3a64ee (patch)
tree275c67259bffe1a0683272a1eca1810d48218353 /src/cmd/go/alldocs.go
parente92c0f846c54d88f479b1c48f0dbc001d2ff53e9 (diff)
downloadgo-fbbed139a122f689cf862b0ac89119891a3a64ee.tar.gz
go-fbbed139a122f689cf862b0ac89119891a3a64ee.zip
runtime, cmd/go: enable memory sanitizer on linux/loong64
The msan feature depends on llvm. The currently released llvm-16 already supports the LoongArch architecture, and msan's support for LoongArch64 has been added in this patch[1], and it has been merged in branches main and release/17.x. [1]: https://reviews.llvm.org/D140528 Change-Id: If537c5ffb1c9d4b3316b9b3794d411953bc5764b Reviewed-on: https://go-review.googlesource.com/c/go/+/481315 Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Bryan Mills <bcmills@google.com> Reviewed-by: abner chenc <chenguoqi@loongson.cn> Run-TryBot: Ian Lance Taylor <iant@google.com> Run-TryBot: WANG Xuerui <git@xen0n.name>
Diffstat (limited to 'src/cmd/go/alldocs.go')
-rw-r--r--src/cmd/go/alldocs.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/go/alldocs.go b/src/cmd/go/alldocs.go
index ef7e5fdf724..17c46913f3c 100644
--- a/src/cmd/go/alldocs.go
+++ b/src/cmd/go/alldocs.go
@@ -117,7 +117,7 @@
// linux/ppc64le and linux/arm64 (only for 48-bit VMA).
// -msan
// enable interoperation with memory sanitizer.
-// Supported only on linux/amd64, linux/arm64, freebsd/amd64
+// Supported only on linux/amd64, linux/arm64, linux/loong64, freebsd/amd64
// and only with Clang/LLVM as the host C compiler.
// PIE build mode will be used on all platforms except linux/amd64.
// -asan