]> Cypherpunks repositories - gostls13.git/commit
runtime: use explicit NOFRAME on linux/amd64
authorqmuntal <quimmuntal@gmail.com>
Wed, 8 Feb 2023 08:40:44 +0000 (09:40 +0100)
committerQuim Muntal <quimmuntal@gmail.com>
Wed, 22 Feb 2023 21:35:26 +0000 (21:35 +0000)
commit521d2614df0cf4fa3a92bd01e1c98d77bfeac9ed
tree946da115e94c13f893c7f417e00603197bcc26d8
parent133e0bca0be23980604ee98589ddcacdb1262afd
runtime: use explicit NOFRAME on linux/amd64

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

Updates #58378

Change-Id: I7792cff4f6e539bfa56c02868f2965088ca1975a
Reviewed-on: https://go-review.googlesource.com/c/go/+/466316
Reviewed-by: Than McIntosh <thanm@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Run-TryBot: Quim Muntal <quimmuntal@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/internal/obj/x86/obj6.go
src/cmd/link/internal/ld/testdata/stackcheck/main.s
src/runtime/sys_linux_amd64.s