gcc/libgo/go
Ian Lance Taylor 867b003fd7 runtime: skip zero-sized fields in structs when converting to FFI
The libffi library doesn't understand zero-sized objects.
    When we see a zero-sized field in a struct, just skip it when
    converting to the FFI data structures. There is no value to pass in
    any case, so not telling libffi about the field doesn't affect
    anything.
    
    The test case for this is https://golang.org/cl/123316.
    
    Fixes golang/go#26335
    
    Reviewed-on: https://go-review.googlesource.com/123335

From-SVN: r262651
2018-07-13 20:39:02 +00:00
..
archive libgo: update to Go 1.10.2 release 2018-05-31 21:42:53 +00:00
bufio libgo: update to Go1.10beta1 2018-01-09 01:23:08 +00:00
builtin libgo: update to Go1.10beta1 2018-01-09 01:23:08 +00:00
bytes libgo: update to Go1.10beta1 2018-01-09 01:23:08 +00:00
cmd cmd/go: re-enable a couple of tests of gccgo 2018-06-21 23:02:25 +00:00
compress libgo: update to Go1.10beta1 2018-01-09 01:23:08 +00:00
container libgo: update to Go1.10beta2 release 2018-01-17 14:20:29 +00:00
context libgo: update to Go1.10beta1 2018-01-09 01:23:08 +00:00
crypto libgo: update to Go 1.10.3 release 2018-06-13 13:51:23 +00:00
database/sql libgo: update to Go1.10rc2 2018-02-08 15:30:22 +00:00
debug debug/dwarf: formStrp uses a 64-bit value for 64-bit DWARF 2018-01-11 01:51:16 +00:00
encoding libgo: update to Go 1.10.2 release 2018-05-31 21:42:53 +00:00
errors libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
expvar libgo: update to Go1.10beta1 2018-01-09 01:23:08 +00:00
flag libgo: update to Go1.10beta1 2018-01-09 01:23:08 +00:00
fmt libgo: update to Go1.10beta1 2018-01-09 01:23:08 +00:00
go libgo: add riscv and js/wasm as known targets 2018-06-11 19:16:34 +00:00
golang_org/x libgo: add aix build tags 2018-01-10 04:53:55 +00:00
hash libgo: update to Go1.10beta1 2018-01-09 01:23:08 +00:00
html libgo: update to Go1.10beta2 release 2018-01-17 14:20:29 +00:00
image libgo: update to Go1.10beta1 2018-01-09 01:23:08 +00:00
index/suffixarray libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
internal libgo: update to Go 1.10.2 release 2018-05-31 21:42:53 +00:00
io libgo: update to Go1.10beta1 2018-01-09 01:23:08 +00:00
log libgo: update to Go1.10beta1 2018-01-09 01:23:08 +00:00
math math: adjust compilation flags, use them when testing 2018-02-01 21:05:20 +00:00
mime libgo: update to Go1.10beta1 2018-01-09 01:23:08 +00:00
net libgo: update to Go 1.10.2 release 2018-05-31 21:42:53 +00:00
os re PR go/86331 (the gccgo's "go" tool looks like failing to invoke any sub go command) 2018-07-02 16:28:43 +00:00
path libgo: update to Go1.10beta1 2018-01-09 01:23:08 +00:00
plugin libgo: update to Go1.10beta2 release 2018-01-17 14:20:29 +00:00
reflect reflect: fix StructOf hash and string 2018-06-06 14:50:16 +00:00
regexp libgo: update to Go1.10beta1 2018-01-09 01:23:08 +00:00
runtime runtime: skip zero-sized fields in structs when converting to FFI 2018-07-13 20:39:02 +00:00
sort libgo: update to Go1.10beta1 2018-01-09 01:23:08 +00:00
strconv libgo: update to Go1.10beta1 2018-01-09 01:23:08 +00:00
strings libgo: update to Go 1.10.3 release 2018-06-13 13:51:23 +00:00
sync re PR go/84215 (Random results in go/libgo tests) 2018-02-12 18:50:16 +00:00
syscall syscall: remove Ustat 2018-06-22 14:25:52 +00:00
testing libgo: update to Go1.10beta2 release 2018-01-17 14:20:29 +00:00
text libgo: update to Go1.10rc2 2018-02-08 15:30:22 +00:00
time libgo: update to Go1.10beta1 2018-01-09 01:23:08 +00:00
unicode libgo: update to Go1.10beta1 2018-01-09 01:23:08 +00:00