aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/alldocs.go
diff options
context:
space:
mode:
authorXiaolin Zhao <zhaoxiaolin@loongson.cn>2023-03-31 17:08:44 +0800
committerGopher Robot <gobot@golang.org>2023-08-29 00:22:11 +0000
commite9c14a77803a3e80d6697c70bb79d8accd0d2290 (patch)
tree9bf64af6d5d8d95fac529ea2c3ee983420a24f03 /src/cmd/go/alldocs.go
parent626a3cd9fa6ea412aa8ccd5f33ca836fa4ca116f (diff)
downloadgo-e9c14a77803a3e80d6697c70bb79d8accd0d2290.tar.gz
go-e9c14a77803a3e80d6697c70bb79d8accd0d2290.zip
runtime, cmd/go: enable address sanitizer on linux/loong64
The recently released llvm-16/LoongArch already supports the asan feature; but gcc13/LoongArch does not yet fully support the asan feature, and asan will be fully supported in gcc14. Change-Id: I48a65f2f10e3dc488acd9c02ea1a1f37de192be0 Reviewed-on: https://go-review.googlesource.com/c/go/+/481317 Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: abner chenc <chenguoqi@loongson.cn> Reviewed-by: Bryan Mills <bcmills@google.com> Run-TryBot: Bryan Mills <bcmills@google.com> Reviewed-by: Meidan Li <limeidan@loongson.cn> TryBot-Result: Gopher Robot <gobot@golang.org> Commit-Queue: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/cmd/go/alldocs.go')
-rw-r--r--src/cmd/go/alldocs.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cmd/go/alldocs.go b/src/cmd/go/alldocs.go
index 17c46913f3..2c8f59e682 100644
--- a/src/cmd/go/alldocs.go
+++ b/src/cmd/go/alldocs.go
@@ -122,9 +122,10 @@
// 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.
-// Supported only on linux/amd64 or linux/arm64 and only with GCC 7 and higher
+// Supported only on linux/arm64, linux/amd64, linux/loong64.
+// Supported on linux/amd64 or linux/arm64 and only with GCC 7 and higher
// or Clang/LLVM 9 and higher.
+// And supported on linux/loong64 only with Clang/LLVM 16 and higher.
// -cover
// enable code coverage instrumentation.
// -covermode set,count,atomic