]> Cypherpunks repositories - gostls13.git/commit
Revert "cmd/compile: enable Asan check for global variables"
authorBryan Mills <bcmills@google.com>
Wed, 4 May 2022 16:27:53 +0000 (16:27 +0000)
committerGopher Robot <gobot@golang.org>
Wed, 4 May 2022 16:41:22 +0000 (16:41 +0000)
commit265b5fd2f1c6d3379893b58940dde48e156ce531
tree38a8651e5de42526edef10fd15a439ae092032e5
parentf52b4ec63d6ce5c4eb9edcb81c3a0661e6f53da0
Revert "cmd/compile: enable Asan check for global variables"

This reverts CL 401775.

Reason for revert: broke build.

Change-Id: I4f6f2edff1e4afcf31cd90e26dacf303979eb10c
Reviewed-on: https://go-review.googlesource.com/c/go/+/403981
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
18 files changed:
misc/cgo/testsanitizers/asan_test.go
misc/cgo/testsanitizers/cc_test.go
src/cmd/compile/internal/base/base.go
src/cmd/compile/internal/gc/obj.go
src/cmd/compile/internal/noder/noder.go
src/cmd/compile/internal/noder/object.go
src/cmd/compile/internal/noder/reader.go
src/cmd/compile/internal/pkginit/init.go
src/cmd/compile/internal/pkginit/initAsanGlobals.go [deleted file]
src/cmd/go/alldocs.go
src/cmd/go/internal/work/build.go
src/cmd/go/internal/work/init.go
src/cmd/go/testdata/script/install_msan_and_race_require_cgo.txt [moved from src/cmd/go/testdata/script/install_msan_and_race_and_asan_require_cgo.txt with 63% similarity]
src/runtime/asan.go
src/runtime/asan/asan.go
src/runtime/asan0.go
src/runtime/asan_amd64.s
src/runtime/asan_arm64.s