Skip to content

Commit

Permalink
doc/go1.21: NOFRAME heuristic changes
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
qmuntal authored and dr2chase committed Jun 8, 2023
1 parent a272d1f commit 765bd69
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions doc/go1.21.html
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,14 @@ <h2 id="compiler">Compiler</h2>

<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.
Expand Down

0 comments on commit 765bd69

Please sign in to comment.