diff --git a/doc/go1.14.html b/doc/go1.14.html index 6811868bc20bcc..87d2fac1aa7f18 100644 --- a/doc/go1.14.html +++ b/doc/go1.14.html @@ -301,9 +301,9 @@
-d=checkptr
as a compile-time option
for adding instrumentation to check that Go code is following
unsafe.Pointer
safety rules dynamically.
- This option is enabled by default with the -race
- or -msan
flags, and can be disabled
- with -gcflags=-all=-d=checkptr=0
.
+ This option is enabled by default (except on Windows) with
+ the -race
or -msan
flags, and can be
+ disabled with -gcflags=all=-d=checkptr=0
.
Specifically, -d=checkptr
checks the following:
@@ -320,6 +320,11 @@
+ Using -d=checkptr
is not currently recommended on
+ Windows because it causes false alerts in the standard library.
+
The compiler can now emit machine-readable logs of key optimizations
using the -json
flag, including inlining, escape