From 69e1711f287f5cd92296240f99d347edc23d40b7 Mon Sep 17 00:00:00 2001 From: Josh Bleecher Snyder Date: Mon, 7 Feb 2022 15:23:22 -0800 Subject: [PATCH] doc/go1.18: mention linker improvements Change-Id: I12cad608448ddd17a5da2b1d1209007102d892a7 Reviewed-on: https://go-review.googlesource.com/c/go/+/383914 Trust: Josh Bleecher Snyder Run-TryBot: Josh Bleecher Snyder TryBot-Result: Gopher Robot Reviewed-by: Ian Lance Taylor --- doc/go1.18.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/go1.18.html b/doc/go1.18.html index 7e11f73820..ed32a93bc3 100644 --- a/doc/go1.18.html +++ b/doc/go1.18.html @@ -493,6 +493,14 @@ Do not send CLs removing the interior tags from such phrases.

Linker

+

+ The linker emits far fewer relocations. + As a result, most codebases will link faster, require less memory to link, + and generate smaller binaries. + Tools that process Go binaries should use Go 1.18's debug/gosym package + to transparently handle both old and new binaries. +

+

The new linker -asan option supports the new go command -asan option. -- 2.50.0