]> Cypherpunks repositories - gostls13.git/commit
runtime: don't use cgo_unsafe_args for syscall9 wrapper
authorKeith Randall <khr@golang.org>
Tue, 15 Apr 2025 16:19:36 +0000 (09:19 -0700)
committerKeith Randall <khr@golang.org>
Wed, 16 Apr 2025 06:25:16 +0000 (23:25 -0700)
commit786e62bcd3f03d73ddf0c999780ffe6f1a0319ea
tree48cfee6b8957f06e78da8d9701bc471e20960e42
parent9d7de0483861b3f882f79797939566fe8f6f9e24
runtime: don't use cgo_unsafe_args for syscall9 wrapper

It uses less stack space this way.

Similar to CL 386719
Update #71302

Change-Id: I585bde5f681a90a6900cbd326994ab8a122fd148
Reviewed-on: https://go-review.googlesource.com/c/go/+/665695
Reviewed-by: Keith Randall <khr@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/runtime/sys_darwin.go