You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
garble/testdata/scripts
Daniel Martí 14d3803a7b fix hashing of generic field names
Trying to make Go master work, I noticed that crypto/tls still failed to
build. The reason was generic structs; we would badly obfuscate their
field names when the types are instantiated:

	> garble build
	[stderr]
	# test/main
	Z4ZpcbMj.go:4: unknown field 'FOpszkrN' in struct literal of type SYdpWfK5[string]
	Z4ZpcbMj.go:5: m8hLTotb.FypXrbTd undefined (type SYdpWfK5[string] has no field or method FypXrbTd)
	exit status 2

See the added comment for what happened and how we fixed it. And add tests.
3 years ago
..
asm.txt all: drop support for Go 1.17 4 years ago
basic.txt add missing context to two unmarshal errors 4 years ago
cgo.txt all: drop support for Go 1.17 4 years ago
crossbuild.txt all: drop support for Go 1.17 4 years ago
debugdir.txt all: drop support for Go 1.17 4 years ago
embed.txt all: drop support for Go 1.17 4 years ago
gogarble.txt all: drop support for Go 1.17 4 years ago
goversion.txt all: drop support for Go 1.17 4 years ago
help.txt make "garble version" friendlier for devel builds 3 years ago
implement.txt all: drop support for Go 1.17 4 years ago
imports.txt Fix removing named imports and fix removing imports with init() methods 4 years ago
init.txt all: drop support for Go 1.17 4 years ago
ldflags.txt all: drop support for Go 1.17 4 years ago
linkname.txt all: drop support for Go 1.17 4 years ago
literals.txt support code taking the address of a []byte literal (#530) 3 years ago
modinfo.txt all: drop support for Go 1.17 4 years ago
plugin.txt all: drop support for Go 1.17 4 years ago
position.txt all: drop support for Go 1.17 4 years ago
reflect.txt make KnownReflectAPIs aware of variadic funcs 4 years ago
reverse.txt all: drop support for Go 1.17 4 years ago
seed-cache.txt all: drop support for Go 1.17 4 years ago
seed.txt all: drop support for Go 1.17 4 years ago
syntax.txt all: drop support for Go 1.17 4 years ago
test.txt skip unnecessary "refusing to list" test errors 4 years ago
tiny.txt all: drop support for Go 1.17 4 years ago
typeparams.txt fix hashing of generic field names 3 years ago