Commit ae4d67c8 authored by fanzha02's avatar fanzha02 Committed by Ian Lance Taylor
Browse files

cmd/link: add -asan option

The -asan option causes the linker to link against the runtime/asan
package in order to use the C/C++ address sanitizer.

This CL passes tests but is not usable by itself.  The actual
runtime/asan package, and support for -asan in the go tool and the
compiler, and tests, are in separate CLs.

Updates #44853.

Change-Id: Ifc6046c1f75ba52777cbb3d937a4b66e91d5798d
Reviewed-on: https://go-review.googlesource.com/c/go/+/298610


Trust: fannie zhang <Fannie.Zhang@arm.com>
Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
parent 5d414d18
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment