From bfa3284f9b3af76030d8058ae22e3d212637a286 Mon Sep 17 00:00:00 2001 From: qmuntal Date: Wed, 31 May 2023 15:07:03 +0200 Subject: [PATCH] doc: document WER and SEH changes in Go 1.21 While here, I've removed the CL 472195 TODO, which I marked as RELNOTE=yes by mistake. For #57441 For #57302 Change-Id: I7563140bf307f8d732f0154d02b8fa0735527323 Reviewed-on: https://go-review.googlesource.com/c/go/+/499515 Reviewed-by: Ian Lance Taylor TryBot-Result: Gopher Robot Reviewed-by: Michael Knyszek Run-TryBot: Quim Muntal --- doc/go1.21.html | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/doc/go1.21.html b/doc/go1.21.html index e08f84c384..2f4b214a72 100644 --- a/doc/go1.21.html +++ b/doc/go1.21.html @@ -231,6 +231,12 @@ Do not send CLs removing the interior tags from such phrases.

Linker

+

+ On Windows AMD64, the linker (with help from the compiler) now emits + SEH unwinding data by default, which improves the integration + of Go applications with Windows debuggers and other tools. +

+

@@ -745,8 +751,11 @@ Do not send CLs removing the interior tags from such phrases. TODO: https://go.dev/issue/38651: add 'created by goroutine number' to stack traces

-

- TODO: https://go.dev/issue/57441: use WER for GOTRACEBACK=wer on Windows +

+ Crashing Go applications can now opt-in to Windows Error Reporting (WER) by setting the environment variable + GOTRACEBACK=wer or calling debug.SetTraceback("wer") + before the crash. Other than enabling WER, the runtime will behave as with GOTRACEBACK=crash. + On non-Windows systems, GOTRACEBACK=wer is ignored.

@@ -758,14 +767,6 @@ Do not send CLs removing the interior tags from such phrases. GODEBUG=cgocheck=1 is still available (and is still the default).

-

- TODO: https://go.dev/cl/472195: runtime: remove NOFRAME from asmcgocall, systemstack and mcall -

- -

- TODO: https://go.dev/cl/474915: runtime: support GOTRACEBACK=wer on Windows -

-

A new type Pinner has been added to the runtime package. Pinners may be used to "pin" Go memory -- 2.50.0