]> Cypherpunks.ru repositories - gostls13.git/commitdiff
doc/go1.21: NOFRAME heuristic changes
authorqmuntal <quimmuntal@gmail.com>
Thu, 8 Jun 2023 10:39:05 +0000 (12:39 +0200)
committerDavid Chase <drchase@google.com>
Thu, 8 Jun 2023 17:06:57 +0000 (17:06 +0000)
For #58378

Change-Id: I960b97f33a8bf29d3a9622b58d278544d0970a38
Reviewed-on: https://go-review.googlesource.com/c/go/+/501516
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Quim Muntal <quimmuntal@gmail.com>
Reviewed-by: David Chase <drchase@google.com>
doc/go1.21.html

index e22b75340081c32a3ccc03d3fdd1c21935be9c4a..0d6f0b018d7f96aa5cf79343a2cb197560d40b6b 100644 (file)
@@ -318,6 +318,14 @@ Do not send CLs removing the interior tags from such phrases.
 
 <h2 id="assembler">Assembler</h2>
 
+<!-- https://go.dev/issue/58378 -->
+<p>
+  On amd64, frameless nosplit assembly functions are no longer automatically marked as <code>NOFRAME</code>.
+  Instead, the <code>NOFRAME</code> attribute must be explicitly specified if desired,
+  which is already the behavior on other architectures supporting frame pointers.
+  With this, the runtime now maintains the frame pointers for stack transitions.
+</p>
+
 <!-- CL 476295 -->
 <p>
   The verifier that checks for incorrect uses of <code>R15</code> when dynamic linking on amd64 has been improved.