1
0
mirror of https://github.com/golang/go synced 2024-11-13 19:00:25 -07:00
go/misc
Russ Cox dc370995a8 test: demo for issue 7695
Cgo writes C function declarations pretending every arg is a pointer.
If the C function is deferred, it does not inhibit stack copying on split.
The stack copying code believes the C declaration, possibly misinterpreting
integers as pointers.

Probably the right fix for Go 1.3 is to make deferred C functions inhibit
stack copying.

For Go 1.4 and beyond we probably need to make cgo generate Go code
for 6g here, not C code for 6c.

Update #7695

LGTM=khr
R=khr
CC=golang-codereviews
https://golang.org/cl/83820043
2014-04-16 23:06:37 -04:00
..
arm
bash misc/bash, misc/zsh: fix completion rules 2014-03-27 00:29:55 -04:00
bbedit misc/{bbedit|IntelliJIDEA|kate}: add missing delete predeclared identifier 2013-06-24 13:17:56 -07:00
cgo test: demo for issue 7695 2014-04-16 23:06:37 -04:00
chrome/gophertool gophertool: fix links 2012-10-22 01:05:21 +08:00
dashboard/codereview misc/dashboard/app, misc/dashboard/builder: delete from main repo; part of move to go.tools 2013-08-01 13:27:27 +10:00
emacs misc/emacs: ignore backquote in comment or string 2014-04-09 12:28:27 -04:00
fraise
git misc/git: add gofmt git pre-commit hook 2012-11-15 19:58:49 +01:00
goplay misc/goplay: use go run x.go instead of go build x.go 2013-07-12 09:41:10 +10:00
IntelliJIDEA misc/{bbedit|IntelliJIDEA|kate}: add missing delete predeclared identifier 2013-06-24 13:17:56 -07:00
kate misc/{bbedit|IntelliJIDEA|kate}: add missing delete predeclared identifier 2013-06-24 13:17:56 -07:00
linkcheck misc/linkcheck: better redirect handling, use meaningful exit code 2013-10-25 17:31:02 +03:00
makerelease misc/makerelease: use windows installer resources from local goroot 2014-03-03 12:50:29 +11:00
nacl misc/nacl: add Native Client support scripts and documentation 2014-03-24 12:34:09 +11:00
notepadplus misc/notepadplus: Fix Function List in Notepad++ 6.5 2013-12-18 10:17:38 -08:00
swig cmd/go: add any .c/.cc files to the SWIG shared library 2013-10-09 10:35:46 -07:00
vim misc/vim: Disable automatic line wrapping by textwidth. 2014-03-26 13:51:16 +11:00
xcode misc/xcode: use xcode-select to determine path 2013-08-20 20:48:29 +10:00
zsh misc/bash, misc/zsh: fix completion rules 2014-03-27 00:29:55 -04:00
benchcmp benchcmp: leave a forwarding script 2014-03-31 16:39:41 -04:00
pprof runtime: more precise mprof sampling 2014-02-12 22:36:45 +04:00