1
0
mirror of https://github.com/golang/go synced 2024-09-29 14:24:32 -06:00
go/misc/cgo/test
Russ Cox 0a006b4923 misc/cgo: prepare for 64-bit ints
In a few places, the existing cgo tests assume that a
Go int is the same as a C int. Making int 64 bits wide
on 64-bit platforms violates this assumption.
Change that code to assume that Go int32 and C int
are the same instead. That's still not great, but it's better,
and I am unaware of any systems we run on where it is not true.

Update #2188.

R=iant, r
CC=golang-dev
https://golang.org/cl/6552064
2012-09-24 14:58:45 -04:00
..
backdoor
align.go
basic.go cgo: process DWARF info even when debug data is used for value 2012-09-20 13:20:33 +10:00
callback_c.c
callback.go
cgo_linux_test.go misc/cgo/test: only run setgid test on GNU/Linux 2012-07-28 10:40:51 -07:00
cgo_test.go cgo: process DWARF info even when debug data is used for value 2012-09-20 13:20:33 +10:00
duplicate_symbol.go
env.go
exports.go
helpers.go
issue1222.go
issue1328.go
issue1560.go misc/cgo: prepare for 64-bit ints 2012-09-24 14:58:45 -04:00
issue1635.go cmd/ld: handle a special case of scattered relocation 2/1 on Darwin/386 2012-08-29 23:42:05 +08:00
issue2462.go
issue3261.go cmd/go: new cgo build procedure 2012-08-17 03:42:34 +08:00
issue3741.go
issue3945.go runtime: increase stack frame during cgo call on windows/amd64 2012-09-03 12:12:51 +10:00
issue4054a.go cgo: process DWARF info even when debug data is used for value 2012-09-20 13:20:33 +10:00
issue4054b.go cgo: process DWARF info even when debug data is used for value 2012-09-20 13:20:33 +10:00
setgid_linux.go misc/cgo/test: only run setgid test on GNU/Linux 2012-07-28 10:40:51 -07:00
sleep_windows_386.go cmd/go: new cgo build procedure 2012-08-17 03:42:34 +08:00