From acdd111e320363c77eb04a761f0b7d4a9dd64c22 Mon Sep 17 00:00:00 2001
From: Austin Clements
+ 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.
+
@@ -283,6 +312,14 @@ TODO improvements expected in future releases.
+
+ The objdump tool now supports
+ disassembling in GNU assembler syntax with the -gnu
+ flag.
+