1
0
mirror of https://github.com/golang/go synced 2024-11-14 09:00:21 -07:00
go/misc/cgo/test/testdata
Tai e13a4d9586 cmd/cgo: build unique C type cache keys from parent names
When translating C types, cache the in-progress type under its parent
names, so that anonymous structs can also be translated for multiple
typedefs, without clashing.

Standalone types are not affected by this change.

Also updated the test for issue 9026 because the C struct name
generation algorithm has changed.

Fixes #31891

Change-Id: I00cc64852a2617ce33da13f74caec886af05b9f2
Reviewed-on: https://go-review.googlesource.com/c/go/+/181857
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2019-10-05 00:16:04 +00:00
..
gcc68255
issue8756
issue8828
issue9026 cmd/cgo: build unique C type cache keys from parent names 2019-10-05 00:16:04 +00:00
issue9400
issue9510a
issue9510b
issue20266
issue23555a
issue23555b
issue24161arg
issue24161e0
issue24161e1
issue24161e2
issue24161res
issue26213
issue26430
issue26743
issue27054
issue27340
issue29563 cmd/link: permit duplicate weak symbols 2019-03-29 17:46:01 +00:00
issue30527
cgo_linux_test.go
cgo_test.go
gcc68255.go
issue8756.go
issue8828.go
issue9026.go
issue9400_linux.go
issue9510.go
issue20266.go
issue23555.go
issue24161_darwin_test.go
issue26430.go
issue26743.go
issue27340.go
issue29563.go cmd/link: permit duplicate weak symbols 2019-03-29 17:46:01 +00:00
issue30527.go
test26213.go