diff options
| author | qmuntal <quimmuntal@gmail.com> | 2025-07-21 14:39:04 +0200 |
|---|---|---|
| committer | Quim Muntal <quimmuntal@gmail.com> | 2025-07-28 09:47:09 -0700 |
| commit | c7ed3a1c5a152d0e610bbbf104dba30099e6942a (patch) | |
| tree | e89ef2d6b5a0bcc10f4174f8e67b88e559febc8e /src/runtime/runtime2.go | |
| parent | e81eac19d30f373496cd1d08ce2f89c0469a21fd (diff) | |
| download | go-c7ed3a1c5a152d0e610bbbf104dba30099e6942a.tar.xz | |
internal/runtime/syscall/windows: factor out code from runtime
Factor out the code related to doing calls using the Windows stdcall
calling convention into a separate package. This will allow us to
reuse it in other low-level packages that can't depend on syscall.
Updates #51087.
Cq-Include-Trybots: luci.golang.try:gotip-windows-arm64,gotip-windows-amd64-longtest,gotip-solaris-amd64
Change-Id: I68640b07091183b50da6bef17406c10a397896e9
Reviewed-on: https://go-review.googlesource.com/c/go/+/689156
Reviewed-by: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Diffstat (limited to 'src/runtime/runtime2.go')
| -rw-r--r-- | src/runtime/runtime2.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/runtime/runtime2.go b/src/runtime/runtime2.go index ee07c1ed93..29e9b8a7b9 100644 --- a/src/runtime/runtime2.go +++ b/src/runtime/runtime2.go @@ -593,9 +593,7 @@ type m struct { freelink *m // on sched.freem trace mTraceState - // these are here because they are too large to be on the stack - // of low-level NOSPLIT functions. - libcall libcall + // These are here to avoid using the G stack so the stack can move during the call. libcallpc uintptr // for cpu profiler libcallsp uintptr libcallg guintptr |
