aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/testing/example.go
AgeCommit message (Collapse)AuthorFilesLines
2022-02-11libgo: update to Go1.18beta2Ian Lance Taylor1-1/+1
gotools/ * Makefile.am (go_cmd_cgo_files): Add ast_go118.go (check-go-tool): Copy golang.org/x/tools directories. * Makefile.in: Regenerate. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/384695
2020-12-30libgo: update to Go1.16beta1 releaseIan Lance Taylor1-3/+8
This does not yet include support for the //go:embed directive added in this release. * Makefile.am (check-runtime): Don't create check-runtime-dir. (mostlyclean-local): Don't remove check-runtime-dir. (check-go-tool, check-vet): Copy in go.mod and modules.txt. (check-cgo-test, check-carchive-test): Add go.mod file. * Makefile.in: Regenerate. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/280172
2020-01-21libgo: update to Go1.14beta1Ian Lance Taylor1-2/+2
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/214297
2019-09-06libgo: update to Go 1.13beta1 releaseIan Lance Taylor1-61/+31
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/193497 From-SVN: r275473
2018-09-24libgo: update to Go 1.11Ian Lance Taylor1-2/+1
Reviewed-on: https://go-review.googlesource.com/136435 gotools/: * Makefile.am (mostlyclean-local): Run chmod on check-go-dir to make sure it is writable. (check-go-tools): Likewise. (check-vet): Copy internal/objabi to check-vet-dir. * Makefile.in: Rebuild. From-SVN: r264546
2018-01-09libgo: update to Go1.10beta1Ian Lance Taylor1-1/+1
Update the Go library to the 1.10beta1 release. Requires a few changes to the compiler for modifications to the map runtime code, and to handle some nowritebarrier cases in the runtime. Reviewed-on: https://go-review.googlesource.com/86455 gotools/: * Makefile.am (go_cmd_vet_files): New variable. (go_cmd_buildid_files, go_cmd_test2json_files): New variables. (s-zdefaultcc): Change from constants to functions. (noinst_PROGRAMS): Add vet, buildid, and test2json. (cgo$(EXEEXT)): Link against $(LIBGOTOOL). (vet$(EXEEXT)): New target. (buildid$(EXEEXT)): New target. (test2json$(EXEEXT)): New target. (install-exec-local): Install all $(noinst_PROGRAMS). (uninstall-local): Uninstasll all $(noinst_PROGRAMS). (check-go-tool): Depend on $(noinst_PROGRAMS). Copy down objabi.go. (check-runtime): Depend on $(noinst_PROGRAMS). (check-cgo-test, check-carchive-test): Likewise. (check-vet): New target. (check): Depend on check-vet. Look at cmd_vet-testlog. (.PHONY): Add check-vet. * Makefile.in: Rebuild. From-SVN: r256365
2017-01-14libgo: update to Go 1.8 release candidate 1Ian Lance Taylor1-1/+9
Compiler changes: * Change map assignment to use mapassign and assign value directly. * Change string iteration to use decoderune, faster for ASCII strings. * Change makeslice to take int, and use makeslice64 for larger values. * Add new noverflow field to hmap struct used for maps. Unresolved problems, to be fixed later: * Commented out test in go/types/sizes_test.go that doesn't compile. * Commented out reflect.TestStructOf test for padding after zero-sized field. Reviewed-on: https://go-review.googlesource.com/35231 gotools/: Updates for Go 1.8rc1. * Makefile.am (go_cmd_go_files): Add bug.go. (s-zdefaultcc): Write defaultPkgConfig. * Makefile.in: Rebuild. From-SVN: r244456
2016-07-22libgo: update to go1.7rc3Ian Lance Taylor1-5/+21
Reviewed-on: https://go-review.googlesource.com/25150 From-SVN: r238662
2015-10-31runtime: Remove now unnecessary pad field from ParFor.Ian Lance Taylor1-3/+3
It is not needed due to the removal of the ctx field. Reviewed-on: https://go-review.googlesource.com/16525 From-SVN: r229616
2015-01-15libgo, compiler: Upgrade libgo to Go 1.4, except for runtime.Ian Lance Taylor1-3/+3
This upgrades all of libgo other than the runtime package to the Go 1.4 release. In Go 1.4 much of the runtime was rewritten into Go. Merging that code will take more time and will not change the API, so I'm putting it off for now. There are a few runtime changes anyhow, to accomodate other packages that rely on minor modifications to the runtime support. The compiler changes slightly to add a one-bit flag to each type descriptor kind that is stored directly in an interface, which for gccgo is currently only pointer types. Another one-bit flag (gcprog) is reserved because it is used by the gc compiler, but gccgo does not currently use it. There is another error check in the compiler since I ran across it during testing. gotools/: * Makefile.am (go_cmd_go_files): Sort entries. Add generate.go. * Makefile.in: Rebuild. From-SVN: r219627
2013-01-29libgo: Update Go library to master revision 15489/921e53d4863c.Ian Lance Taylor1-30/+48
From-SVN: r195560
2012-12-22libgo: Update to revision 15193:6fdc1974457c of master library.Ian Lance Taylor1-6/+6
From-SVN: r194692
2012-03-06libgo: Update to weekly.2012-03-04 release.Ian Lance Taylor1-1/+9
From-SVN: r185010
2012-01-25libgo: Update to weekly.2012-01-20.Ian Lance Taylor1-7/+0
From-SVN: r183540
2012-01-13libgo: Update to weekly.2011-12-22.Ian Lance Taylor1-5/+4
From-SVN: r183150
2011-12-13libgo: Update to weekly.2011-12-02.Ian Lance Taylor1-3/+3
From-SVN: r182295
2011-12-12libgo: Update to weekly.2011-11-18.Ian Lance Taylor1-15/+13
From-SVN: r182266
2011-12-03libgo: Update to weekly.2011-11-02.Ian Lance Taylor1-1/+1
From-SVN: r181964
2011-10-26Update Go library to last weekly.Ian Lance Taylor1-0/+84
From-SVN: r180552