mirror of
https://github.com/golang/go
synced 2024-10-02 22:25:08 +00:00
doc/go1.18: mention new -asan option
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>
This commit is contained in:
parent
fd4b391849
commit
8835343280
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue