]> Cypherpunks repositories - gostls13.git/commit
runtime, cmd/go: enable address sanitizer on linux/loong64
authorXiaolin Zhao <zhaoxiaolin@loongson.cn>
Fri, 31 Mar 2023 09:08:44 +0000 (17:08 +0800)
committerGopher Robot <gobot@golang.org>
Tue, 29 Aug 2023 00:22:11 +0000 (00:22 +0000)
commite9c14a77803a3e80d6697c70bb79d8accd0d2290
tree9bf64af6d5d8d95fac529ea2c3ee983420a24f03
parent626a3cd9fa6ea412aa8ccd5f33ca836fa4ca116f
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>
src/cmd/cgo/internal/testsanitizers/cc_test.go
src/cmd/go/alldocs.go
src/cmd/go/internal/work/build.go
src/internal/platform/supported.go
src/runtime/asan/asan.go
src/runtime/asan_loong64.s [new file with mode: 0644]