From 8835343280029eaf86e0612d600ae7af5c68b092 Mon Sep 17 00:00:00 2001
From: Ian Lance Taylor
Date: Thu, 2 Dec 2021 11:39:38 -0800
Subject: [PATCH] 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
Run-TryBot: Ian Lance Taylor
TryBot-Result: Gopher Robot
Reviewed-by: Jeremy Faller
Reviewed-by: Cherry Mui
---
doc/go1.18.html | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/doc/go1.18.html b/doc/go1.18.html
index 8dc6a88ef3..2ea8e08423 100644
--- a/doc/go1.18.html
+++ b/doc/go1.18.html
@@ -183,6 +183,13 @@ proposal.
third-party tools that need to collect package source code.)
+
+ The go
build
command and related commands
+ now support an -asan
flag that enables interoperation
+ with C (or C++) code compiled with the address sanitizer (C compiler
+ option -fsanitize=address
).
+
+
gofmt
@@ -244,13 +251,15 @@ proposal.
- TODO: https://golang.org/cl/298611: cmd/compile: add -asan option
+ The new compiler -asan
option supports the
+ new go
command -asan
option.
Linker
- TODO: https://golang.org/cl/298610: cmd/link: add -asan option
+ The new linker -asan
option supports the
+ new go
command -asan
option.
Core library
--
2.48.1