From acdd111e320363c77eb04a761f0b7d4a9dd64c22 Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Thu, 4 Jun 2020 18:14:06 -0400 Subject: [PATCH] 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 Reviewed-by: Dmitri Shuralyov Reviewed-by: David Chase --- doc/go1.15.html | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) 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.

+

+ The -race and -msan flags now always + enable -d=checkptr, which checks uses + of unsafe.Pointer. This was previously the case on all + OSes except Windows. +

+

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.

+

+ The toolchain now mitigates + Intel + CPU erratum SKX102 on GOARCH=amd64 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. +

+

Go 1.15 adds a -spectre flag to both the compiler and the assembler, to allow enabling Spectre mitigations. @@ -253,6 +269,19 @@ TODO See the Spectre wiki page for details.

+

+ The compiler now rejects //go: 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. +

+ +

+ The compiler's -json optimization logging now reports + large (>= 128 byte) copies and includes explanations of escape + analysis decisions. +

+

Linker

@@ -283,6 +312,14 @@ TODO improvements expected in future releases.

+

Objdump

+ +

+ The objdump tool now supports + disassembling in GNU assembler syntax with the -gnu + flag. +

+

Core library

New embedded tzdata package

-- 2.50.0