aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/json
diff options
context:
space:
mode:
authorfanzha02 <fannie.zhang@arm.com>2021-01-04 17:14:35 +0800
committerIan Lance Taylor <iant@golang.org>2021-10-25 21:51:20 +0000
commit85b3b4ee036e7460bf7621f64c6781e5dd0eed98 (patch)
tree1cc220e9b8751df4d3496b7386212e701fd0eed2 /src/encoding/json
parent60c3069dd82eee30c00f2a8d829ba74b11bcf07e (diff)
downloadgo-85b3b4ee036e7460bf7621f64c6781e5dd0eed98.tar.xz
cmd/compile: add -asan option
The -asan option causes the compiler to add instrumentation for the C/C++ address sanitizer. Every memory read/write will be replaced by a call to asanread/asanwrite. This CL also inserts asan instrumentation during SSA building. This CL passes tests but is not usable by itself. The actual implementation of asanread/asanwrite in the runtime package, and support for -asan in the go tool and tests, will follow in subsequent CLs. Updates #44853. Change-Id: Ia18c9c5d5c351857420d2f6835f0daec2ad31096 Reviewed-on: https://go-review.googlesource.com/c/go/+/298611 Trust: fannie zhang <Fannie.Zhang@arm.com> Run-TryBot: fannie zhang <Fannie.Zhang@arm.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/encoding/json')
0 files changed, 0 insertions, 0 deletions