]> Cypherpunks repositories - gostls13.git/commit
runtime: use explicit NOFRAME on darwin/amd64
authorqmuntal <quimmuntal@gmail.com>
Tue, 7 Feb 2023 13:53:48 +0000 (14:53 +0100)
committerQuim Muntal <quimmuntal@gmail.com>
Tue, 7 Feb 2023 20:09:18 +0000 (20:09 +0000)
commitd939b3717f8eb68adb949132a6f334d6cc31045b
treebba574063572d1852b731a4b499e280b0a3af534
parentf9da938614c22c47239d3b78a06700b271fc621d
runtime: use explicit NOFRAME on darwin/amd64

This CL marks some darwin assembly functions as NOFRAME to avoid relying
on the implicit amd64 NOFRAME heuristic, where NOSPLIT functions
without stack were also marked as NOFRAME.

This is a second attempt after CL 460235 was reverted.

Change-Id: I790f2108fc01ec193aa32b0bc82362c2344a9f3b
Reviewed-on: https://go-review.googlesource.com/c/go/+/466055
Run-TryBot: Quim Muntal <quimmuntal@gmail.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
src/cmd/internal/obj/x86/obj6.go
src/runtime/sys_darwin_amd64.s