diff options
author | Austin Clements <austin@google.com> | 2020-06-04 18:14:06 -0400 |
---|---|---|
committer | Austin Clements <austin@google.com> | 2020-06-07 19:24:13 +0000 |
commit | acdd111e320363c77eb04a761f0b7d4a9dd64c22 (patch) | |
tree | 7a084a091d7cdb642da7fdd91b3a1c9dd16d9382 | |
parent | fca286bed3ed0e12336532cc711875ae5b3cb02a (diff) | |
download | go-acdd111e320363c77eb04a761f0b7d4a9dd64c22.tar.gz go-acdd111e320363c77eb04a761f0b7d4a9dd64c22.zip |
doc/go1.15: document toolchain changes
Updates #37419.
Change-Id: I403cb12083d37359187b45c392046f307054a5b8
Reviewed-on: https://go-review.googlesource.com/c/go/+/236618
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: David Chase <drchase@google.com>
-rw-r--r-- | doc/go1.15.html | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/doc/go1.15.html b/doc/go1.15.html index e376379827..19f124ae00 100644 --- a/doc/go1.15.html +++ b/doc/go1.15.html @@ -55,6 +55,13 @@ Do not send CLs removing the interior tags from such phrases. on Windows. </p> +<p><!-- CL 227003 --> + The <code>-race</code> and <code>-msan</code> flags now always + enable <code>-d=checkptr</code>, which checks uses + of <code>unsafe.Pointer</code>. This was previously the case on all + OSes except Windows. +</p> + <p><!-- CL 211139 --> Go-built DLLs no longer cause the process to exit when it receives a signal (such as Ctrl-C at a terminal). @@ -245,6 +252,15 @@ TODO aggressively eliminating unused type metadata. </p> +<p><!-- CL 219357, CL 231600 --> + The toolchain now mitigates + <a href="https://www.intel.com/content/www/us/en/support/articles/000055650/processors.html">Intel + CPU erratum SKX102</a> on <code>GOARCH=amd64</code> by aligning + functions to 32 byte boundaries and padding jump instructions. While + this padding increases binary sizes, this is more than made up for + by the binary size improvements mentioned above. +</p> + <p><!-- CL 222661 --> Go 1.15 adds a <code>-spectre</code> flag to both the compiler and the assembler, to allow enabling Spectre mitigations. @@ -253,6 +269,19 @@ TODO See the <a href="https://github.com/golang/go/wiki/Spectre">Spectre wiki page</a> for details. </p> +<p><!-- CL 228578 --> + The compiler now rejects <code>//go:</code> compiler directives that + have no meaning for the declaration they are applied to with a + "misplaced compiler directive" error. Such misapplied directives + were broken before, but were silently ignored by the compiler. +</p> + +<p><!-- CL 206658, CL 205066 --> + The compiler's <code>-json</code> optimization logging now reports + large (>= 128 byte) copies and includes explanations of escape + analysis decisions. +</p> + <h2 id="linker">Linker</h2> <p> @@ -283,6 +312,14 @@ TODO improvements expected in future releases. </p> +<h2 id="objdump">Objdump</h2> + +<p><!-- CL 225459 --> + The <a href="/cmd/objdump/">objdump</a> tool now supports + disassembling in GNU assembler syntax with the <code>-gnu</code> + flag. +</p> + <h2 id="library">Core library</h2> <h3 id="time/tzdata">New embedded tzdata package</h3> |