Skip to content

Commit 765bd69

Browse files
qmuntaldr2chase
authored andcommitted
doc/go1.21: NOFRAME heuristic changes
For #58378 Change-Id: I960b97f33a8bf29d3a9622b58d278544d0970a38 Reviewed-on: https://go-review.googlesource.com/c/go/+/501516 Reviewed-by: Cherry Mui <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Run-TryBot: Quim Muntal <[email protected]> Reviewed-by: David Chase <[email protected]>
1 parent a272d1f commit 765bd69

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

doc/go1.21.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,14 @@ <h2 id="compiler">Compiler</h2>
318318

319319
<h2 id="assembler">Assembler</h2>
320320

321+
<!-- https://go.dev/issue/58378 -->
322+
<p>
323+
On amd64, frameless nosplit assembly functions are no longer automatically marked as <code>NOFRAME</code>.
324+
Instead, the <code>NOFRAME</code> attribute must be explicitly specified if desired,
325+
which is already the behavior on other architectures supporting frame pointers.
326+
With this, the runtime now maintains the frame pointers for stack transitions.
327+
</p>
328+
321329
<!-- CL 476295 -->
322330
<p>
323331
The verifier that checks for incorrect uses of <code>R15</code> when dynamic linking on amd64 has been improved.

0 commit comments

Comments
 (0)