]> Cypherpunks repositories - gostls13.git/commit
runtime: use explicit NOFRAME on windows/amd64
authorqmuntal <quimmuntal@gmail.com>
Fri, 23 Dec 2022 12:22:00 +0000 (13:22 +0100)
committerQuim Muntal <quimmuntal@gmail.com>
Tue, 24 Jan 2023 19:29:51 +0000 (19:29 +0000)
commit083d94f69c35b2244ea43738c1d28aa5d9e6d567
treecbcc4cf9b4eb2a6f7e351423c9e2bcb61135de37
parent27500d88f082d2789f90a644962684b4118c4d44
runtime: use explicit NOFRAME on windows/amd64

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

Updates #57302
Updates #40044

Change-Id: Ia4d26f8420dcf2b54528969ffbf40a73f1315d61
Reviewed-on: https://go-review.googlesource.com/c/go/+/459395
Reviewed-by: Cherry Mui <cherryyz@google.com>
Run-TryBot: Quim Muntal <quimmuntal@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/internal/obj/x86/obj6.go
src/runtime/asm_amd64.s
src/runtime/cgo/asm_amd64.s
src/runtime/duff_amd64.s
src/runtime/mkduff.go
src/runtime/race_amd64.s
src/runtime/rt0_windows_amd64.s
src/runtime/sys_windows_amd64.s
src/runtime/wincallback.go
src/runtime/zcallback_windows.s