]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.18: mention new -asan option
authorIan Lance Taylor <iant@golang.org>
Thu, 2 Dec 2021 19:39:38 +0000 (11:39 -0800)
committerIan Lance Taylor <iant@golang.org>
Thu, 2 Dec 2021 23:02:33 +0000 (23:02 +0000)
For #44853
For #47694

Change-Id: Ia76246218b1361d8bdf510bbfc5178c83cdd3eec
Reviewed-on: https://go-review.googlesource.com/c/go/+/368834
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Jeremy Faller <jeremy@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
doc/go1.18.html

index 8dc6a88ef3a7a9a23b97f7d0e3fb5534b801bf70..2ea8e08423658d23fc411cb2825268205d75d437 100644 (file)
@@ -183,6 +183,13 @@ proposal</a>.
   third-party tools that need to collect package source code.)
 </p>
 
+<p><!-- CL 298612 -->
+  The <code>go</code> <code>build</code> command and related commands
+  now support an <code>-asan</code> flag that enables interoperation
+  with C (or C++) code compiled with the address sanitizer (C compiler
+  option <code>-fsanitize=address</code>).
+</p>
+
 <h3 id="gofmt"><code>gofmt</code></h3>
 
 <p><!-- https://golang.org/issue/43566 -->
@@ -244,13 +251,15 @@ proposal</a>.
 </p>
 
 <p><!-- CL 298611 -->
-  TODO: <a href="https://golang.org/cl/298611">https://golang.org/cl/298611</a>: cmd/compile: add -asan option
+  The new compiler <code>-asan</code> option supports the
+  new <code>go</code> command <code>-asan</code> option.
 </p>
 
 <h2 id="linker">Linker</h2>
 
 <p><!-- CL 298610 -->
-  TODO: <a href="https://golang.org/cl/298610">https://golang.org/cl/298610</a>: cmd/link: add -asan option
+  The new linker <code>-asan</code> option supports the
+  new <code>go</code> command <code>-asan</code> option.
 </p>
 
 <h2 id="library">Core library</h2>