]> Cypherpunks repositories - gostls13.git/commitdiff
doc: document SetUnhandledExceptionFilter interop
authorqmuntal <quimmuntal@gmail.com>
Sun, 10 Dec 2023 17:38:08 +0000 (18:38 +0100)
committerQuim Muntal <quimmuntal@gmail.com>
Tue, 12 Dec 2023 20:05:45 +0000 (20:05 +0000)
For #50951.
For #61422.

Change-Id: Ib9038a00de8f4d8606443e9acd414402023cde63
Reviewed-on: https://go-review.googlesource.com/c/go/+/548319
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
doc/go1.22.html

index daae19fdbc3f0c742b14ccec4746b1759829966a..8bcaeedc00584fc4e6fd5d0097eaf25922c69249 100644 (file)
@@ -203,6 +203,13 @@ defer func() {
   workaround will be removed in a future release.
 </p>
 
+<p><!-- CL 525475 -->
+  On the <code>windows/amd64 port</code>, programs linking or loading Go libraries built with
+  <code>-buildmode=c-archive</code> or <code>-buildmode=c-shared</code> can now use
+  the <code>SetUnhandledExceptionFilter</code> Win32 function to catch exceptions not handled
+  by the Go runtime. Note that this was already supported on the <code>windows/386</code> port.
+</p>
+
 <h2 id="compiler">Compiler</h2>
 
 <p><!-- https://go.dev/issue/61577 -->