]> Cypherpunks repositories - gostls13.git/commit
runtime: fix windows syscalls for copying stacks
authorRuss Cox <rsc@golang.org>
Sun, 7 Sep 2014 01:19:24 +0000 (21:19 -0400)
committerRuss Cox <rsc@golang.org>
Sun, 7 Sep 2014 01:19:24 +0000 (21:19 -0400)
commit59dd20f4d3d3614edf665d79c1f4fa5f6f30d057
treed1545db6f1a88b9ceeef449b057f23a8ac8ecdc1
parentc01c2c8895e9efe48dfef89cb3c0414539962505
runtime: fix windows syscalls for copying stacks

Syscall and everything it calls must be nosplit:
we cannot split a stack once Syscall has been invoked,
because we don't know which of its arguments are
pointers.

LGTM=khr, r, alex.brainman
R=dvyukov, iant, khr, r, bradfitz, alex.brainman
CC=golang-codereviews
https://golang.org/cl/133670043
src/pkg/runtime/cgocall.go
src/pkg/runtime/os_windows.c
src/pkg/runtime/syscall_windows.c [new file with mode: 0644]
src/pkg/runtime/syscall_windows.goc [deleted file]