This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch master in repository gcc.
from a470c772601 * cp-tree.h (build_noexcept_spec, add_exception_specifier) [...] new b0751b120f1 libgo: update to Go 1.11
The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: gcc/go/gofrontend/MERGE | 2 +- gcc/testsuite/go.test/test/fixedbugs/bug273.go | 12 +- gcc/testsuite/go.test/test/fixedbugs/issue4085b.go | 35 +- gotools/ChangeLog | 8 + gotools/Makefile.am | 6 +- gotools/Makefile.in | 8 +- libgo/MERGE | 2 +- libgo/Makefile.am | 29 +- libgo/Makefile.in | 38 +- libgo/VERSION | 2 +- libgo/check-packages.txt | 20 + libgo/go/archive/tar/common.go | 9 +- libgo/go/archive/tar/format.go | 2 +- libgo/go/archive/tar/reader.go | 15 +- libgo/go/archive/tar/reader_test.go | 17 +- libgo/go/archive/tar/tar_test.go | 1 + .../{pax-nul-xattrs.tar => file-and-dir.tar} | Bin 2560 -> 2560 bytes libgo/go/archive/tar/testdata/trailing-slash.tar | Bin 2560 -> 2560 bytes libgo/go/archive/tar/writer.go | 13 +- libgo/go/archive/tar/writer_test.go | 13 +- libgo/go/archive/zip/struct.go | 17 +- libgo/go/archive/zip/writer.go | 80 +- libgo/go/archive/zip/writer_test.go | 54 + libgo/go/archive/zip/zip_test.go | 47 +- libgo/go/bufio/bufio.go | 6 +- libgo/go/bufio/scan.go | 19 +- libgo/go/bytes/buffer.go | 1 + libgo/go/bytes/buffer_test.go | 33 + libgo/go/bytes/bytes.go | 101 +- libgo/go/bytes/bytes_amd64.go | 90 - libgo/go/bytes/bytes_arm64.go | 70 - libgo/go/bytes/bytes_decl.go | 8 +- libgo/go/bytes/bytes_generic.go | 65 - libgo/go/bytes/bytes_s390x.go | 88 - libgo/go/bytes/bytes_test.go | 8 - libgo/go/bytes/compare_test.go | 15 +- libgo/go/bytes/export_test.go | 1 - libgo/go/cmd/buildid/buildid.go | 29 +- libgo/go/cmd/cgo/ast.go | 3 +- libgo/go/cmd/cgo/doc.go | 50 +- libgo/go/cmd/cgo/gcc.go | 147 +- libgo/go/cmd/cgo/godefs.go | 2 +- libgo/go/cmd/cgo/main.go | 27 +- libgo/go/cmd/cgo/out.go | 103 +- libgo/go/cmd/cgo/util.go | 4 + libgo/go/cmd/go/alldocs.go | 1480 ++++++- libgo/go/cmd/go/go_test.go | 1229 +++--- libgo/go/cmd/go/go_windows_test.go | 16 +- libgo/go/cmd/go/internal/base/base.go | 34 +- libgo/go/cmd/go/internal/base/goflags.go | 152 + libgo/go/cmd/go/internal/base/signal_unix.go | 2 +- libgo/go/cmd/go/internal/bug/bug.go | 5 +- libgo/go/cmd/go/internal/cache/cache.go | 15 + libgo/go/cmd/go/internal/cache/default.go | 37 +- .../go/cmd/go/internal/cache/default_unix_test.go | 67 + libgo/go/cmd/go/internal/cfg/cfg.go | 38 +- libgo/go/cmd/go/internal/clean/clean.go | 42 +- libgo/go/cmd/go/internal/cmdflag/flag.go | 36 + libgo/go/cmd/go/internal/dirhash/hash.go | 103 + libgo/go/cmd/go/internal/dirhash/hash_test.go | 135 + libgo/go/cmd/go/internal/doc/doc.go | 2 +- libgo/go/cmd/go/internal/envcmd/env.go | 37 +- libgo/go/cmd/go/internal/fix/fix.go | 13 +- libgo/go/cmd/go/internal/fmtcmd/fmt.go | 12 +- libgo/go/cmd/go/internal/generate/generate.go | 30 +- libgo/go/cmd/go/internal/get/discovery.go | 36 +- libgo/go/cmd/go/internal/get/get.go | 122 +- libgo/go/cmd/go/internal/get/pkg_test.go | 36 +- libgo/go/cmd/go/internal/get/vcs.go | 144 +- libgo/go/cmd/go/internal/get/vcs_test.go | 133 +- libgo/go/cmd/go/internal/help/help.go | 87 +- libgo/go/cmd/go/internal/help/helpdoc.go | 71 +- libgo/go/cmd/go/internal/imports/build.go | 211 + .../{go/build => cmd/go/internal/imports}/read.go | 12 +- .../build => cmd/go/internal/imports}/read_test.go | 12 +- libgo/go/cmd/go/internal/imports/scan.go | 96 + libgo/go/cmd/go/internal/imports/scan_test.go | 67 + libgo/go/cmd/go/internal/imports/tags.go | 34 + .../cmd/go/internal/imports/testdata/import1/x.go | 3 + .../cmd/go/internal/imports/testdata/import1/x1.go | 9 + .../internal/imports/testdata/import1/x_darwin.go | 3 + .../internal/imports/testdata/import1/x_windows.go | 3 + libgo/go/cmd/go/internal/list/list.go | 508 ++- libgo/go/cmd/go/internal/load/flag.go | 28 - libgo/go/cmd/go/internal/load/path.go | 16 - libgo/go/cmd/go/internal/load/pkg.go | 684 +-- libgo/go/cmd/go/internal/load/search.go | 339 +- libgo/go/cmd/go/internal/load/test.go | 654 +++ libgo/go/cmd/go/internal/modcmd/download.go | 133 + libgo/go/cmd/go/internal/modcmd/edit.go | 382 ++ libgo/go/cmd/go/internal/modcmd/graph.go | 73 + libgo/go/cmd/go/internal/modcmd/init.go | 41 + libgo/go/cmd/go/internal/modcmd/mod.go | 31 + libgo/go/cmd/go/internal/modcmd/tidy.go | 90 + libgo/go/cmd/go/internal/modcmd/vendor.go | 200 + libgo/go/cmd/go/internal/modcmd/verify.go | 96 + libgo/go/cmd/go/internal/modcmd/why.go | 121 + libgo/go/cmd/go/internal/modconv/convert.go | 90 + libgo/go/cmd/go/internal/modconv/convert_test.go | 186 + libgo/go/cmd/go/internal/modconv/dep.go | 74 + libgo/go/cmd/go/internal/modconv/glide.go | 42 + libgo/go/cmd/go/internal/modconv/glock.go | 24 + libgo/go/cmd/go/internal/modconv/godeps.go | 30 + libgo/go/cmd/go/internal/modconv/modconv.go | 19 + libgo/go/cmd/go/internal/modconv/modconv_test.go | 66 + .../go/internal/modconv/testdata/cockroach.glock | 41 + .../cmd/go/internal/modconv/testdata/cockroach.out | 31 + .../internal/modconv/testdata/dockermachine.godeps | 159 + .../go/internal/modconv/testdata/dockermachine.out | 33 + .../go/internal/modconv/testdata/dockerman.glide | 52 + .../cmd/go/internal/modconv/testdata/dockerman.out | 16 + .../cmd/go/internal/modconv/testdata/govmomi.out | 5 + .../go/internal/modconv/testdata/govmomi.vmanifest | 46 + libgo/go/cmd/go/internal/modconv/testdata/juju.out | 106 + libgo/go/cmd/go/internal/modconv/testdata/juju.tsv | 106 + libgo/go/cmd/go/internal/modconv/testdata/moby.out | 105 + .../go/cmd/go/internal/modconv/testdata/moby.vconf | 149 + .../go/internal/modconv/testdata/panicparse.out | 8 + .../go/internal/modconv/testdata/panicparse.vyml | 17 + .../go/internal/modconv/testdata/prometheus.out | 258 ++ .../go/internal/modconv/testdata/prometheus.vjson | 1605 +++++++ .../go/cmd/go/internal/modconv/testdata/upspin.dep | 57 + .../go/cmd/go/internal/modconv/testdata/upspin.out | 8 + libgo/go/cmd/go/internal/modconv/tsv.go | 24 + libgo/go/cmd/go/internal/modconv/vconf.go | 27 + libgo/go/cmd/go/internal/modconv/vjson.go | 29 + libgo/go/cmd/go/internal/modconv/vmanifest.go | 29 + libgo/go/cmd/go/internal/modconv/vyml.go | 42 + libgo/go/cmd/go/internal/modfetch/cache.go | 522 +++ libgo/go/cmd/go/internal/modfetch/cache_test.go | 25 + .../cmd/go/internal/modfetch/codehost/codehost.go | 266 ++ libgo/go/cmd/go/internal/modfetch/codehost/git.go | 711 ++++ .../cmd/go/internal/modfetch/codehost/git_test.go | 635 +++ .../go/cmd/go/internal/modfetch/codehost/shell.go | 140 + libgo/go/cmd/go/internal/modfetch/codehost/vcs.go | 528 +++ libgo/go/cmd/go/internal/modfetch/coderepo.go | 605 +++ libgo/go/cmd/go/internal/modfetch/coderepo_test.go | 643 +++ libgo/go/cmd/go/internal/modfetch/fetch.go | 365 ++ libgo/go/cmd/go/internal/modfetch/noweb.go | 24 + libgo/go/cmd/go/internal/modfetch/proxy.go | 252 ++ libgo/go/cmd/go/internal/modfetch/pseudo.go | 129 + libgo/go/cmd/go/internal/modfetch/pseudo_test.go | 74 + libgo/go/cmd/go/internal/modfetch/repo.go | 363 ++ libgo/go/cmd/go/internal/modfetch/unzip.go | 153 + libgo/go/cmd/go/internal/modfetch/web.go | 31 + libgo/go/cmd/go/internal/modfile/gopkgin.go | 47 + libgo/go/cmd/go/internal/modfile/print.go | 164 + libgo/go/cmd/go/internal/modfile/read.go | 869 ++++ libgo/go/cmd/go/internal/modfile/read_test.go | 365 ++ libgo/go/cmd/go/internal/modfile/rule.go | 724 ++++ libgo/go/cmd/go/internal/modfile/rule_test.go | 90 + .../cmd/go/internal/modfile/testdata/block.golden | 29 + libgo/go/cmd/go/internal/modfile/testdata/block.in | 29 + .../go/internal/modfile/testdata/comment.golden | 10 + .../go/cmd/go/internal/modfile/testdata/comment.in | 8 + .../cmd/go/internal/modfile/testdata/empty.golden | 0 .../go/cmd/go/internal/modfile/testdata/empty.in | 0 .../go/internal/modfile/testdata/gopkg.in.golden | 6 + .../cmd/go/internal/modfile/testdata/module.golden | 1 + .../go/cmd/go/internal/modfile/testdata/module.in | 1 + .../go/internal/modfile/testdata/replace.golden | 5 + .../go/cmd/go/internal/modfile/testdata/replace.in | 5 + .../go/internal/modfile/testdata/replace2.golden | 10 + .../cmd/go/internal/modfile/testdata/replace2.in | 10 + .../cmd/go/internal/modfile/testdata/rule1.golden | 7 + libgo/go/cmd/go/internal/modget/get.go | 656 +++ libgo/go/cmd/go/internal/modinfo/info.go | 49 + libgo/go/cmd/go/internal/modload/build.go | 243 ++ libgo/go/cmd/go/internal/modload/help.go | 462 ++ libgo/go/cmd/go/internal/modload/import.go | 228 + libgo/go/cmd/go/internal/modload/import_test.go | 59 + libgo/go/cmd/go/internal/modload/init.go | 600 +++ libgo/go/cmd/go/internal/modload/list.go | 109 + libgo/go/cmd/go/internal/modload/load.go | 1071 +++++ libgo/go/cmd/go/internal/modload/query.go | 249 ++ libgo/go/cmd/go/internal/modload/query_test.go | 151 + libgo/go/cmd/go/internal/modload/search.go | 134 + libgo/go/cmd/go/internal/module/module.go | 540 +++ libgo/go/cmd/go/internal/module/module_test.go | 318 ++ libgo/go/cmd/go/internal/mvs/mvs.go | 368 ++ libgo/go/cmd/go/internal/mvs/mvs_test.go | 473 +++ libgo/go/cmd/go/internal/par/work.go | 149 + libgo/go/cmd/go/internal/par/work_test.go | 77 + libgo/go/cmd/go/internal/run/run.go | 46 +- .../go/cmd/go/internal/{load => search}/search.go | 330 +- .../{load/match_test.go => search/search_test.go} | 10 +- libgo/go/cmd/go/internal/semver/semver.go | 388 ++ libgo/go/cmd/go/internal/semver/semver_test.go | 182 + libgo/go/cmd/go/internal/str/path.go | 25 +- libgo/go/cmd/go/internal/test/cover.go | 2 +- libgo/go/cmd/go/internal/test/test.go | 565 +-- libgo/go/cmd/go/internal/test/testflag.go | 2 + libgo/go/cmd/go/internal/tool/tool.go | 2 +- libgo/go/cmd/go/internal/txtar/archive.go | 140 + libgo/go/cmd/go/internal/txtar/archive_test.go | 67 + libgo/go/cmd/go/internal/version/version.go | 2 +- libgo/go/cmd/go/internal/vet/vet.go | 7 +- libgo/go/cmd/go/internal/vet/vetflag.go | 71 +- libgo/go/cmd/go/internal/web2/web.go | 297 ++ libgo/go/cmd/go/internal/web2/web_test.go | 35 + libgo/go/cmd/go/internal/webtest/test.go | 314 ++ libgo/go/cmd/go/internal/work/action.go | 71 +- libgo/go/cmd/go/internal/work/build.go | 69 +- libgo/go/cmd/go/internal/work/build_test.go | 51 +- libgo/go/cmd/go/internal/work/buildid.go | 119 +- libgo/go/cmd/go/internal/work/exec.go | 757 +++- libgo/go/cmd/go/internal/work/gc.go | 26 +- libgo/go/cmd/go/internal/work/gccgo.go | 4 +- libgo/go/cmd/go/internal/work/init.go | 54 +- libgo/go/cmd/go/internal/work/security.go | 3 + libgo/go/cmd/go/internal/work/security_test.go | 2 + libgo/go/cmd/go/main.go | 104 +- libgo/go/cmd/go/proxy_test.go | 272 ++ libgo/go/cmd/go/script_test.go | 905 ++++ libgo/go/cmd/go/testdata/addmod.go | 154 + libgo/go/cmd/go/testdata/badmod/go.mod | 1 + libgo/go/cmd/go/testdata/badmod/x.go | 4 + .../importcycle/src/selfimport/selfimport.go | 3 + libgo/go/cmd/go/testdata/mod/README | 36 + .../mod/example.com_join_subpkg_v1.0.0.txt | 9 + .../mod/example.com_join_subpkg_v1.1.0.txt | 9 + .../go/testdata/mod/example.com_join_v1.0.0.txt | 7 + .../go/testdata/mod/example.com_join_v1.1.0.txt | 9 + .../mod/example.com_split_subpkg_v1.1.0.txt | 11 + .../go/testdata/mod/example.com_split_v1.0.0.txt | 9 + .../go/testdata/mod/example.com_split_v1.1.0.txt | 9 + .../go/cmd/go/testdata/mod/example.com_v1.0.0.txt | 9 + .../mod/golang.org_notx_useinternal_v0.1.0.txt | 13 + .../testdata/mod/golang.org_x_internal_v0.1.0.txt | 43 + ...g_x_text_v0.0.0-20170915032832-14c0d48ead0c.txt | 47 + .../go/testdata/mod/golang.org_x_text_v0.3.0.txt | 47 + .../mod/golang.org_x_useinternal_v0.1.0.txt | 13 + .../mod/gopkg.in_dummy.v2-unstable_v2.0.0.txt | 9 + .../mod/research.swtch.com_vgo-tour_v1.0.0.txt | 23 + .../cmd/go/testdata/mod/rsc.io_!c!g!o_v1.0.0.txt | 19 + .../go/testdata/mod/rsc.io_!q!u!o!t!e_v1.5.2.txt | 88 + .../mod/rsc.io_!q!u!o!t!e_v1.5.3-!p!r!e.txt | 88 + .../cmd/go/testdata/mod/rsc.io_badfile1_v1.0.0.txt | 14 + .../cmd/go/testdata/mod/rsc.io_badfile2_v1.0.0.txt | 12 + .../cmd/go/testdata/mod/rsc.io_badfile3_v1.0.0.txt | 12 + .../cmd/go/testdata/mod/rsc.io_badfile4_v1.0.0.txt | 15 + .../cmd/go/testdata/mod/rsc.io_badfile5_v1.0.0.txt | 13 + .../cmd/go/testdata/mod/rsc.io_badmod_v1.0.0.txt | 11 + .../cmd/go/testdata/mod/rsc.io_breaker_v1.0.0.txt | 11 + .../mod/rsc.io_breaker_v2.0.0+incompatible.txt | 11 + .../cmd/go/testdata/mod/rsc.io_breaker_v2.0.0.txt | 11 + .../cmd/go/testdata/mod/rsc.io_fortune_v1.0.0.txt | 15 + .../go/testdata/mod/rsc.io_fortune_v2_v2.0.0.txt | 15 + ...io_quote_v0.0.0-20180214005133-e7a685a342c0.txt | 60 + ...io_quote_v0.0.0-20180214005840-23179ee8a569.txt | 86 + ...io_quote_v0.0.0-20180628003336-dd9747d19b04.txt | 100 + ...io_quote_v0.0.0-20180709153244-fd906ed3b100.txt | 86 + ...io_quote_v0.0.0-20180709160352-0d003b9c4bfa.txt | 98 + ...io_quote_v0.0.0-20180709162749-b44a0b17b2d1.txt | 104 + ...io_quote_v0.0.0-20180709162816-fe488b867524.txt | 104 + ...io_quote_v0.0.0-20180709162918-a91498bed0a7.txt | 98 + ...io_quote_v0.0.0-20180710144737-5d9f230bcfba.txt | 104 + .../go/cmd/go/testdata/mod/rsc.io_quote_v1.0.0.txt | 35 + .../go/cmd/go/testdata/mod/rsc.io_quote_v1.1.0.txt | 48 + .../go/cmd/go/testdata/mod/rsc.io_quote_v1.2.0.txt | 61 + .../go/cmd/go/testdata/mod/rsc.io_quote_v1.2.1.txt | 60 + .../go/cmd/go/testdata/mod/rsc.io_quote_v1.3.0.txt | 73 + .../go/cmd/go/testdata/mod/rsc.io_quote_v1.4.0.txt | 79 + .../go/cmd/go/testdata/mod/rsc.io_quote_v1.5.0.txt | 79 + .../go/cmd/go/testdata/mod/rsc.io_quote_v1.5.1.txt | 86 + .../go/cmd/go/testdata/mod/rsc.io_quote_v1.5.2.txt | 98 + .../go/testdata/mod/rsc.io_quote_v1.5.3-pre1.txt | 100 + .../go/cmd/go/testdata/mod/rsc.io_quote_v2.0.0.txt | 86 + .../cmd/go/testdata/mod/rsc.io_quote_v2_v2.0.1.txt | 86 + .../cmd/go/testdata/mod/rsc.io_quote_v3_v3.0.0.txt | 45 + .../cmd/go/testdata/mod/rsc.io_sampler_v1.0.0.txt | 20 + .../cmd/go/testdata/mod/rsc.io_sampler_v1.2.0.txt | 138 + .../cmd/go/testdata/mod/rsc.io_sampler_v1.2.1.txt | 134 + .../cmd/go/testdata/mod/rsc.io_sampler_v1.3.0.txt | 202 + .../cmd/go/testdata/mod/rsc.io_sampler_v1.3.1.txt | 201 + .../go/testdata/mod/rsc.io_sampler_v1.99.99.txt | 140 + .../cmd/go/testdata/mod/rsc.io_testonly_v1.0.0.txt | 9 + libgo/go/cmd/go/testdata/savedir.go | 79 + libgo/go/cmd/go/testdata/script/README | 261 ++ libgo/go/cmd/go/testdata/script/binary_only.txt | 10 + libgo/go/cmd/go/testdata/script/build_GOTMPDIR.txt | 11 + .../cmd/go/testdata/script/build_cache_compile.txt | 18 + .../go/cmd/go/testdata/script/build_cache_link.txt | 23 + .../cmd/go/testdata/script/build_cache_output.txt | 63 + .../cmd/go/testdata/script/cover_atomic_pkgall.txt | 23 + .../go/testdata/script/cover_pkgall_runtime.txt | 21 + .../cmd/go/testdata/script/cpu_profile_twice.txt | 20 + libgo/go/cmd/go/testdata/script/fileline.txt | 6 + .../cmd/go/testdata/script/get_with_git_trace.txt | 7 + libgo/go/cmd/go/testdata/script/goflags.txt | 49 + libgo/go/cmd/go/testdata/script/help.txt | 30 + .../go/testdata/script/install_cleans_build.txt | 22 + .../cmd/go/testdata/script/install_cross_gobin.txt | 25 + .../go/testdata/script/install_rebuild_gopath.txt | 28 + .../go/testdata/script/install_rebuild_removed.txt | 42 + libgo/go/cmd/go/testdata/script/linkname.txt | 7 + .../go/cmd/go/testdata/script/list_bad_import.txt | 67 + .../go/testdata/script/list_compiled_imports.txt | 29 + libgo/go/cmd/go/testdata/script/list_find.txt | 10 + libgo/go/cmd/go/testdata/script/list_std.txt | 12 + libgo/go/cmd/go/testdata/script/list_tags.txt | 8 + libgo/go/cmd/go/testdata/script/list_test_e.txt | 9 + .../cmd/go/testdata/script/list_test_imports.txt | 19 + libgo/go/cmd/go/testdata/script/mod_bad_domain.txt | 29 + .../cmd/go/testdata/script/mod_bad_filenames.txt | 11 + libgo/go/cmd/go/testdata/script/mod_build_tags.txt | 30 + libgo/go/cmd/go/testdata/script/mod_case.txt | 20 + libgo/go/cmd/go/testdata/script/mod_case_cgo.txt | 9 + .../go/cmd/go/testdata/script/mod_convert_dep.txt | 9 + .../go/cmd/go/testdata/script/mod_convert_git.txt | 10 + .../cmd/go/testdata/script/mod_convert_glide.txt | 9 + .../go/testdata/script/mod_convert_glockfile.txt | 9 + .../cmd/go/testdata/script/mod_convert_godeps.txt | 10 + .../go/cmd/go/testdata/script/mod_convert_tsv.txt | 9 + .../go/testdata/script/mod_convert_vendor_conf.txt | 9 + .../go/testdata/script/mod_convert_vendor_json.txt | 10 + .../script/mod_convert_vendor_manifest.txt | 10 + .../go/testdata/script/mod_convert_vendor_yml.txt | 9 + libgo/go/cmd/go/testdata/script/mod_doc.txt | 36 + .../go/cmd/go/testdata/script/mod_domain_root.txt | 12 + libgo/go/cmd/go/testdata/script/mod_download.txt | 64 + libgo/go/cmd/go/testdata/script/mod_edit.txt | 136 + libgo/go/cmd/go/testdata/script/mod_enabled.txt | 82 + libgo/go/cmd/go/testdata/script/mod_file_proxy.txt | 25 + libgo/go/cmd/go/testdata/script/mod_find.txt | 91 + .../go/cmd/go/testdata/script/mod_fs_patterns.txt | 66 + libgo/go/cmd/go/testdata/script/mod_get_commit.txt | 53 + .../cmd/go/testdata/script/mod_get_downgrade.txt | 39 + .../go/testdata/script/mod_get_incompatible.txt | 26 + .../go/cmd/go/testdata/script/mod_get_indirect.txt | 51 + libgo/go/cmd/go/testdata/script/mod_get_local.txt | 61 + libgo/go/cmd/go/testdata/script/mod_get_moved.txt | 37 + libgo/go/cmd/go/testdata/script/mod_get_none.txt | 12 + libgo/go/cmd/go/testdata/script/mod_get_pseudo.txt | 80 + .../go/cmd/go/testdata/script/mod_get_upgrade.txt | 41 + .../go/cmd/go/testdata/script/mod_get_warning.txt | 10 + .../cmd/go/testdata/script/mod_getmode_vendor.txt | 23 + libgo/go/cmd/go/testdata/script/mod_go_version.txt | 61 + .../cmd/go/testdata/script/mod_gobuild_import.txt | 74 + .../cmd/go/testdata/script/mod_gofmt_invalid.txt | 13 + .../cmd/go/testdata/script/mod_gopkg_unstable.txt | 22 + libgo/go/cmd/go/testdata/script/mod_graph.txt | 10 + libgo/go/cmd/go/testdata/script/mod_import.txt | 18 + libgo/go/cmd/go/testdata/script/mod_import_mod.txt | 7 + libgo/go/cmd/go/testdata/script/mod_init_dep.txt | 34 + .../go/testdata/script/mod_install_versioned.txt | 12 + libgo/go/cmd/go/testdata/script/mod_internal.txt | 102 + libgo/go/cmd/go/testdata/script/mod_list.txt | 60 + .../cmd/go/testdata/script/mod_list_bad_import.txt | 73 + libgo/go/cmd/go/testdata/script/mod_list_dir.txt | 32 + .../go/cmd/go/testdata/script/mod_list_upgrade.txt | 8 + .../go/cmd/go/testdata/script/mod_load_badmod.txt | 26 + .../cmd/go/testdata/script/mod_local_replace.txt | 23 + libgo/go/cmd/go/testdata/script/mod_multirepo.txt | 40 + libgo/go/cmd/go/testdata/script/mod_nomod.txt | 43 + libgo/go/cmd/go/testdata/script/mod_patterns.txt | 66 + libgo/go/cmd/go/testdata/script/mod_query.txt | 24 + .../cmd/go/testdata/script/mod_query_exclude.txt | 26 + libgo/go/cmd/go/testdata/script/mod_readonly.txt | 42 + libgo/go/cmd/go/testdata/script/mod_replace.txt | 87 + .../cmd/go/testdata/script/mod_require_exclude.txt | 33 + libgo/go/cmd/go/testdata/script/mod_test.txt | 119 + libgo/go/cmd/go/testdata/script/mod_tidy.txt | 64 + libgo/go/cmd/go/testdata/script/mod_tidy_quote.txt | 26 + libgo/go/cmd/go/testdata/script/mod_tidy_sum.txt | 33 + .../cmd/go/testdata/script/mod_upgrade_patch.txt | 29 + libgo/go/cmd/go/testdata/script/mod_vendor.txt | 230 + .../go/cmd/go/testdata/script/mod_vendor_build.txt | 27 + .../cmd/go/testdata/script/mod_vendor_nodeps.txt | 9 + libgo/go/cmd/go/testdata/script/mod_verify.txt | 85 + libgo/go/cmd/go/testdata/script/mod_versions.txt | 14 + libgo/go/cmd/go/testdata/script/mod_why.txt | 114 + .../go/testdata/script/pattern_syntax_error.txt | 10 + libgo/go/cmd/go/testdata/script/run_hello.txt | 7 + libgo/go/cmd/go/testdata/script/test_badtest.txt | 30 + .../cmd/go/testdata/script/test_compile_binary.txt | 6 + libgo/go/cmd/go/testdata/script/vendor_complex.txt | 73 + .../cmd/go/testdata/src/badtest/badexec/x_test.go | 5 - .../go/cmd/go/testdata/src/badtest/badsyntax/x.go | 1 - .../go/testdata/src/badtest/badsyntax/x_test.go | 3 - libgo/go/cmd/go/testdata/src/badtest/badvar/x.go | 1 - .../cmd/go/testdata/src/badtest/badvar/x_test.go | 5 - libgo/go/cmd/go/testdata/src/complex/main.go | 12 - .../go/testdata/src/complex/nest/sub/test12/p.go | 11 - .../go/testdata/src/complex/nest/sub/test23/p.go | 11 - .../testdata/src/complex/nest/sub/vendor/v2/v2.go | 3 - .../go/testdata/src/complex/nest/vendor/v1/v1.go | 3 - .../go/testdata/src/complex/nest/vendor/v2/v2.go | 3 - .../go/testdata/src/complex/nest/vendor/v3/v3.go | 3 - libgo/go/cmd/go/testdata/src/complex/vendor/v/v.go | 3 - libgo/go/cmd/go/testdata/src/complex/w/w.go | 3 - libgo/go/cmd/go/testdata/src/failfast_test.go | 8 + .../{go-cmd-test/helloworld.go => hello/hello.go} | 2 +- libgo/go/cmd/go/testdata/src/testnorun/p.go | 5 + libgo/go/cmd/go/testdata/src/vetfail/p1/p1.go | 2 + libgo/go/cmd/go/testdata/testcover/pkg1/a.go | 7 + libgo/go/cmd/go/testdata/testcover/pkg2/a.go | 7 + libgo/go/cmd/go/testdata/testcover/pkg2/a_test.go | 1 + libgo/go/cmd/go/testdata/testcover/pkg3/a.go | 7 + .../p2/p2_test.go => testcover/pkg3/a_test.go} | 2 +- libgo/go/cmd/go/testdata/testonly2/t.go | 6 + libgo/go/cmd/go/testdata/vendormod.txt | 160 + libgo/go/cmd/go/vendor_test.go | 4 +- libgo/go/cmd/internal/buildid/note.go | 3 +- libgo/go/cmd/internal/objabi/flag.go | 61 +- libgo/go/cmd/internal/objabi/funcdata.go | 2 + libgo/go/cmd/internal/objabi/funcid.go | 5 +- libgo/go/cmd/internal/objabi/head.go | 5 + libgo/go/cmd/internal/objabi/reloctype.go | 7 +- libgo/go/cmd/internal/objabi/reloctype_string.go | 8 +- libgo/go/cmd/internal/objabi/symkind.go | 4 + libgo/go/cmd/internal/objabi/symkind_string.go | 8 +- libgo/go/cmd/internal/objabi/util.go | 26 +- libgo/go/cmd/internal/test2json/test2json.go | 41 +- .../go/cmd/internal/test2json/testdata/bench.json | 14 + .../go/cmd/internal/test2json/testdata/bench.test | 12 + .../cmd/internal/test2json/testdata/benchfail.json | 6 + .../cmd/internal/test2json/testdata/benchfail.test | 4 + .../internal/test2json/testdata/benchshort.json | 7 + .../internal/test2json/testdata/benchshort.test | 5 + .../internal/test2json/testdata/issue23036.json | 12 + .../internal/test2json/testdata/issue23036.test | 9 + .../internal/test2json/testdata/issue23920.json | 14 + .../internal/test2json/testdata/issue23920.test | 7 + libgo/go/cmd/test2json/main.go | 14 +- libgo/go/cmd/vet/all/main.go | 6 + libgo/go/cmd/vet/all/whitelist/386.txt | 7 +- libgo/go/cmd/vet/all/whitelist/all.txt | 12 +- libgo/go/cmd/vet/all/whitelist/amd64.txt | 18 +- libgo/go/cmd/vet/all/whitelist/arm.txt | 8 +- libgo/go/cmd/vet/all/whitelist/arm64.txt | 4 +- libgo/go/cmd/vet/all/whitelist/darwin_386.txt | 4 - libgo/go/cmd/vet/all/whitelist/darwin_amd64.txt | 2 - libgo/go/cmd/vet/all/whitelist/darwin_arm.txt | 7 - libgo/go/cmd/vet/all/whitelist/darwin_arm64.txt | 5 - libgo/go/cmd/vet/all/whitelist/linux_ppc64x.txt | 1 - libgo/go/cmd/vet/all/whitelist/mips.txt | 2 +- libgo/go/cmd/vet/all/whitelist/mips64x.txt | 1 - libgo/go/cmd/vet/all/whitelist/mipsle.txt | 2 +- libgo/go/cmd/vet/all/whitelist/mipsx.txt | 7 +- libgo/go/cmd/vet/all/whitelist/nacl_amd64p32.txt | 9 +- libgo/go/cmd/vet/all/whitelist/ppc64x.txt | 5 +- libgo/go/cmd/vet/all/whitelist/s390x.txt | 21 +- libgo/go/cmd/vet/all/whitelist/wasm.txt | 28 + libgo/go/cmd/vet/asmdecl.go | 10 +- libgo/go/cmd/vet/assign.go | 2 +- libgo/go/cmd/vet/atomic.go | 6 +- libgo/go/cmd/vet/bool.go | 29 +- libgo/go/cmd/vet/buildtag.go | 61 +- libgo/go/cmd/vet/composite.go | 36 +- libgo/go/cmd/vet/copylock.go | 22 +- libgo/go/cmd/vet/dead.go | 2 +- libgo/go/cmd/vet/doc.go | 27 +- libgo/go/cmd/vet/main.go | 141 +- libgo/go/cmd/vet/method.go | 4 +- libgo/go/cmd/vet/print.go | 496 ++- libgo/go/cmd/vet/testdata/asm/asm.go | 3 + libgo/go/cmd/vet/testdata/asm/asm3.s | 14 + libgo/go/cmd/vet/testdata/atomic.go | 12 +- libgo/go/cmd/vet/testdata/bool.go | 20 +- libgo/go/cmd/vet/testdata/buildtag/buildtag.go | 6 +- libgo/go/cmd/vet/testdata/composite.go | 17 + libgo/go/cmd/vet/testdata/deadcode.go | 9 + libgo/go/cmd/vet/testdata/print.go | 176 +- libgo/go/cmd/vet/testdata/shadow.go | 8 +- libgo/go/cmd/vet/testdata/structtag.go | 18 +- libgo/go/cmd/vet/types.go | 36 +- libgo/go/cmd/vet/vet_test.go | 299 +- libgo/go/compress/bzip2/bzip2.go | 2 +- libgo/go/compress/bzip2/huffman.go | 92 +- libgo/go/compress/flate/deflate.go | 2 +- libgo/go/compress/flate/inflate.go | 65 +- libgo/go/compress/gzip/gzip.go | 12 +- libgo/go/compress/gzip/gzip_test.go | 38 + libgo/go/compress/gzip/issue14937_test.go | 4 + libgo/go/compress/lzw/reader_test.go | 2 +- libgo/go/compress/zlib/reader_test.go | 2 +- libgo/go/compress/zlib/writer.go | 2 +- libgo/go/container/heap/heap.go | 9 +- libgo/go/context/benchmark_test.go | 42 + libgo/go/context/context.go | 5 +- libgo/go/context/example_test.go | 2 + libgo/go/crypto/aes/aes_gcm.go | 53 +- libgo/go/crypto/aes/aes_test.go | 2 +- libgo/go/crypto/aes/block.go | 4 +- libgo/go/crypto/aes/cbc_s390x.go | 4 + libgo/go/crypto/aes/cipher.go | 7 + .../crypto/aes/{cipher_amd64.go => cipher_asm.go} | 33 +- libgo/go/crypto/aes/cipher_generic.go | 2 +- libgo/go/crypto/aes/cipher_ppc64le.go | 12 +- libgo/go/crypto/aes/cipher_s390x.go | 23 +- libgo/go/crypto/aes/const.go | 2 +- libgo/go/crypto/aes/ctr_s390x.go | 9 +- libgo/go/crypto/aes/gcm_s390x.go | 81 +- libgo/go/crypto/aes/modes.go | 2 +- libgo/go/crypto/aes/modes_test.go | 2 +- libgo/go/crypto/cipher/cbc.go | 8 + libgo/go/crypto/cipher/cfb.go | 8 + libgo/go/crypto/cipher/cfb_test.go | 2 +- libgo/go/crypto/cipher/cipher.go | 2 +- libgo/go/crypto/cipher/ctr.go | 8 + libgo/go/crypto/cipher/gcm.go | 81 +- libgo/go/crypto/cipher/gcm_test.go | 70 +- libgo/go/crypto/cipher/ofb.go | 8 + libgo/go/crypto/des/cipher.go | 47 +- libgo/go/crypto/dsa/dsa.go | 4 + libgo/go/crypto/ecdsa/ecdsa.go | 4 + libgo/go/crypto/ecdsa/ecdsa_test.go | 2 +- libgo/go/crypto/ecdsa/example_test.go | 34 + libgo/go/crypto/elliptic/elliptic.go | 6 +- libgo/go/crypto/elliptic/elliptic_test.go | 4 +- libgo/go/crypto/elliptic/fuzz_test.go | 54 + libgo/go/crypto/elliptic/p224.go | 4 +- libgo/go/crypto/elliptic/p256.go | 8 +- .../crypto/elliptic/{p256_amd64.go => p256_asm.go} | 209 +- libgo/go/crypto/elliptic/p256_generic.go | 2 +- libgo/go/crypto/hmac/hmac.go | 2 +- libgo/go/crypto/hmac/hmac_test.go | 4 +- .../go/crypto/internal/cipherhw/cipherhw_amd64.go | 16 - .../go/crypto/internal/cipherhw/cipherhw_s390x.go | 18 - libgo/go/crypto/internal/cipherhw/doc.go | 7 - libgo/go/crypto/internal/cipherhw/generic.go | 11 - libgo/go/crypto/internal/randutil/randutil.go | 38 + libgo/go/crypto/internal/subtle/aliasing.go | 34 + .../crypto/internal/subtle/aliasing_appengine.go | 37 + libgo/go/crypto/internal/subtle/aliasing_test.go | 50 + libgo/go/crypto/md5/gen.go | 3 +- libgo/go/crypto/md5/md5.go | 10 +- libgo/go/crypto/md5/md5block.go | 3 +- libgo/go/crypto/md5/md5block_decl.go | 2 +- libgo/go/crypto/md5/md5block_generic.go | 2 +- libgo/go/crypto/rand/rand.go | 5 +- libgo/go/crypto/rand/rand_js.go | 27 + libgo/go/crypto/rc4/rc4.go | 21 +- libgo/go/crypto/rc4/rc4_asm.go | 10 +- libgo/go/crypto/rc4/rc4_test.go | 4 +- libgo/go/crypto/rsa/pkcs1v15.go | 14 +- libgo/go/crypto/rsa/pss.go | 2 +- libgo/go/crypto/rsa/rsa.go | 57 +- libgo/go/crypto/sha1/sha1.go | 14 +- libgo/go/crypto/sha1/sha1block_s390x.go | 7 +- libgo/go/crypto/sha256/sha256.go | 74 +- libgo/go/crypto/sha256/sha256block_s390x.go | 7 +- libgo/go/crypto/sha512/sha512.go | 64 +- libgo/go/crypto/sha512/sha512block_s390x.go | 7 +- libgo/go/crypto/tls/auth.go | 108 + libgo/go/crypto/tls/auth_test.go | 101 + libgo/go/crypto/tls/cipher_suites.go | 6 +- libgo/go/crypto/tls/common.go | 54 +- libgo/go/crypto/tls/conn.go | 129 +- libgo/go/crypto/tls/generate_cert.go | 20 +- libgo/go/crypto/tls/handshake_client.go | 31 +- libgo/go/crypto/tls/handshake_client_test.go | 76 + libgo/go/crypto/tls/handshake_messages.go | 18 +- libgo/go/crypto/tls/handshake_server.go | 65 +- libgo/go/crypto/tls/handshake_server_test.go | 44 +- libgo/go/crypto/tls/key_agreement.go | 142 +- libgo/go/crypto/tls/prf.go | 75 +- libgo/go/crypto/tls/prf_test.go | 41 +- ...-RSA-AES => Client-TLSv10-ExportKeyingMaterial} | 62 +- ...Rejected => Client-TLSv12-ExportKeyingMaterial} | 57 +- .../testdata/Server-TLSv10-ExportKeyingMaterial | 92 + ...-NoMatch => Server-TLSv12-ExportKeyingMaterial} | 74 +- libgo/go/crypto/tls/testdata/example-cert.pem | 11 + libgo/go/crypto/tls/testdata/example-key.pem | 5 + libgo/go/crypto/tls/tls.go | 9 +- libgo/go/crypto/tls/tls_test.go | 9 + libgo/go/crypto/x509/cert_pool.go | 27 + libgo/go/crypto/x509/name_constraints_test.go | 98 +- libgo/go/crypto/x509/pkcs8.go | 2 +- libgo/go/crypto/x509/pkix/pkix.go | 2 +- libgo/go/crypto/x509/root.go | 3 + libgo/go/crypto/x509/root_cgo_darwin.go | 78 +- libgo/go/crypto/x509/root_darwin.go | 4 +- libgo/go/crypto/x509/{root_nacl.go => root_js.go} | 4 +- libgo/go/crypto/x509/root_plan9.go | 3 + libgo/go/crypto/x509/root_unix.go | 4 +- libgo/go/crypto/x509/root_unix_test.go | 4 - libgo/go/crypto/x509/root_windows.go | 12 +- libgo/go/crypto/x509/sha2_windows_test.go | 19 - libgo/go/crypto/x509/verify.go | 129 +- libgo/go/crypto/x509/verify_test.go | 233 +- libgo/go/crypto/x509/x509.go | 186 +- libgo/go/crypto/x509/x509_test.go | 105 +- libgo/go/database/sql/convert.go | 12 +- libgo/go/database/sql/fakedb_test.go | 25 +- libgo/go/database/sql/sql.go | 182 +- libgo/go/database/sql/sql_test.go | 57 +- libgo/go/debug/dwarf/attr_string.go | 89 + libgo/go/debug/dwarf/class_string.go | 8 +- libgo/go/debug/dwarf/const.go | 181 +- libgo/go/debug/dwarf/tag_string.go | 44 + libgo/go/debug/elf/elf.go | 492 ++- libgo/go/debug/elf/file.go | 92 +- libgo/go/debug/elf/file_test.go | 26 +- .../testdata/go-relocation-test-gcc720-riscv64.obj | Bin 0 -> 9576 bytes libgo/go/debug/gosym/pclntab.go | 14 +- libgo/go/debug/macho/file.go | 87 +- libgo/go/debug/macho/macho.go | 2 + libgo/go/debug/macho/reloctype_string.go | 10 +- libgo/go/debug/pe/file.go | 137 +- libgo/go/debug/pe/file_test.go | 28 + libgo/go/debug/pe/pe.go | 20 + libgo/go/debug/pe/string.go | 6 +- libgo/go/encoding/asn1/asn1.go | 9 +- libgo/go/encoding/asn1/asn1_test.go | 6 +- libgo/go/encoding/asn1/common.go | 6 + libgo/go/encoding/asn1/marshal.go | 2 + libgo/go/encoding/asn1/marshal_test.go | 66 + libgo/go/encoding/base32/base32.go | 67 +- libgo/go/encoding/base32/base32_test.go | 171 + libgo/go/encoding/base64/base64_test.go | 2 +- libgo/go/encoding/binary/binary.go | 58 +- libgo/go/encoding/csv/reader.go | 2 +- libgo/go/encoding/csv/reader_test.go | 4 + libgo/go/encoding/csv/writer.go | 51 +- libgo/go/encoding/csv/writer_test.go | 14 +- libgo/go/encoding/gob/codec_test.go | 4 + libgo/go/encoding/gob/dec_helpers.go | 2 +- libgo/go/encoding/gob/decgen.go | 2 +- libgo/go/encoding/gob/decode.go | 8 +- libgo/go/encoding/gob/enc_helpers.go | 2 +- libgo/go/encoding/gob/encgen.go | 2 +- libgo/go/encoding/gob/encoder_test.go | 6 +- libgo/go/encoding/hex/hex.go | 21 +- libgo/go/encoding/hex/hex_test.go | 29 + libgo/go/encoding/json/bench_test.go | 68 + libgo/go/encoding/json/decode.go | 549 ++- libgo/go/encoding/json/decode_test.go | 14 + libgo/go/encoding/json/encode.go | 89 +- libgo/go/encoding/json/encode_test.go | 14 + libgo/go/encoding/json/number_test.go | 2 +- libgo/go/encoding/json/scanner.go | 57 +- libgo/go/encoding/json/scanner_test.go | 37 - libgo/go/encoding/xml/xml.go | 56 +- libgo/go/encoding/xml/xml_test.go | 14 + libgo/go/expvar/expvar.go | 4 +- libgo/go/flag/example_value_test.go | 44 + libgo/go/flag/flag.go | 24 +- libgo/go/flag/flag_test.go | 3 + libgo/go/fmt/doc.go | 21 +- libgo/go/fmt/format.go | 48 +- libgo/go/fmt/print.go | 56 +- libgo/go/go/ast/ast.go | 17 +- libgo/go/go/ast/filter.go | 29 + libgo/go/go/build/build.go | 169 +- libgo/go/go/build/build_test.go | 28 + libgo/go/go/build/deps_test.go | 184 +- libgo/go/go/build/doc.go | 1 + libgo/go/go/build/gc.go | 120 - libgo/go/go/build/gccgo.go | 6 - libgo/go/go/build/testdata/doc/a_test.go | 2 + libgo/go/go/build/testdata/doc/b_test.go | 1 + libgo/go/go/build/testdata/doc/c_test.go | 1 + libgo/go/go/build/testdata/doc/d_test.go | 2 + libgo/go/go/build/testdata/doc/e.go | 1 + libgo/go/go/build/testdata/doc/f.go | 2 + libgo/go/go/constant/example_test.go | 160 + libgo/go/go/constant/value_test.go | 1 + libgo/go/go/doc/comment.go | 18 +- libgo/go/go/doc/example.go | 124 +- libgo/go/go/doc/example_test.go | 196 +- libgo/go/go/doc/exports.go | 65 +- libgo/go/go/doc/reader.go | 28 +- libgo/go/go/doc/testdata/g.0.golden | 32 + libgo/go/go/doc/testdata/g.1.golden | 34 + libgo/go/go/doc/testdata/g.2.golden | 32 + libgo/go/go/doc/testdata/g.go | 25 + libgo/go/go/doc/testdata/issue12839.0.golden | 33 + libgo/go/go/doc/testdata/issue12839.1.golden | 36 + libgo/go/go/doc/testdata/issue12839.2.golden | 33 + libgo/go/go/doc/testdata/issue12839.go | 38 + .../{issue18063.1.golden => issue22856.0.golden} | 18 +- .../{issue18063.0.golden => issue22856.1.golden} | 18 +- .../{issue18063.2.golden => issue22856.2.golden} | 18 +- .../doc/testdata/{issue18063.go => issue22856.go} | 12 +- libgo/go/go/format/example_test.go | 41 + libgo/go/go/format/format.go | 13 +- libgo/go/go/format/format_test.go | 27 - libgo/go/go/internal/gccgoimporter/ar.go | 148 + libgo/go/go/internal/gccgoimporter/importer.go | 90 +- .../go/go/internal/gccgoimporter/importer_test.go | 1 + libgo/go/go/internal/gccgoimporter/parser.go | 13 +- libgo/go/go/internal/gcimporter/bimport.go | 145 +- libgo/go/go/internal/gcimporter/gcimporter.go | 25 +- libgo/go/go/internal/gcimporter/gcimporter_test.go | 110 +- libgo/go/go/internal/gcimporter/iimport.go | 596 +++ .../go/internal/gcimporter/testdata/issue25301.go} | 19 +- .../testdata/issue25596.go} | 10 +- .../internal/gcimporter/testdata/versions/test.go | 5 +- libgo/go/go/internal/srcimporter/srcimporter.go | 29 +- .../go/go/internal/srcimporter/srcimporter_test.go | 38 + libgo/go/go/parser/error_test.go | 6 + libgo/go/go/parser/interface.go | 6 +- libgo/go/go/parser/parser.go | 201 +- libgo/go/go/parser/short_test.go | 10 +- libgo/go/go/parser/testdata/commas.src | 4 +- libgo/go/go/printer/nodes.go | 143 +- libgo/go/go/printer/printer.go | 67 +- libgo/go/go/printer/printer_test.go | 28 +- libgo/go/go/printer/testdata/alignment.golden | 172 + libgo/go/go/printer/testdata/alignment.input | 179 + libgo/go/go/printer/testdata/comments.golden | 4 +- libgo/go/go/printer/testdata/comments.input | 4 +- libgo/go/go/printer/testdata/complit.input | 65 + libgo/go/go/printer/testdata/complit.x | 62 + libgo/go/go/printer/testdata/declarations.golden | 8 +- libgo/go/go/printer/testdata/linebreaks.golden | 22 +- libgo/go/go/printer/testdata/linebreaks.input | 24 +- libgo/go/go/scanner/scanner.go | 147 +- libgo/go/go/scanner/scanner_test.go | 157 +- libgo/go/go/token/example_test.go | 79 + libgo/go/go/token/position.go | 60 +- libgo/go/go/types/api.go | 8 +- libgo/go/go/types/api_test.go | 22 +- libgo/go/go/types/assignments.go | 7 +- libgo/go/go/types/builtins.go | 25 +- libgo/go/go/types/call.go | 19 +- libgo/go/go/types/check.go | 90 +- libgo/go/go/types/check_test.go | 3 + libgo/go/go/types/decl.go | 370 +- libgo/go/go/types/errors.go | 10 + libgo/go/go/types/eval.go | 9 +- libgo/go/go/types/eval_test.go | 13 + libgo/go/go/types/expr.go | 33 +- libgo/go/go/types/gotype.go | 30 +- libgo/go/go/types/interfaces.go | 443 ++ libgo/go/go/types/issues_test.go | 41 + libgo/go/go/types/lookup.go | 4 +- libgo/go/go/types/methodset.go | 6 +- libgo/go/go/types/object.go | 120 +- libgo/go/go/types/object_test.go | 6 +- libgo/go/go/types/ordering.go | 123 - libgo/go/go/types/predicates.go | 8 +- libgo/go/go/types/resolver.go | 125 +- libgo/go/go/types/return.go | 12 +- libgo/go/go/types/sizes.go | 6 +- libgo/go/go/types/stdlib_test.go | 2 + libgo/go/go/types/stmt.go | 26 +- libgo/go/go/types/testdata/const0.src | 41 + libgo/go/go/types/testdata/constdecl.src | 13 + libgo/go/go/types/testdata/cycles.src | 17 +- libgo/go/go/types/testdata/cycles2.src | 27 +- libgo/go/go/types/testdata/cycles3.src | 2 +- libgo/go/go/types/testdata/cycles4.src | 12 - libgo/go/go/types/testdata/decls0.src | 26 +- libgo/go/go/types/testdata/decls1.src | 2 +- libgo/go/go/types/testdata/decls3.src | 36 +- libgo/go/go/types/testdata/errors.src | 5 + libgo/go/go/types/testdata/expr3.src | 12 +- libgo/go/go/types/testdata/importC.src | 21 +- libgo/go/go/types/testdata/importdecl0a.src | 2 +- libgo/go/go/types/testdata/importdecl1a.src | 11 + libgo/go/go/types/testdata/importdecl1b.src | 4 + libgo/go/go/types/testdata/init0.src | 2 +- libgo/go/go/types/testdata/issues.src | 89 +- libgo/go/go/types/testdata/methodsets.src | 24 +- libgo/go/go/types/testdata/stmt1.src | 18 + libgo/go/go/types/testdata/vardecl.src | 15 +- libgo/go/go/types/type.go | 137 +- libgo/go/go/types/typestring.go | 4 +- libgo/go/go/types/typestring_test.go | 36 +- libgo/go/go/types/typexpr.go | 318 +- libgo/go/go/types/universe.go | 15 +- .../x/crypto/chacha20poly1305/chacha20poly1305.go | 12 +- .../chacha20poly1305/chacha20poly1305_amd64.go | 79 +- .../chacha20poly1305/chacha20poly1305_generic.go | 32 +- .../chacha20poly1305_vectors_test.go | 7 + libgo/go/golang_org/x/crypto/cryptobyte/asn1.go | 67 +- .../go/golang_org/x/crypto/cryptobyte/asn1_test.go | 33 + libgo/go/golang_org/x/crypto/cryptobyte/string.go | 29 +- .../golang_org/x/crypto/curve25519/curve25519.go | 2 +- libgo/go/golang_org/x/crypto/curve25519/doc.go | 2 +- .../x/crypto/internal/chacha20/chacha_generic.go | 227 + .../x/crypto/internal/chacha20/chacha_noasm.go | 16 + .../x/crypto/internal/chacha20/chacha_s390x.go | 30 + .../x/crypto/internal/chacha20/chacha_test.go | 188 + .../x/crypto/internal/chacha20/vectors_test.go | 578 +++ .../golang_org/x/crypto/internal/chacha20/xor.go | 43 + libgo/go/golang_org/x/crypto/poly1305/poly1305.go | 3 +- .../golang_org/x/crypto/poly1305/poly1305_test.go | 111 +- libgo/go/golang_org/x/crypto/poly1305/sum_noasm.go | 14 + libgo/go/golang_org/x/crypto/poly1305/sum_ref.go | 10 +- libgo/go/golang_org/x/crypto/poly1305/sum_s390x.go | 49 + .../golang_org/x/crypto/poly1305/vectors_test.go | 2943 +++++++++++++ .../x/net/dns/dnsmessage/example_test.go | 134 + .../go/golang_org/x/net/dns/dnsmessage/message.go | 2103 +++++++++ .../x/net/dns/dnsmessage/message_test.go | 1137 +++++ libgo/go/golang_org/x/net/http/httpguts/guts.go | 50 + .../net/{lex/httplex => http/httpguts}/httplex.go | 7 +- .../{lex/httplex => http/httpguts}/httplex_test.go | 2 +- .../x/net/http/httpproxy/export_test.go} | 16 +- libgo/go/golang_org/x/net/http/httpproxy/proxy.go | 370 ++ .../golang_org/x/net/http/httpproxy/proxy_test.go | 351 ++ libgo/go/golang_org/x/net/http2/hpack/encode.go | 2 +- libgo/go/golang_org/x/net/http2/hpack/hpack.go | 6 + .../go/golang_org/x/net/http2/hpack/hpack_test.go | 40 + libgo/go/golang_org/x/net/http2/hpack/huffman.go | 20 +- libgo/go/golang_org/x/net/http2/hpack/tables.go | 122 +- .../x/net/internal/nettest/helper_stub.go | 2 +- .../go/golang_org/x/net/internal/nettest/stack.go | 4 +- libgo/go/hash/crc32/crc32.go | 8 +- libgo/go/hash/crc64/crc64.go | 2 +- libgo/go/html/entity.go | 4482 ++++++++++---------- libgo/go/html/entity_test.go | 8 + libgo/go/html/escape.go | 1 + libgo/go/html/template/attr.go | 8 +- libgo/go/html/template/attr_string.go | 16 + libgo/go/html/template/clone_test.go | 15 + libgo/go/html/template/content.go | 17 +- libgo/go/html/template/content_test.go | 5 +- libgo/go/html/template/context.go | 120 +- libgo/go/html/template/css.go | 12 +- libgo/go/html/template/delim_string.go | 16 + libgo/go/html/template/doc.go | 3 + libgo/go/html/template/element_string.go | 16 + libgo/go/html/template/escape.go | 16 +- libgo/go/html/template/escape_test.go | 44 +- libgo/go/html/template/html.go | 4 +- libgo/go/html/template/js.go | 10 +- libgo/go/html/template/js_test.go | 5 +- libgo/go/html/template/jsctx_string.go | 16 + libgo/go/html/template/state_string.go | 16 + libgo/go/html/template/transition.go | 6 +- libgo/go/html/template/url.go | 40 +- libgo/go/html/template/urlpart_string.go | 16 + libgo/go/image/color/palette/gen.go | 4 +- libgo/go/image/color/palette/palette.go | 4 +- libgo/go/image/color/ycbcr.go | 6 +- libgo/go/image/decode_example_test.go | 9 + libgo/go/image/gif/reader.go | 17 +- libgo/go/image/gif/reader_test.go | 71 +- libgo/go/image/gif/writer.go | 5 +- libgo/go/image/internal/imageutil/gen.go | 2 +- libgo/go/image/internal/imageutil/impl.go | 2 +- libgo/go/image/jpeg/reader.go | 13 +- libgo/go/image/png/reader.go | 6 +- libgo/go/index/suffixarray/suffixarray.go | 2 +- libgo/go/internal/bytealg/bytealg.c | 116 + libgo/go/internal/bytealg/bytealg.go | 24 + libgo/go/internal/bytealg/compare_generic.go | 89 + .../internal/bytealg/compare_native.go} | 12 +- libgo/go/internal/bytealg/count_generic.go | 27 + libgo/go/internal/bytealg/count_native.go | 34 + libgo/go/internal/bytealg/equal_native.go | 14 + libgo/go/internal/bytealg/gccgo.go | 12 + libgo/go/internal/bytealg/index_amd64.go | 28 + libgo/go/internal/bytealg/index_arm64.go | 25 + libgo/go/internal/bytealg/index_generic.go | 30 + libgo/go/internal/bytealg/index_native.go | 24 + libgo/go/internal/bytealg/index_s390x.go | 33 + libgo/go/internal/bytealg/indexbyte_generic.go | 48 + libgo/go/internal/bytealg/indexbyte_native.go | 13 + libgo/go/internal/cpu/cpu.go | 142 +- .../issue23092.go => internal/cpu/cpu_386.go} | 4 +- .../issue23092.go => internal/cpu/cpu_amd64.go} | 4 +- .../issue23092.go => internal/cpu/cpu_amd64p32.go} | 4 +- libgo/go/internal/cpu/cpu_arm64.go | 107 +- libgo/go/internal/cpu/cpu_arm64_test.go | 26 + libgo/go/internal/cpu/cpu_gccgo.c | 66 + .../plugin.go => go/internal/cpu/cpu_no_init.go} | 16 +- libgo/go/internal/cpu/cpu_ppc64x.go | 46 +- libgo/go/internal/cpu/cpu_ppc64x_test.go | 33 + libgo/go/internal/cpu/cpu_s390x.go | 146 + libgo/go/internal/cpu/cpu_s390x_test.go | 63 + libgo/go/internal/cpu/cpu_test.go | 68 +- .../issue23092.go => internal/cpu/cpu_wasm.go} | 4 +- libgo/go/internal/cpu/cpu_x86.go | 91 +- libgo/go/internal/cpu/cpu_x86_test.go | 47 + .../issue23092.go => internal/cpu/export_test.go} | 6 +- libgo/go/{go/build => internal/goroot}/gc.go | 24 +- libgo/go/internal/goroot/gccgo.go | 27 + libgo/go/internal/poll/fd_mutex.go | 10 +- libgo/go/internal/poll/fd_mutex_test.go | 22 + .../poll/{fd_poll_nacl.go => fd_poll_nacljs.go} | 5 + libgo/go/internal/poll/fd_posix.go | 2 +- libgo/go/internal/poll/fd_unix.go | 81 +- libgo/go/internal/poll/fd_windows.go | 57 +- libgo/go/internal/poll/hook_cloexec.go | 2 +- libgo/go/internal/poll/hook_unix.go | 2 +- libgo/go/internal/poll/sendfile_windows.go | 10 + libgo/go/internal/poll/sock_cloexec.go | 2 +- libgo/go/internal/poll/splice_linux.go | 183 + libgo/go/internal/poll/sys_cloexec.go | 2 +- libgo/go/internal/syscall/unix/nonblocking.go | 23 + .../internal/syscall/unix/nonblocking_js.go} | 11 +- .../syscall/unix/nonblocking_nacl.go} | 6 +- .../internal/syscall/windows/exec_windows_test.go | 13 - libgo/go/internal/syscall/windows/registry/key.go | 10 +- .../syscall/windows/registry/registry_test.go | 2 +- .../syscall/windows/registry/zsyscall_windows.go | 2 +- .../internal/syscall/windows/security_windows.go | 45 + .../go/internal/syscall/windows/symlink_windows.go | 14 + .../go/internal/syscall/windows/syscall_windows.go | 2 + .../internal/syscall/windows/zsyscall_windows.go | 25 +- libgo/go/internal/testenv/testenv.go | 9 +- libgo/go/internal/testenv/testenv_notwin.go | 4 - libgo/go/internal/testenv/testenv_windows.go | 9 - libgo/go/internal/trace/goroutines.go | 212 +- libgo/go/internal/trace/parser.go | 214 +- libgo/go/io/io.go | 18 +- libgo/go/io/ioutil/example_test.go | 18 + libgo/go/io/ioutil/tempfile.go | 24 +- libgo/go/io/ioutil/tempfile_test.go | 27 +- libgo/go/log/syslog/syslog_test.go | 11 +- libgo/go/math/all_test.go | 36 +- libgo/go/math/big/accuracy_string.go | 8 +- .../big/arith_amd64.go} | 7 +- libgo/go/math/big/arith_test.go | 34 + libgo/go/math/big/calibrate_test.go | 65 +- libgo/go/math/big/float.go | 10 +- libgo/go/math/big/float_test.go | 39 +- libgo/go/math/big/floatconv_test.go | 4 +- libgo/go/math/big/int.go | 371 +- libgo/go/math/big/int_test.go | 113 +- libgo/go/math/big/nat.go | 168 +- libgo/go/math/big/nat_test.go | 61 +- libgo/go/math/big/prime.go | 4 +- libgo/go/math/big/prime_test.go | 4 +- libgo/go/math/big/rat.go | 2 +- libgo/go/math/big/ratconv_test.go | 4 +- libgo/go/math/big/roundingmode_string.go | 8 +- libgo/go/math/big/sqrt.go | 20 +- libgo/go/math/bits/bits_test.go | 7 +- .../issue23092.go => math/bits/export_test.go} | 4 +- libgo/go/math/cmplx/cmath_test.go | 2 +- libgo/go/math/erfinv.go | 2 +- libgo/go/math/example_test.go | 24 + libgo/go/math/floor_asm.go | 12 - libgo/go/math/hypot.go | 7 +- libgo/go/math/j0.go | 4 +- libgo/go/math/ldexp.go | 6 +- libgo/go/math/lgamma.go | 2 +- libgo/go/math/rand/exp.go | 2 +- libgo/go/math/rand/normal.go | 6 +- libgo/go/math/rand/rand.go | 3 + libgo/go/math/rand/regress_test.go | 508 +-- libgo/go/math/rand/rng.go | 53 +- libgo/go/math/sin.go | 4 +- libgo/go/math/sinh.go | 14 +- libgo/go/mime/encodedword.go | 60 +- libgo/go/mime/mediatype.go | 7 +- libgo/go/mime/multipart/formdata.go | 3 +- libgo/go/mime/multipart/formdata_test.go | 29 +- libgo/go/mime/multipart/multipart.go | 8 +- libgo/go/mime/multipart/multipart_test.go | 8 + libgo/go/mime/quotedprintable/reader.go | 4 + libgo/go/mime/quotedprintable/reader_test.go | 4 +- libgo/go/mime/quotedprintable/writer_test.go | 2 +- libgo/go/mime/type.go | 3 +- libgo/go/mime/type_unix.go | 2 +- libgo/go/net/cgo_unix.go | 2 +- libgo/go/net/conf.go | 11 +- libgo/go/net/conf_test.go | 20 +- libgo/go/net/conn_test.go | 2 + libgo/go/net/dial.go | 176 +- libgo/go/net/dial_test.go | 88 +- libgo/go/net/dial_unix_test.go | 5 +- libgo/go/net/dnsclient.go | 70 +- libgo/go/net/dnsclient_test.go | 48 - libgo/go/net/dnsclient_unix.go | 426 +- libgo/go/net/dnsclient_unix_test.go | 680 +-- libgo/go/net/dnsconfig_unix.go | 4 +- libgo/go/net/dnsmsg.go | 884 ---- libgo/go/net/dnsmsg_test.go | 481 --- libgo/go/net/dnsname_test.go | 2 + .../issue23092/issue23092.go => net/error_nacl.go} | 6 +- .../issue23092.go => net/error_plan9.go} | 6 +- libgo/go/net/error_posix.go | 2 +- libgo/go/net/error_test.go | 2 + libgo/go/net/error_unix.go | 16 + libgo/go/net/error_windows.go | 14 + libgo/go/net/external_test.go | 2 + libgo/go/net/fd_plan9.go | 13 + libgo/go/net/fd_unix.go | 84 +- libgo/go/net/fd_windows.go | 15 +- libgo/go/net/file.go | 2 +- libgo/go/net/file_stub.go | 2 +- libgo/go/net/file_test.go | 56 + libgo/go/net/file_unix.go | 5 +- libgo/go/net/hook_unix.go | 2 +- libgo/go/net/hosts.go | 2 +- libgo/go/net/http/cgi/child.go | 2 +- libgo/go/net/http/cgi/host_test.go | 3 +- libgo/go/net/http/client.go | 73 +- libgo/go/net/http/client_test.go | 34 + libgo/go/net/http/clientserver_test.go | 1 - libgo/go/net/http/cookie.go | 50 +- libgo/go/net/http/cookie_test.go | 39 + libgo/go/net/http/cookiejar/jar.go | 10 + libgo/go/net/http/example_test.go | 22 + libgo/go/net/http/export_test.go | 43 +- libgo/go/net/http/fcgi/fcgi.go | 5 +- libgo/go/net/http/fs.go | 40 +- libgo/go/net/http/fs_test.go | 2 +- libgo/go/net/http/h2_bundle.go | 476 ++- libgo/go/net/http/header.go | 19 +- libgo/go/net/http/http.go | 4 +- libgo/go/net/http/httptest/httptest_test.go | 75 +- libgo/go/net/http/httptest/recorder.go | 20 +- libgo/go/net/http/httptest/recorder_test.go | 46 +- libgo/go/net/http/httptest/server.go | 4 +- libgo/go/net/http/httptrace/trace.go | 14 +- libgo/go/net/http/httputil/httputil.go | 4 +- libgo/go/net/http/httputil/reverseproxy.go | 110 +- libgo/go/net/http/httputil/reverseproxy_test.go | 149 +- libgo/go/net/http/internal/chunked.go | 4 +- libgo/go/net/http/main_test.go | 10 +- libgo/go/net/http/pprof/pprof.go | 75 +- libgo/go/net/http/pprof/pprof_test.go | 12 + libgo/go/net/http/proxy_test.go | 39 +- libgo/go/net/http/readrequest_test.go | 2 +- libgo/go/net/http/request.go | 79 +- libgo/go/net/http/request_test.go | 19 +- libgo/go/net/http/response.go | 8 +- libgo/go/net/http/response_test.go | 4 +- libgo/go/net/http/roundtrip.go | 18 + libgo/go/net/http/roundtrip_js.go | 293 ++ libgo/go/net/http/serve_test.go | 328 +- libgo/go/net/http/server.go | 401 +- libgo/go/net/http/sniff.go | 13 +- libgo/go/net/http/sniff_test.go | 12 +- libgo/go/net/http/socks_bundle.go | 472 +++ libgo/go/net/http/status.go | 4 +- libgo/go/net/http/transfer.go | 61 +- libgo/go/net/http/transfer_test.go | 28 + libgo/go/net/http/transport.go | 448 +- libgo/go/net/http/transport_test.go | 563 ++- libgo/go/net/http/triv.go | 4 +- libgo/go/net/interface.go | 2 +- libgo/go/net/interface_stub.go | 2 +- libgo/go/net/interface_test.go | 4 +- libgo/go/net/interface_windows.go | 96 +- libgo/go/net/interface_windows_test.go | 132 - libgo/go/net/internal/socktest/main_test.go | 2 +- libgo/go/net/internal/socktest/main_unix_test.go | 2 +- libgo/go/net/internal/socktest/switch_unix.go | 2 +- libgo/go/net/internal/socktest/sys_cloexec.go | 2 +- libgo/go/net/internal/socktest/sys_unix.go | 2 +- libgo/go/net/ip.go | 100 +- libgo/go/net/ip_test.go | 18 +- libgo/go/net/iprawsock.go | 16 +- libgo/go/net/iprawsock_plan9.go | 4 +- libgo/go/net/iprawsock_posix.go | 21 +- libgo/go/net/iprawsock_test.go | 2 + libgo/go/net/ipsock.go | 28 +- libgo/go/net/ipsock_posix.go | 6 +- libgo/go/net/listen_test.go | 56 +- libgo/go/net/lookup.go | 37 +- libgo/go/net/{lookup_nacl.go => lookup_fake.go} | 8 +- libgo/go/net/lookup_plan9.go | 76 +- libgo/go/net/lookup_test.go | 288 +- libgo/go/net/lookup_unix.go | 215 +- libgo/go/net/lookup_windows.go | 33 +- libgo/go/net/mail/message.go | 3 +- libgo/go/net/main_cloexec_test.go | 2 +- libgo/go/net/main_conf_test.go | 2 +- libgo/go/net/main_noconf_test.go | 2 +- libgo/go/net/main_posix_test.go | 2 +- libgo/go/net/main_test.go | 2 + libgo/go/net/mockserver_test.go | 2 + libgo/go/net/net.go | 37 +- libgo/go/net/net_fake.go | 284 ++ libgo/go/net/net_test.go | 33 + libgo/go/net/packetconn_test.go | 2 + libgo/go/net/port_unix.go | 2 +- libgo/go/net/protoconn_test.go | 17 +- libgo/go/net/rawconn.go | 11 +- libgo/go/net/rawconn_stub_test.go | 28 + libgo/go/net/rawconn_test.go | 220 + libgo/go/net/rawconn_unix_test.go | 193 +- libgo/go/net/rawconn_windows_test.go | 159 +- libgo/go/net/rpc/client.go | 9 +- libgo/go/net/rpc/server.go | 5 +- libgo/go/net/sendfile_solaris.go | 63 - libgo/go/net/sendfile_stub.go | 2 +- libgo/go/net/sendfile_test.go | 122 + .../net/{sendfile_bsd.go => sendfile_unix_alt.go} | 12 +- libgo/go/net/server_test.go | 2 + libgo/go/net/smtp/smtp.go | 9 +- libgo/go/net/smtp/smtp_test.go | 54 +- libgo/go/net/sock_cloexec.go | 2 +- libgo/go/net/sock_posix.go | 117 +- libgo/go/net/sock_stub.go | 2 +- libgo/go/net/sockaddr_posix.go | 34 + libgo/go/net/sockopt_stub.go | 2 +- libgo/go/net/sockoptip_stub.go | 2 +- libgo/go/net/splice_linux.go | 35 + .../issue24351/plugin.go => go/net/splice_stub.go} | 13 +- libgo/go/net/splice_test.go | 489 +++ libgo/go/net/sys_cloexec.go | 2 +- libgo/go/net/tcpsock.go | 14 +- libgo/go/net/tcpsock_plan9.go | 18 +- libgo/go/net/tcpsock_posix.go | 23 +- libgo/go/net/tcpsock_test.go | 2 + libgo/go/net/tcpsock_unix_test.go | 8 +- libgo/go/net/tcpsockopt_darwin.go | 4 +- libgo/go/net/tcpsockopt_stub.go | 2 +- libgo/go/net/textproto/reader.go | 2 +- libgo/go/net/textproto/reader_test.go | 2 +- libgo/go/net/timeout_test.go | 4 +- libgo/go/net/udpsock.go | 12 +- libgo/go/net/udpsock_plan9.go | 12 +- libgo/go/net/udpsock_posix.go | 14 +- libgo/go/net/udpsock_test.go | 61 +- libgo/go/net/unixsock.go | 16 +- libgo/go/net/unixsock_plan9.go | 6 +- libgo/go/net/unixsock_posix.go | 18 +- libgo/go/net/unixsock_test.go | 2 +- libgo/go/net/url/url.go | 32 +- libgo/go/net/url/url_test.go | 5 +- libgo/go/net/writev_test.go | 2 + libgo/go/os/dir_unix.go | 2 +- libgo/go/os/env.go | 24 +- libgo/go/os/env_test.go | 29 +- libgo/go/os/error_posix.go | 2 +- libgo/go/os/error_unix.go | 2 +- libgo/go/os/error_unix_test.go | 2 +- libgo/go/os/example_test.go | 18 + libgo/go/os/exec.go | 4 +- libgo/go/os/exec/exec.go | 10 +- libgo/go/os/exec/exec_test.go | 19 +- libgo/go/os/exec/lp_js.go | 23 + libgo/go/os/exec/lp_plan9.go | 4 +- libgo/go/os/exec/lp_unix.go | 4 +- libgo/go/os/exec/lp_windows.go | 4 +- libgo/go/os/exec_posix.go | 2 +- libgo/go/os/exec_unix.go | 2 +- libgo/go/os/executable_darwin.go | 5 + libgo/go/os/executable_procfs.go | 2 +- libgo/go/os/executable_solaris.go | 11 +- libgo/go/os/fifo_test.go | 112 + libgo/go/os/file.go | 68 +- libgo/go/os/file_plan9.go | 14 +- libgo/go/os/file_posix.go | 7 +- libgo/go/os/file_unix.go | 47 +- libgo/go/os/os_test.go | 86 +- libgo/go/os/os_unix_test.go | 74 + libgo/go/os/path.go | 65 +- libgo/go/os/path_plan9.go | 4 + libgo/go/os/path_unix.go | 6 +- libgo/go/os/path_windows.go | 11 + libgo/go/os/path_windows_test.go | 30 + libgo/go/os/{pipe_freebsd.go => pipe2_bsd.go} | 2 + libgo/go/os/pipe_bsd.go | 2 +- libgo/go/os/pipe_test.go | 134 +- libgo/go/os/signal/signal.go | 6 + libgo/go/os/signal/signal_plan9.go | 5 + libgo/go/os/signal/signal_test.go | 59 + libgo/go/os/signal/signal_unix.go | 7 +- libgo/go/os/{stat_nacl.go => stat_nacljs.go} | 2 + libgo/go/os/stat_plan9.go | 10 +- libgo/go/os/stat_unix.go | 2 +- libgo/go/os/sys_bsd.go | 5 +- libgo/go/os/sys_darwin.go | 11 - libgo/go/os/{sys_freebsd.go => sys_js.go} | 7 +- libgo/go/os/sys_linux.go | 37 +- libgo/go/os/sys_plan9.go | 2 - libgo/go/os/sys_unix.go | 5 +- libgo/go/os/timeout_test.go | 40 + libgo/go/os/types.go | 5 +- libgo/go/os/types_windows.go | 154 +- libgo/go/os/user/cgo_lookup_unix.go | 2 +- libgo/go/os/user/cgo_unix_test.go | 2 +- libgo/go/os/user/listgroups_solaris.go | 2 +- libgo/go/os/user/listgroups_unix.go | 1 + libgo/go/os/user/lookup_stubs.go | 2 +- libgo/go/os/user/lookup_unix.go | 4 +- libgo/go/os/user/lookup_windows.go | 270 +- libgo/go/os/user/user.go | 13 +- libgo/go/os/user/user_test.go | 24 +- libgo/go/os/wait_unimp.go | 2 +- libgo/go/path/example_test.go | 16 +- libgo/go/path/filepath/example_unix_test.go | 22 - libgo/go/path/filepath/example_unix_walk_test.go | 66 + libgo/go/path/filepath/match.go | 9 +- libgo/go/path/filepath/match_test.go | 16 + libgo/go/path/filepath/path.go | 13 +- libgo/go/path/filepath/path_test.go | 64 +- libgo/go/path/filepath/path_unix.go | 2 +- libgo/go/path/filepath/path_windows.go | 6 + libgo/go/path/match.go | 4 +- libgo/go/path/match_test.go | 2 +- libgo/go/plugin/plugin_stubs.go | 2 +- libgo/go/reflect/all_test.go | 98 +- libgo/go/reflect/deepequal.go | 2 +- libgo/go/reflect/set_test.go | 7 +- libgo/go/reflect/type.go | 183 +- libgo/go/reflect/value.go | 30 +- libgo/go/regexp/all_test.go | 13 + libgo/go/regexp/exec.go | 4 +- libgo/go/regexp/onepass.go | 4 +- libgo/go/regexp/regexp.go | 125 +- libgo/go/regexp/syntax/compile.go | 2 +- libgo/go/regexp/syntax/op_string.go | 26 + libgo/go/regexp/syntax/parse_test.go | 6 +- libgo/go/regexp/syntax/prog.go | 28 +- libgo/go/regexp/syntax/regexp.go | 9 +- libgo/go/runtime/alg.go | 39 +- libgo/go/runtime/atomic_pointer.go | 31 +- libgo/go/runtime/{vdso_none.go => auxv_none.go} | 4 + libgo/go/runtime/cgocall.go | 15 +- libgo/go/runtime/cgocheck.go | 12 +- libgo/go/runtime/chan.go | 12 +- libgo/go/runtime/chanbarrier_test.go | 2 +- libgo/go/runtime/cputicks.go | 8 + libgo/go/runtime/crash_cgo_test.go | 41 +- libgo/go/runtime/crash_gccgo_test.go | 4 +- libgo/go/runtime/crash_nonunix_test.go | 2 +- libgo/go/runtime/crash_test.go | 109 + libgo/go/runtime/debug.go | 4 + libgo/go/runtime/debug/heapdump_test.go | 8 +- libgo/go/runtime/debug_test.go | 207 + libgo/go/runtime/env_posix.go | 2 +- libgo/go/runtime/error.go | 61 +- libgo/go/runtime/export_debug_test.go | 169 + libgo/go/runtime/export_linux_test.go | 10 +- libgo/go/runtime/export_test.go | 61 +- libgo/go/runtime/extern.go | 6 + libgo/go/runtime/gc_test.go | 38 +- libgo/go/runtime/gcinfo_test.go | 6 +- libgo/go/runtime/hash64.go | 5 +- libgo/go/runtime/hash_test.go | 15 + libgo/go/runtime/hashmap_fast.go | 1237 ------ libgo/go/runtime/heapdump.go | 33 +- libgo/go/runtime/iface.go | 50 +- libgo/go/runtime/internal/atomic/atomic_test.go | 6 +- libgo/go/runtime/internal/atomic/bench_test.go | 36 + libgo/go/runtime/internal/atomic/stubs.go | 2 + libgo/go/runtime/internal/sys/intrinsics.go | 24 + libgo/go/runtime/lfstack.go | 10 + libgo/go/runtime/lfstack_64bit.go | 22 +- libgo/go/runtime/lock_futex.go | 6 + libgo/go/runtime/lock_js.go | 172 + libgo/go/runtime/lock_sema.go | 6 + libgo/go/runtime/malloc.go | 699 +-- libgo/go/runtime/malloc_test.go | 76 +- libgo/go/runtime/{hashmap.go => map.go} | 155 +- .../{mapspeed_test.go => map_benchmark_test.go} | 29 + libgo/go/runtime/map_fast32.go | 413 ++ libgo/go/runtime/map_fast64.go | 419 ++ libgo/go/runtime/map_faststr.go | 430 ++ libgo/go/runtime/map_test.go | 294 +- libgo/go/runtime/mbarrier.go | 129 +- libgo/go/runtime/mbitmap.go | 415 +- libgo/go/runtime/mcache.go | 1 - libgo/go/runtime/mcentral.go | 2 +- libgo/go/runtime/mem_gccgo.go | 100 +- libgo/go/runtime/memmove_test.go | 7 + libgo/go/runtime/mfinal.go | 62 +- libgo/go/runtime/mfixalloc.go | 2 +- libgo/go/runtime/mgc.go | 71 +- libgo/go/runtime/mgclarge.go | 6 +- libgo/go/runtime/mgcmark.go | 84 +- libgo/go/runtime/mgcsweep.go | 4 +- libgo/go/runtime/mgcwork.go | 1 + libgo/go/runtime/mheap.go | 515 ++- libgo/go/runtime/mprof.go | 4 +- libgo/go/runtime/msan/msan.go | 3 +- libgo/go/runtime/mstats.go | 10 +- libgo/go/runtime/mwbbuf.go | 38 +- libgo/go/runtime/netpoll.go | 4 +- .../runtime/{netpoll_nacl.go => netpoll_fake.go} | 6 +- libgo/go/runtime/os_darwin.go | 332 +- libgo/go/runtime/os_dragonfly.go | 9 +- libgo/go/runtime/os_freebsd.go | 4 +- libgo/go/runtime/os_js.go | 145 + libgo/go/runtime/os_linux.go | 23 +- libgo/go/runtime/os_linux_arm.go | 60 + libgo/go/runtime/os_linux_arm64.go | 29 + libgo/go/runtime/os_linux_mips64x.go | 21 + libgo/go/runtime/os_linux_mipsx.go | 21 + .../runtime/{vdso_none.go => os_linux_noauxv.go} | 6 +- libgo/go/runtime/os_linux_ppc64x.go | 20 +- libgo/go/runtime/os_linux_s390x.go | 19 + libgo/go/runtime/os_netbsd.go | 1 + libgo/go/runtime/os_openbsd.go | 1 + libgo/go/runtime/panic.go | 167 +- libgo/go/runtime/pprof/internal/profile/encode.go | 12 + libgo/go/runtime/pprof/internal/profile/profile.go | 20 +- libgo/go/runtime/pprof/pprof.go | 34 +- libgo/go/runtime/pprof/pprof_test.go | 14 +- libgo/go/runtime/pprof/proto.go | 106 +- libgo/go/runtime/pprof/proto_test.go | 138 +- libgo/go/runtime/pprof/protomem.go | 5 +- libgo/go/runtime/pprof/protomem_test.go | 32 +- .../go/runtime/pprof/testdata/mappingtest/main.go | 105 + libgo/go/runtime/proc.go | 176 +- libgo/go/runtime/proc_test.go | 34 +- libgo/go/runtime/rand_test.go | 2 +- libgo/go/runtime/runtime-lldb_test.go | 4 +- libgo/go/runtime/runtime1.go | 30 +- libgo/go/runtime/runtime2.go | 134 +- libgo/go/runtime/runtime_test.go | 5 +- libgo/go/runtime/rwmutex_test.go | 3 + libgo/go/runtime/select.go | 4 +- libgo/go/runtime/sema.go | 8 +- libgo/go/runtime/signal_sighandler.go | 18 +- libgo/go/runtime/signal_unix.go | 16 +- libgo/go/runtime/sigqueue.go | 11 + libgo/go/runtime/sizeof_test.go | 43 + libgo/go/runtime/slice.go | 77 +- libgo/go/runtime/{append_test.go => slice_test.go} | 36 + libgo/go/runtime/string.go | 81 +- libgo/go/runtime/string_test.go | 42 +- libgo/go/runtime/stubs.go | 42 +- libgo/go/runtime/stubs2.go | 3 +- .../issue24351/plugin.go => go/runtime/stubs3.go} | 16 +- libgo/go/runtime/symtab.go | 5 +- libgo/go/runtime/sys_darwin.go | 374 ++ libgo/go/runtime/sys_wasm.go | 42 + libgo/go/runtime/testdata/testprog/abort.go | 23 + .../go/runtime/testdata/testprog/numcpu_freebsd.go | 13 +- .../testdata/testprog/{memprof.go => timeprof.go} | 31 +- .../testdata/testprog/traceback_ancestors.go | 53 + .../testdata/testprogcgo/bigstack_windows.go | 27 + libgo/go/runtime/testdata/testprogcgo/raceprof.go | 2 +- libgo/go/runtime/testdata/testprogcgo/racesig.go | 2 +- libgo/go/runtime/time.go | 78 +- libgo/go/runtime/timeasm.go | 2 +- libgo/go/runtime/timestub.go | 3 - .../plugin.go => go/runtime/timestub2.go} | 13 +- libgo/go/runtime/trace.go | 147 +- libgo/go/runtime/trace/annotation.go | 196 + libgo/go/runtime/trace/annotation_test.go | 152 + libgo/go/runtime/trace/trace.go | 104 +- libgo/go/runtime/trace/trace_stack_test.go | 148 +- libgo/go/runtime/trace/trace_test.go | 27 + libgo/go/runtime/traceback_gccgo.go | 4 +- libgo/go/runtime/type.go | 24 +- libgo/go/runtime/unaligned1.go | 2 +- libgo/go/runtime/utf8.go | 9 + libgo/go/sort/genzfunc.go | 2 +- libgo/go/sort/sort.go | 2 +- libgo/go/sort/sort_test.go | 4 +- libgo/go/sort/zfuncversion.go | 2 +- libgo/go/strconv/atob.go | 2 +- libgo/go/strconv/atof_test.go | 4 +- libgo/go/strconv/doc.go | 8 +- libgo/go/strconv/example_test.go | 34 +- libgo/go/strconv/extfloat.go | 43 +- libgo/go/strconv/ftoa.go | 7 +- libgo/go/strconv/ftoa_test.go | 4 +- libgo/go/strconv/isprint.go | 3 +- libgo/go/strconv/itoa.go | 30 +- libgo/go/strconv/itoa_test.go | 12 +- libgo/go/strconv/makeisprint.go | 3 +- libgo/go/strconv/quote.go | 8 +- libgo/go/strconv/quote_test.go | 30 + libgo/go/strings/builder_test.go | 92 +- libgo/go/strings/compare_test.go | 26 +- libgo/go/strings/replace.go | 77 +- libgo/go/strings/search.go | 4 +- libgo/go/strings/search_test.go | 2 +- libgo/go/strings/strings.go | 98 +- libgo/go/strings/strings_amd64.go | 90 - libgo/go/strings/strings_decl.go | 2 +- libgo/go/strings/strings_generic.go | 61 - libgo/go/strings/strings_s390x.go | 88 - libgo/go/strings/strings_test.go | 12 + libgo/go/sync/atomic/64bit_arm.go | 58 - libgo/go/sync/atomic/example_test.go | 76 + libgo/go/sync/atomic/value_test.go | 67 - libgo/go/sync/cond.go | 3 +- libgo/go/sync/cond_test.go | 7 +- libgo/go/sync/rwmutex.go | 5 +- libgo/go/sync/waitgroup.go | 25 +- libgo/go/sync/waitgroup_test.go | 27 +- libgo/go/syscall/dirent.go | 2 +- libgo/go/syscall/endian_little.go | 2 +- libgo/go/syscall/env_unix.go | 2 +- libgo/go/syscall/env_windows.go | 2 +- libgo/go/syscall/exec_linux_test.go | 9 + libgo/go/syscall/exec_windows.go | 2 +- .../issue23092.go => syscall/export_linux_test.go} | 6 +- libgo/go/syscall/{forkpipe_bsd.go => forkpipe.go} | 3 +- libgo/go/syscall/{exec_freebsd.go => forkpipe2.go} | 2 + libgo/go/syscall/fs_js.go | 501 +++ libgo/go/syscall/js/callback.go | 122 + libgo/go/syscall/js/js.go | 382 ++ libgo/go/syscall/js/js_test.go | 319 ++ libgo/go/syscall/js/typedarray.go | 102 + libgo/go/syscall/libcall_linux.go | 9 - libgo/go/syscall/net_js.go | 128 + libgo/go/syscall/pwd_plan9.go | 10 + libgo/go/syscall/route_freebsd_32bit.go | 2 +- libgo/go/syscall/security_windows.go | 6 +- libgo/go/syscall/setuidgid_32_linux.go | 2 + libgo/go/syscall/setuidgid_linux.go | 2 + libgo/go/syscall/syscall.go | 13 +- libgo/go/syscall/syscall_errno.go | 2 +- libgo/go/syscall/syscall_js.go | 307 ++ libgo/go/syscall/syscall_linux.go | 5 + libgo/go/syscall/syscall_linux_test.go | 202 + libgo/go/syscall/syscall_plan9_test.go | 53 + libgo/go/syscall/syscall_test.go | 4 +- libgo/go/syscall/syscall_unix.go | 10 + libgo/go/syscall/tables_nacljs.go | 490 +++ libgo/go/syscall/timestruct.go | 2 +- libgo/go/testing/benchmark.go | 15 +- libgo/go/testing/cover.go | 13 +- libgo/go/testing/example.go | 3 +- libgo/go/testing/helper_test.go | 8 +- libgo/go/testing/helperfuncs_test.go | 18 +- libgo/go/testing/internal/testdeps/deps.go | 4 - libgo/go/testing/match.go | 2 +- libgo/go/testing/sub_test.go | 90 +- libgo/go/testing/testing.go | 132 +- libgo/go/text/scanner/example_test.go | 106 +- libgo/go/text/scanner/scanner.go | 2 +- libgo/go/text/scanner/scanner_test.go | 16 +- libgo/go/text/tabwriter/tabwriter.go | 62 +- libgo/go/text/tabwriter/tabwriter_test.go | 79 + libgo/go/text/template/doc.go | 7 +- libgo/go/text/template/exec.go | 76 +- libgo/go/text/template/exec_test.go | 18 + libgo/go/text/template/parse/lex.go | 7 +- libgo/go/text/template/parse/lex_test.go | 8 +- libgo/go/text/template/parse/node.go | 22 +- libgo/go/text/template/parse/parse.go | 24 +- libgo/go/text/template/parse/parse_test.go | 4 +- libgo/go/text/template/template.go | 10 +- libgo/go/time/example_test.go | 25 +- libgo/go/time/format.go | 23 +- libgo/go/time/format_test.go | 2 + libgo/go/time/internal_test.go | 5 + libgo/go/time/sleep_test.go | 4 +- libgo/go/time/sys_unix.go | 2 +- libgo/go/time/tick.go | 4 +- libgo/go/time/time.go | 47 +- libgo/go/time/time_test.go | 51 +- libgo/go/time/zoneinfo.go | 10 +- libgo/go/time/zoneinfo_abbrs_windows.go | 79 +- libgo/go/time/zoneinfo_read.go | 2 +- libgo/go/time/zoneinfo_test.go | 2 +- libgo/go/time/zoneinfo_unix.go | 4 +- libgo/go/unicode/letter.go | 26 +- libgo/go/unicode/letter_test.go | 12 + libgo/go/unicode/utf16/utf16_test.go | 2 +- libgo/go/unicode/utf8/utf8_test.go | 21 +- libgo/gotool-packages.txt | 18 + libgo/libgo-packages.txt | 10 +- libgo/match.sh | 4 +- libgo/merge.sh | 2 +- libgo/misc/cgo/life/main.go | 2 +- libgo/misc/cgo/stdio/chain.go | 2 +- libgo/misc/cgo/stdio/fib.go | 2 +- libgo/misc/cgo/stdio/hello.go | 2 +- libgo/misc/cgo/test/basic.go | 14 + libgo/misc/cgo/test/cgo_test.go | 8 +- libgo/misc/cgo/test/issue18146.go | 8 +- libgo/misc/cgo/test/issue21897.go | 11 +- libgo/misc/cgo/test/issue21897b.go | 2 +- libgo/misc/cgo/test/issue23356.go | 19 + libgo/misc/cgo/test/issue23555.go | 11 + .../cgo/test/issue23555a/a.go} | 9 +- .../cgo/test/issue23555b/a.go} | 9 +- libgo/misc/cgo/test/issue23720.go | 22 + libgo/misc/cgo/test/issue24161_darwin_test.go | 39 + libgo/misc/cgo/test/issue24161arg/def.go | 17 + libgo/misc/cgo/test/issue24161arg/use.go | 19 + libgo/misc/cgo/test/issue24161e0/main.go | 29 + libgo/misc/cgo/test/issue24161e1/main.go | 38 + libgo/misc/cgo/test/issue24161e2/main.go | 40 + libgo/misc/cgo/test/issue24161res/restype.go | 23 + libgo/misc/cgo/test/issue24206.go | 54 + .../plugin.go => test/issue24206_generic.go} | 13 +- libgo/misc/cgo/test/issue25143.go | 22 + libgo/misc/cgo/test/issue26066.go | 19 + libgo/misc/cgo/test/issue26213/jni.h | 29 + libgo/misc/cgo/test/issue26213/test26213.go | 46 + .../misc/cgo/test/{issue21668.go => issue26430.go} | 9 +- .../issue24351/plugin.go => test/issue26430/a.go} | 13 +- .../issue24351/plugin.go => test/issue26430/b.go} | 13 +- libgo/misc/cgo/test/issue26517.go | 23 + .../misc/cgo/test/{issue21668.go => issue26743.go} | 9 +- .../issue24351/plugin.go => test/issue26743/a.go} | 13 +- .../cgo/test/issue26743/b.go} | 6 +- libgo/misc/cgo/test/issue4029.c | 2 +- libgo/misc/cgo/test/issue4029.go | 2 +- libgo/misc/cgo/test/issue4029w.go | 2 +- libgo/misc/cgo/test/issue9400/asm_arm.s | 2 +- libgo/misc/cgo/test/issue9400/asm_arm64.s | 2 +- libgo/misc/cgo/test/issue9400/asm_mipsx.s | 2 +- libgo/misc/cgo/test/issue9400/stubs.go | 2 +- libgo/misc/cgo/test/sigprocmask.c | 21 +- libgo/misc/cgo/test/sigprocmask.go | 2 +- .../src/issue24351/plugin.go => test/test26213.go} | 15 +- libgo/misc/cgo/testcarchive/carchive_test.go | 36 +- libgo/misc/cgo/testcarchive/main5.c | 2 + libgo/misc/cgo/testcarchive/src/libgo3/libgo3.go | 4 +- libgo/misc/cgo/testcshared/cshared_test.go | 22 +- libgo/misc/cgo/testcshared/main2.c | 4 +- libgo/misc/cgo/testgodefs/fieldtypedef.go | 18 + libgo/misc/cgo/testgodefs/test.bash | 2 +- .../{life => testplugin/src/issue25756}/main.go | 19 +- .../src/issue25756/plugin}/c-life.c | 0 .../src/issue25756/plugin}/life.go | 4 +- .../src/issue25756/plugin}/life.h | 0 libgo/misc/cgo/testplugin/test.bash | 11 +- libgo/misc/cgo/testsanitizers/cc_test.go | 5 +- libgo/misc/cgo/testsanitizers/msan_test.go | 1 + libgo/misc/cgo/testsanitizers/src/msan6.go | 72 + libgo/misc/cgo/testsanitizers/tsan_test.go | 4 + libgo/misc/cgo/testshared/shared_test.go | 6 + libgo/misc/cgo/testshared/src/depBase/asm.s | 2 +- libgo/misc/cgo/testshared/src/depBase/dep.go | 4 + libgo/misc/cgo/testshared/src/depBase/gccgo.go | 6 +- libgo/misc/cgo/testshared/src/depBase/stubs.go | 6 +- libgo/misc/cgo/testshared/src/trivial/trivial.go | 5 + libgo/runtime/go-caller.c | 11 - libgo/runtime/go-runtime-error.c | 13 + libgo/runtime/panic.c | 8 + libgo/runtime/runtime.h | 17 +- libgo/runtime/runtime_c.c | 16 +- libgo/testsuite/gotest | 4 +- 1516 files changed, 82020 insertions(+), 19348 deletions(-) copy libgo/go/archive/tar/testdata/{pax-nul-xattrs.tar => file-and-dir.tar} (80%) delete mode 100644 libgo/go/bytes/bytes_amd64.go delete mode 100644 libgo/go/bytes/bytes_arm64.go delete mode 100644 libgo/go/bytes/bytes_generic.go delete mode 100644 libgo/go/bytes/bytes_s390x.go create mode 100644 libgo/go/cmd/go/internal/base/goflags.go create mode 100644 libgo/go/cmd/go/internal/cache/default_unix_test.go create mode 100644 libgo/go/cmd/go/internal/dirhash/hash.go create mode 100644 libgo/go/cmd/go/internal/dirhash/hash_test.go create mode 100644 libgo/go/cmd/go/internal/imports/build.go copy libgo/go/{go/build => cmd/go/internal/imports}/read.go (94%) copy libgo/go/{go/build => cmd/go/internal/imports}/read_test.go (93%) create mode 100644 libgo/go/cmd/go/internal/imports/scan.go create mode 100644 libgo/go/cmd/go/internal/imports/scan_test.go create mode 100644 libgo/go/cmd/go/internal/imports/tags.go create mode 100644 libgo/go/cmd/go/internal/imports/testdata/import1/x.go create mode 100644 libgo/go/cmd/go/internal/imports/testdata/import1/x1.go create mode 100644 libgo/go/cmd/go/internal/imports/testdata/import1/x_darwin.go create mode 100644 libgo/go/cmd/go/internal/imports/testdata/import1/x_windows.go create mode 100644 libgo/go/cmd/go/internal/load/test.go create mode 100644 libgo/go/cmd/go/internal/modcmd/download.go create mode 100644 libgo/go/cmd/go/internal/modcmd/edit.go create mode 100644 libgo/go/cmd/go/internal/modcmd/graph.go create mode 100644 libgo/go/cmd/go/internal/modcmd/init.go create mode 100644 libgo/go/cmd/go/internal/modcmd/mod.go create mode 100644 libgo/go/cmd/go/internal/modcmd/tidy.go create mode 100644 libgo/go/cmd/go/internal/modcmd/vendor.go create mode 100644 libgo/go/cmd/go/internal/modcmd/verify.go create mode 100644 libgo/go/cmd/go/internal/modcmd/why.go create mode 100644 libgo/go/cmd/go/internal/modconv/convert.go create mode 100644 libgo/go/cmd/go/internal/modconv/convert_test.go create mode 100644 libgo/go/cmd/go/internal/modconv/dep.go create mode 100644 libgo/go/cmd/go/internal/modconv/glide.go create mode 100644 libgo/go/cmd/go/internal/modconv/glock.go create mode 100644 libgo/go/cmd/go/internal/modconv/godeps.go create mode 100644 libgo/go/cmd/go/internal/modconv/modconv.go create mode 100644 libgo/go/cmd/go/internal/modconv/modconv_test.go create mode 100644 libgo/go/cmd/go/internal/modconv/testdata/cockroach.glock create mode 100644 libgo/go/cmd/go/internal/modconv/testdata/cockroach.out create mode 100644 libgo/go/cmd/go/internal/modconv/testdata/dockermachine.godeps create mode 100644 libgo/go/cmd/go/internal/modconv/testdata/dockermachine.out create mode 100644 libgo/go/cmd/go/internal/modconv/testdata/dockerman.glide create mode 100644 libgo/go/cmd/go/internal/modconv/testdata/dockerman.out create mode 100644 libgo/go/cmd/go/internal/modconv/testdata/govmomi.out create mode 100644 libgo/go/cmd/go/internal/modconv/testdata/govmomi.vmanifest create mode 100644 libgo/go/cmd/go/internal/modconv/testdata/juju.out create mode 100644 libgo/go/cmd/go/internal/modconv/testdata/juju.tsv create mode 100644 libgo/go/cmd/go/internal/modconv/testdata/moby.out create mode 100644 libgo/go/cmd/go/internal/modconv/testdata/moby.vconf create mode 100644 libgo/go/cmd/go/internal/modconv/testdata/panicparse.out create mode 100644 libgo/go/cmd/go/internal/modconv/testdata/panicparse.vyml create mode 100644 libgo/go/cmd/go/internal/modconv/testdata/prometheus.out create mode 100644 libgo/go/cmd/go/internal/modconv/testdata/prometheus.vjson create mode 100644 libgo/go/cmd/go/internal/modconv/testdata/upspin.dep create mode 100644 libgo/go/cmd/go/internal/modconv/testdata/upspin.out create mode 100644 libgo/go/cmd/go/internal/modconv/tsv.go create mode 100644 libgo/go/cmd/go/internal/modconv/vconf.go create mode 100644 libgo/go/cmd/go/internal/modconv/vjson.go create mode 100644 libgo/go/cmd/go/internal/modconv/vmanifest.go create mode 100644 libgo/go/cmd/go/internal/modconv/vyml.go create mode 100644 libgo/go/cmd/go/internal/modfetch/cache.go create mode 100644 libgo/go/cmd/go/internal/modfetch/cache_test.go create mode 100644 libgo/go/cmd/go/internal/modfetch/codehost/codehost.go create mode 100644 libgo/go/cmd/go/internal/modfetch/codehost/git.go create mode 100644 libgo/go/cmd/go/internal/modfetch/codehost/git_test.go create mode 100644 libgo/go/cmd/go/internal/modfetch/codehost/shell.go create mode 100644 libgo/go/cmd/go/internal/modfetch/codehost/vcs.go create mode 100644 libgo/go/cmd/go/internal/modfetch/coderepo.go create mode 100644 libgo/go/cmd/go/internal/modfetch/coderepo_test.go create mode 100644 libgo/go/cmd/go/internal/modfetch/fetch.go create mode 100644 libgo/go/cmd/go/internal/modfetch/noweb.go create mode 100644 libgo/go/cmd/go/internal/modfetch/proxy.go create mode 100644 libgo/go/cmd/go/internal/modfetch/pseudo.go create mode 100644 libgo/go/cmd/go/internal/modfetch/pseudo_test.go create mode 100644 libgo/go/cmd/go/internal/modfetch/repo.go create mode 100644 libgo/go/cmd/go/internal/modfetch/unzip.go create mode 100644 libgo/go/cmd/go/internal/modfetch/web.go create mode 100644 libgo/go/cmd/go/internal/modfile/gopkgin.go create mode 100644 libgo/go/cmd/go/internal/modfile/print.go create mode 100644 libgo/go/cmd/go/internal/modfile/read.go create mode 100644 libgo/go/cmd/go/internal/modfile/read_test.go create mode 100644 libgo/go/cmd/go/internal/modfile/rule.go create mode 100644 libgo/go/cmd/go/internal/modfile/rule_test.go create mode 100644 libgo/go/cmd/go/internal/modfile/testdata/block.golden create mode 100644 libgo/go/cmd/go/internal/modfile/testdata/block.in create mode 100644 libgo/go/cmd/go/internal/modfile/testdata/comment.golden create mode 100644 libgo/go/cmd/go/internal/modfile/testdata/comment.in copy gcc/testsuite/g++.dg/cpp1y/testinc/phoobhar.h => libgo/go/cmd/go/internal/mod [...] copy gcc/testsuite/g++.dg/cpp1y/testinc/phoobhar.h => libgo/go/cmd/go/internal/mod [...] create mode 100644 libgo/go/cmd/go/internal/modfile/testdata/gopkg.in.golden create mode 100644 libgo/go/cmd/go/internal/modfile/testdata/module.golden create mode 100644 libgo/go/cmd/go/internal/modfile/testdata/module.in create mode 100644 libgo/go/cmd/go/internal/modfile/testdata/replace.golden create mode 100644 libgo/go/cmd/go/internal/modfile/testdata/replace.in create mode 100644 libgo/go/cmd/go/internal/modfile/testdata/replace2.golden create mode 100644 libgo/go/cmd/go/internal/modfile/testdata/replace2.in create mode 100644 libgo/go/cmd/go/internal/modfile/testdata/rule1.golden create mode 100644 libgo/go/cmd/go/internal/modget/get.go create mode 100644 libgo/go/cmd/go/internal/modinfo/info.go create mode 100644 libgo/go/cmd/go/internal/modload/build.go create mode 100644 libgo/go/cmd/go/internal/modload/help.go create mode 100644 libgo/go/cmd/go/internal/modload/import.go create mode 100644 libgo/go/cmd/go/internal/modload/import_test.go create mode 100644 libgo/go/cmd/go/internal/modload/init.go create mode 100644 libgo/go/cmd/go/internal/modload/list.go create mode 100644 libgo/go/cmd/go/internal/modload/load.go create mode 100644 libgo/go/cmd/go/internal/modload/query.go create mode 100644 libgo/go/cmd/go/internal/modload/query_test.go create mode 100644 libgo/go/cmd/go/internal/modload/search.go create mode 100644 libgo/go/cmd/go/internal/module/module.go create mode 100644 libgo/go/cmd/go/internal/module/module_test.go create mode 100644 libgo/go/cmd/go/internal/mvs/mvs.go create mode 100644 libgo/go/cmd/go/internal/mvs/mvs_test.go create mode 100644 libgo/go/cmd/go/internal/par/work.go create mode 100644 libgo/go/cmd/go/internal/par/work_test.go copy libgo/go/cmd/go/internal/{load => search}/search.go (56%) rename libgo/go/cmd/go/internal/{load/match_test.go => search/search_test.go} (94%) create mode 100644 libgo/go/cmd/go/internal/semver/semver.go create mode 100644 libgo/go/cmd/go/internal/semver/semver_test.go create mode 100644 libgo/go/cmd/go/internal/txtar/archive.go create mode 100644 libgo/go/cmd/go/internal/txtar/archive_test.go create mode 100644 libgo/go/cmd/go/internal/web2/web.go create mode 100644 libgo/go/cmd/go/internal/web2/web_test.go create mode 100644 libgo/go/cmd/go/internal/webtest/test.go create mode 100644 libgo/go/cmd/go/proxy_test.go create mode 100644 libgo/go/cmd/go/script_test.go create mode 100644 libgo/go/cmd/go/testdata/addmod.go create mode 100644 libgo/go/cmd/go/testdata/badmod/go.mod create mode 100644 libgo/go/cmd/go/testdata/badmod/x.go create mode 100644 libgo/go/cmd/go/testdata/importcycle/src/selfimport/selfimport.go create mode 100644 libgo/go/cmd/go/testdata/mod/README create mode 100644 libgo/go/cmd/go/testdata/mod/example.com_join_subpkg_v1.0.0.txt create mode 100644 libgo/go/cmd/go/testdata/mod/example.com_join_subpkg_v1.1.0.txt create mode 100644 libgo/go/cmd/go/testdata/mod/example.com_join_v1.0.0.txt create mode 100644 libgo/go/cmd/go/testdata/mod/example.com_join_v1.1.0.txt create mode 100644 libgo/go/cmd/go/testdata/mod/example.com_split_subpkg_v1.1.0.txt create mode 100644 libgo/go/cmd/go/testdata/mod/example.com_split_v1.0.0.txt create mode 100644 libgo/go/cmd/go/testdata/mod/example.com_split_v1.1.0.txt create mode 100644 libgo/go/cmd/go/testdata/mod/example.com_v1.0.0.txt create mode 100644 libgo/go/cmd/go/testdata/mod/golang.org_notx_useinternal_v0.1.0.txt create mode 100644 libgo/go/cmd/go/testdata/mod/golang.org_x_internal_v0.1.0.txt create mode 100644 libgo/go/cmd/go/testdata/mod/golang.org_x_text_v0.0.0-201709150 [...] create mode 100644 libgo/go/cmd/go/testdata/mod/golang.org_x_text_v0.3.0.txt create mode 100644 libgo/go/cmd/go/testdata/mod/golang.org_x_useinternal_v0.1.0.txt create mode 100644 libgo/go/cmd/go/testdata/mod/gopkg.in_dummy.v2-unstable_v2.0.0.txt create mode 100644 libgo/go/cmd/go/testdata/mod/research.swtch.com_vgo-tour_v1.0.0.txt create mode 100644 libgo/go/cmd/go/testdata/mod/rsc.io_!c!g!o_v1.0.0.txt create mode 100644 libgo/go/cmd/go/testdata/mod/rsc.io_!q!u!o!t!e_v1.5.2.txt create mode 100644 libgo/go/cmd/go/testdata/mod/rsc.io_!q!u!o!t!e_v1.5.3-!p!r!e.txt create mode 100644 libgo/go/cmd/go/testdata/mod/rsc.io_badfile1_v1.0.0.txt create mode 100644 libgo/go/cmd/go/testdata/mod/rsc.io_badfile2_v1.0.0.txt create mode 100644 libgo/go/cmd/go/testdata/mod/rsc.io_badfile3_v1.0.0.txt create mode 100644 libgo/go/cmd/go/testdata/mod/rsc.io_badfile4_v1.0.0.txt create mode 100644 libgo/go/cmd/go/testdata/mod/rsc.io_badfile5_v1.0.0.txt create mode 100644 libgo/go/cmd/go/testdata/mod/rsc.io_badmod_v1.0.0.txt create mode 100644 libgo/go/cmd/go/testdata/mod/rsc.io_breaker_v1.0.0.txt create mode 100644 libgo/go/cmd/go/testdata/mod/rsc.io_breaker_v2.0.0+incompatible.txt create mode 100644 libgo/go/cmd/go/testdata/mod/rsc.io_breaker_v2.0.0.txt create mode 100644 libgo/go/cmd/go/testdata/mod/rsc.io_fortune_v1.0.0.txt create mode 100644 libgo/go/cmd/go/testdata/mod/rsc.io_fortune_v2_v2.0.0.txt create mode 100644 libgo/go/cmd/go/testdata/mod/rsc.io_quote_v0.0.0-20180214005133 [...] create mode 100644 libgo/go/cmd/go/testdata/mod/rsc.io_quote_v0.0.0-20180214005840 [...] create mode 100644 libgo/go/cmd/go/testdata/mod/rsc.io_quote_v0.0.0-20180628003336 [...] create mode 100644 libgo/go/cmd/go/testdata/mod/rsc.io_quote_v0.0.0-20180709153244 [...] create mode 100644 libgo/go/cmd/go/testdata/mod/rsc.io_quote_v0.0.0-20180709160352 [...] create mode 100644 libgo/go/cmd/go/testdata/mod/rsc.io_quote_v0.0.0-20180709162749 [...] create mode 100644 libgo/go/cmd/go/testdata/mod/rsc.io_quote_v0.0.0-20180709162816 [...] create mode 100644 libgo/go/cmd/go/testdata/mod/rsc.io_quote_v0.0.0-20180709162918 [...] create mode 100644 libgo/go/cmd/go/testdata/mod/rsc.io_quote_v0.0.0-20180710144737 [...] create mode 100644 libgo/go/cmd/go/testdata/mod/rsc.io_quote_v1.0.0.txt create mode 100644 libgo/go/cmd/go/testdata/mod/rsc.io_quote_v1.1.0.txt create mode 100644 libgo/go/cmd/go/testdata/mod/rsc.io_quote_v1.2.0.txt create mode 100644 libgo/go/cmd/go/testdata/mod/rsc.io_quote_v1.2.1.txt create mode 100644 libgo/go/cmd/go/testdata/mod/rsc.io_quote_v1.3.0.txt create mode 100644 libgo/go/cmd/go/testdata/mod/rsc.io_quote_v1.4.0.txt create mode 100644 libgo/go/cmd/go/testdata/mod/rsc.io_quote_v1.5.0.txt create mode 100644 libgo/go/cmd/go/testdata/mod/rsc.io_quote_v1.5.1.txt create mode 100644 libgo/go/cmd/go/testdata/mod/rsc.io_quote_v1.5.2.txt create mode 100644 libgo/go/cmd/go/testdata/mod/rsc.io_quote_v1.5.3-pre1.txt create mode 100644 libgo/go/cmd/go/testdata/mod/rsc.io_quote_v2.0.0.txt create mode 100644 libgo/go/cmd/go/testdata/mod/rsc.io_quote_v2_v2.0.1.txt create mode 100644 libgo/go/cmd/go/testdata/mod/rsc.io_quote_v3_v3.0.0.txt create mode 100644 libgo/go/cmd/go/testdata/mod/rsc.io_sampler_v1.0.0.txt create mode 100644 libgo/go/cmd/go/testdata/mod/rsc.io_sampler_v1.2.0.txt create mode 100644 libgo/go/cmd/go/testdata/mod/rsc.io_sampler_v1.2.1.txt create mode 100644 libgo/go/cmd/go/testdata/mod/rsc.io_sampler_v1.3.0.txt create mode 100644 libgo/go/cmd/go/testdata/mod/rsc.io_sampler_v1.3.1.txt create mode 100644 libgo/go/cmd/go/testdata/mod/rsc.io_sampler_v1.99.99.txt create mode 100644 libgo/go/cmd/go/testdata/mod/rsc.io_testonly_v1.0.0.txt create mode 100644 libgo/go/cmd/go/testdata/savedir.go create mode 100644 libgo/go/cmd/go/testdata/script/README create mode 100644 libgo/go/cmd/go/testdata/script/binary_only.txt create mode 100644 libgo/go/cmd/go/testdata/script/build_GOTMPDIR.txt create mode 100644 libgo/go/cmd/go/testdata/script/build_cache_compile.txt create mode 100644 libgo/go/cmd/go/testdata/script/build_cache_link.txt create mode 100644 libgo/go/cmd/go/testdata/script/build_cache_output.txt create mode 100644 libgo/go/cmd/go/testdata/script/cover_atomic_pkgall.txt create mode 100644 libgo/go/cmd/go/testdata/script/cover_pkgall_runtime.txt create mode 100644 libgo/go/cmd/go/testdata/script/cpu_profile_twice.txt create mode 100644 libgo/go/cmd/go/testdata/script/fileline.txt create mode 100644 libgo/go/cmd/go/testdata/script/get_with_git_trace.txt create mode 100644 libgo/go/cmd/go/testdata/script/goflags.txt create mode 100644 libgo/go/cmd/go/testdata/script/help.txt create mode 100644 libgo/go/cmd/go/testdata/script/install_cleans_build.txt create mode 100644 libgo/go/cmd/go/testdata/script/install_cross_gobin.txt create mode 100644 libgo/go/cmd/go/testdata/script/install_rebuild_gopath.txt create mode 100644 libgo/go/cmd/go/testdata/script/install_rebuild_removed.txt create mode 100644 libgo/go/cmd/go/testdata/script/linkname.txt create mode 100644 libgo/go/cmd/go/testdata/script/list_bad_import.txt create mode 100644 libgo/go/cmd/go/testdata/script/list_compiled_imports.txt create mode 100644 libgo/go/cmd/go/testdata/script/list_find.txt create mode 100644 libgo/go/cmd/go/testdata/script/list_std.txt create mode 100644 libgo/go/cmd/go/testdata/script/list_tags.txt create mode 100644 libgo/go/cmd/go/testdata/script/list_test_e.txt create mode 100644 libgo/go/cmd/go/testdata/script/list_test_imports.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_bad_domain.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_bad_filenames.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_build_tags.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_case.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_case_cgo.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_convert_dep.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_convert_git.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_convert_glide.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_convert_glockfile.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_convert_godeps.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_convert_tsv.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_convert_vendor_conf.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_convert_vendor_json.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_convert_vendor_manifest.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_convert_vendor_yml.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_doc.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_domain_root.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_download.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_edit.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_enabled.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_file_proxy.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_find.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_fs_patterns.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_get_commit.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_get_downgrade.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_get_incompatible.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_get_indirect.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_get_local.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_get_moved.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_get_none.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_get_pseudo.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_get_upgrade.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_get_warning.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_getmode_vendor.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_go_version.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_gobuild_import.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_gofmt_invalid.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_gopkg_unstable.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_graph.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_import.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_import_mod.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_init_dep.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_install_versioned.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_internal.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_list.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_list_bad_import.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_list_dir.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_list_upgrade.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_load_badmod.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_local_replace.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_multirepo.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_nomod.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_patterns.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_query.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_query_exclude.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_readonly.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_replace.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_require_exclude.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_test.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_tidy.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_tidy_quote.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_tidy_sum.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_upgrade_patch.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_vendor.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_vendor_build.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_vendor_nodeps.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_verify.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_versions.txt create mode 100644 libgo/go/cmd/go/testdata/script/mod_why.txt create mode 100644 libgo/go/cmd/go/testdata/script/pattern_syntax_error.txt create mode 100644 libgo/go/cmd/go/testdata/script/run_hello.txt create mode 100644 libgo/go/cmd/go/testdata/script/test_badtest.txt create mode 100644 libgo/go/cmd/go/testdata/script/test_compile_binary.txt create mode 100644 libgo/go/cmd/go/testdata/script/vendor_complex.txt delete mode 100644 libgo/go/cmd/go/testdata/src/badtest/badexec/x_test.go delete mode 100644 libgo/go/cmd/go/testdata/src/badtest/badsyntax/x.go delete mode 100644 libgo/go/cmd/go/testdata/src/badtest/badsyntax/x_test.go delete mode 100644 libgo/go/cmd/go/testdata/src/badtest/badvar/x.go delete mode 100644 libgo/go/cmd/go/testdata/src/badtest/badvar/x_test.go delete mode 100644 libgo/go/cmd/go/testdata/src/complex/main.go delete mode 100644 libgo/go/cmd/go/testdata/src/complex/nest/sub/test12/p.go delete mode 100644 libgo/go/cmd/go/testdata/src/complex/nest/sub/test23/p.go delete mode 100644 libgo/go/cmd/go/testdata/src/complex/nest/sub/vendor/v2/v2.go delete mode 100644 libgo/go/cmd/go/testdata/src/complex/nest/vendor/v1/v1.go delete mode 100644 libgo/go/cmd/go/testdata/src/complex/nest/vendor/v2/v2.go delete mode 100644 libgo/go/cmd/go/testdata/src/complex/nest/vendor/v3/v3.go delete mode 100644 libgo/go/cmd/go/testdata/src/complex/vendor/v/v.go delete mode 100644 libgo/go/cmd/go/testdata/src/complex/w/w.go copy libgo/go/cmd/go/testdata/src/{go-cmd-test/helloworld.go => hello/hello.go} (54%) create mode 100644 libgo/go/cmd/go/testdata/src/testnorun/p.go create mode 100644 libgo/go/cmd/go/testdata/testcover/pkg1/a.go create mode 100644 libgo/go/cmd/go/testdata/testcover/pkg2/a.go create mode 100644 libgo/go/cmd/go/testdata/testcover/pkg2/a_test.go create mode 100644 libgo/go/cmd/go/testdata/testcover/pkg3/a.go copy libgo/go/cmd/go/testdata/{src/vetfail/p2/p2_test.go => testcover/pkg3/a_test. [...] create mode 100644 libgo/go/cmd/go/testdata/testonly2/t.go create mode 100644 libgo/go/cmd/go/testdata/vendormod.txt create mode 100644 libgo/go/cmd/internal/test2json/testdata/bench.json create mode 100644 libgo/go/cmd/internal/test2json/testdata/bench.test create mode 100644 libgo/go/cmd/internal/test2json/testdata/benchfail.json create mode 100644 libgo/go/cmd/internal/test2json/testdata/benchfail.test create mode 100644 libgo/go/cmd/internal/test2json/testdata/benchshort.json create mode 100644 libgo/go/cmd/internal/test2json/testdata/benchshort.test create mode 100644 libgo/go/cmd/internal/test2json/testdata/issue23036.json create mode 100644 libgo/go/cmd/internal/test2json/testdata/issue23036.test create mode 100644 libgo/go/cmd/internal/test2json/testdata/issue23920.json create mode 100644 libgo/go/cmd/internal/test2json/testdata/issue23920.test create mode 100644 libgo/go/cmd/vet/all/whitelist/wasm.txt rename libgo/go/crypto/aes/{cipher_amd64.go => cipher_asm.go} (75%) create mode 100644 libgo/go/crypto/ecdsa/example_test.go create mode 100644 libgo/go/crypto/elliptic/fuzz_test.go rename libgo/go/crypto/elliptic/{p256_amd64.go => p256_asm.go} (82%) delete mode 100644 libgo/go/crypto/internal/cipherhw/cipherhw_amd64.go delete mode 100644 libgo/go/crypto/internal/cipherhw/cipherhw_s390x.go delete mode 100644 libgo/go/crypto/internal/cipherhw/doc.go delete mode 100644 libgo/go/crypto/internal/cipherhw/generic.go create mode 100644 libgo/go/crypto/internal/randutil/randutil.go create mode 100644 libgo/go/crypto/internal/subtle/aliasing.go create mode 100644 libgo/go/crypto/internal/subtle/aliasing_appengine.go create mode 100644 libgo/go/crypto/internal/subtle/aliasing_test.go create mode 100644 libgo/go/crypto/rand/rand_js.go create mode 100644 libgo/go/crypto/tls/auth.go create mode 100644 libgo/go/crypto/tls/auth_test.go copy libgo/go/crypto/tls/testdata/{Client-TLSv10-ECDHE-RSA-AES => Client-TLSv10-Ex [...] copy libgo/go/crypto/tls/testdata/{Client-TLSv12-RenegotiationRejected => Client-T [...] create mode 100644 libgo/go/crypto/tls/testdata/Server-TLSv10-ExportKeyingMaterial copy libgo/go/crypto/tls/testdata/{Server-TLSv12-ALPN-NoMatch => Server-TLSv12-Exp [...] create mode 100644 libgo/go/crypto/tls/testdata/example-cert.pem create mode 100644 libgo/go/crypto/tls/testdata/example-key.pem copy libgo/go/crypto/x509/{root_nacl.go => root_js.go} (73%) delete mode 100644 libgo/go/crypto/x509/sha2_windows_test.go create mode 100644 libgo/go/debug/dwarf/attr_string.go create mode 100644 libgo/go/debug/dwarf/tag_string.go create mode 100644 libgo/go/debug/elf/testdata/go-relocation-test-gcc720-riscv64.obj create mode 100644 libgo/go/flag/example_value_test.go create mode 100644 libgo/go/go/build/testdata/doc/a_test.go create mode 100644 libgo/go/go/build/testdata/doc/b_test.go create mode 100644 libgo/go/go/build/testdata/doc/c_test.go create mode 100644 libgo/go/go/build/testdata/doc/d_test.go create mode 100644 libgo/go/go/build/testdata/doc/e.go create mode 100644 libgo/go/go/build/testdata/doc/f.go create mode 100644 libgo/go/go/constant/example_test.go create mode 100644 libgo/go/go/doc/testdata/g.0.golden create mode 100644 libgo/go/go/doc/testdata/g.1.golden create mode 100644 libgo/go/go/doc/testdata/g.2.golden create mode 100644 libgo/go/go/doc/testdata/g.go create mode 100644 libgo/go/go/doc/testdata/issue12839.0.golden create mode 100644 libgo/go/go/doc/testdata/issue12839.1.golden create mode 100644 libgo/go/go/doc/testdata/issue12839.2.golden create mode 100644 libgo/go/go/doc/testdata/issue12839.go rename libgo/go/go/doc/testdata/{issue18063.1.golden => issue22856.0.golden} (73%) rename libgo/go/go/doc/testdata/{issue18063.0.golden => issue22856.1.golden} (73%) rename libgo/go/go/doc/testdata/{issue18063.2.golden => issue22856.2.golden} (73%) rename libgo/go/go/doc/testdata/{issue18063.go => issue22856.go} (74%) create mode 100644 libgo/go/go/format/example_test.go create mode 100644 libgo/go/go/internal/gccgoimporter/ar.go create mode 100644 libgo/go/go/internal/gcimporter/iimport.go copy libgo/{misc/cgo/testplugin/src/issue24351/plugin.go => go/go/internal/gcimpor [...] copy libgo/go/go/internal/{srcimporter/testdata/issue23092/issue23092.go => gcimpo [...] create mode 100644 libgo/go/go/printer/testdata/alignment.golden create mode 100644 libgo/go/go/printer/testdata/alignment.input create mode 100644 libgo/go/go/printer/testdata/complit.input create mode 100644 libgo/go/go/printer/testdata/complit.x create mode 100644 libgo/go/go/token/example_test.go create mode 100644 libgo/go/go/types/interfaces.go delete mode 100644 libgo/go/go/types/ordering.go create mode 100644 libgo/go/golang_org/x/crypto/internal/chacha20/chacha_generic.go create mode 100644 libgo/go/golang_org/x/crypto/internal/chacha20/chacha_noasm.go create mode 100644 libgo/go/golang_org/x/crypto/internal/chacha20/chacha_s390x.go create mode 100644 libgo/go/golang_org/x/crypto/internal/chacha20/chacha_test.go create mode 100644 libgo/go/golang_org/x/crypto/internal/chacha20/vectors_test.go create mode 100644 libgo/go/golang_org/x/crypto/internal/chacha20/xor.go create mode 100644 libgo/go/golang_org/x/crypto/poly1305/sum_noasm.go create mode 100644 libgo/go/golang_org/x/crypto/poly1305/sum_s390x.go create mode 100644 libgo/go/golang_org/x/crypto/poly1305/vectors_test.go create mode 100644 libgo/go/golang_org/x/net/dns/dnsmessage/example_test.go create mode 100644 libgo/go/golang_org/x/net/dns/dnsmessage/message.go create mode 100644 libgo/go/golang_org/x/net/dns/dnsmessage/message_test.go create mode 100644 libgo/go/golang_org/x/net/http/httpguts/guts.go copy libgo/go/golang_org/x/net/{lex/httplex => http/httpguts}/httplex.go (97%) copy libgo/go/golang_org/x/net/{lex/httplex => http/httpguts}/httplex_test.go (99%) copy libgo/{misc/cgo/testshared/src/division/division.go => go/golang_org/x/net/ht [...] create mode 100644 libgo/go/golang_org/x/net/http/httpproxy/proxy.go create mode 100644 libgo/go/golang_org/x/net/http/httpproxy/proxy_test.go create mode 100644 libgo/go/html/template/attr_string.go create mode 100644 libgo/go/html/template/delim_string.go create mode 100644 libgo/go/html/template/element_string.go create mode 100644 libgo/go/html/template/jsctx_string.go create mode 100644 libgo/go/html/template/state_string.go create mode 100644 libgo/go/html/template/urlpart_string.go create mode 100644 libgo/go/internal/bytealg/bytealg.c create mode 100644 libgo/go/internal/bytealg/bytealg.go create mode 100644 libgo/go/internal/bytealg/compare_generic.go copy libgo/{misc/cgo/testplugin/src/issue24351/plugin.go => go/internal/bytealg/co [...] create mode 100644 libgo/go/internal/bytealg/count_generic.go create mode 100644 libgo/go/internal/bytealg/count_native.go create mode 100644 libgo/go/internal/bytealg/equal_native.go create mode 100644 libgo/go/internal/bytealg/gccgo.go create mode 100644 libgo/go/internal/bytealg/index_amd64.go create mode 100644 libgo/go/internal/bytealg/index_arm64.go create mode 100644 libgo/go/internal/bytealg/index_generic.go create mode 100644 libgo/go/internal/bytealg/index_native.go create mode 100644 libgo/go/internal/bytealg/index_s390x.go create mode 100644 libgo/go/internal/bytealg/indexbyte_generic.go create mode 100644 libgo/go/internal/bytealg/indexbyte_native.go copy libgo/go/{go/internal/srcimporter/testdata/issue23092/issue23092.go => intern [...] copy libgo/go/{go/internal/srcimporter/testdata/issue23092/issue23092.go => intern [...] copy libgo/go/{go/internal/srcimporter/testdata/issue23092/issue23092.go => intern [...] create mode 100644 libgo/go/internal/cpu/cpu_arm64_test.go create mode 100644 libgo/go/internal/cpu/cpu_gccgo.c copy libgo/{misc/cgo/testplugin/src/issue24351/plugin.go => go/internal/cpu/cpu_no [...] create mode 100644 libgo/go/internal/cpu/cpu_ppc64x_test.go create mode 100644 libgo/go/internal/cpu/cpu_s390x_test.go copy libgo/go/{go/internal/srcimporter/testdata/issue23092/issue23092.go => intern [...] create mode 100644 libgo/go/internal/cpu/cpu_x86_test.go copy libgo/go/{go/internal/srcimporter/testdata/issue23092/issue23092.go => intern [...] copy libgo/go/{go/build => internal/goroot}/gc.go (87%) create mode 100644 libgo/go/internal/goroot/gccgo.go rename libgo/go/internal/poll/{fd_poll_nacl.go => fd_poll_nacljs.go} (94%) create mode 100644 libgo/go/internal/poll/splice_linux.go create mode 100644 libgo/go/internal/syscall/unix/nonblocking.go copy libgo/{misc/cgo/testplugin/src/issue24351/plugin.go => go/internal/syscall/un [...] copy libgo/go/{go/internal/srcimporter/testdata/issue23092/issue23092.go => intern [...] create mode 100644 libgo/go/internal/syscall/windows/symlink_windows.go copy libgo/go/{crypto/sha256/sha256block_amd64.go => math/big/arith_amd64.go} (60%) copy libgo/go/{go/internal/srcimporter/testdata/issue23092/issue23092.go => math/b [...] delete mode 100644 libgo/go/math/floor_asm.go delete mode 100644 libgo/go/net/dnsmsg.go delete mode 100644 libgo/go/net/dnsmsg_test.go copy libgo/go/{go/internal/srcimporter/testdata/issue23092/issue23092.go => net/er [...] copy libgo/go/{go/internal/srcimporter/testdata/issue23092/issue23092.go => net/er [...] create mode 100644 libgo/go/net/error_unix.go create mode 100644 libgo/go/net/error_windows.go create mode 100644 libgo/go/net/http/roundtrip.go create mode 100644 libgo/go/net/http/roundtrip_js.go create mode 100644 libgo/go/net/http/socks_bundle.go delete mode 100644 libgo/go/net/interface_windows_test.go rename libgo/go/net/{lookup_nacl.go => lookup_fake.go} (89%) create mode 100644 libgo/go/net/net_fake.go create mode 100644 libgo/go/net/rawconn_stub_test.go create mode 100644 libgo/go/net/rawconn_test.go delete mode 100644 libgo/go/net/sendfile_solaris.go rename libgo/go/net/{sendfile_bsd.go => sendfile_unix_alt.go} (84%) create mode 100644 libgo/go/net/sockaddr_posix.go create mode 100644 libgo/go/net/splice_linux.go copy libgo/{misc/cgo/testplugin/src/issue24351/plugin.go => go/net/splice_stub.go} (57%) create mode 100644 libgo/go/net/splice_test.go create mode 100644 libgo/go/os/exec/lp_js.go create mode 100644 libgo/go/os/fifo_test.go rename libgo/go/os/{pipe_freebsd.go => pipe2_bsd.go} (94%) rename libgo/go/os/{stat_nacl.go => stat_nacljs.go} (98%) delete mode 100644 libgo/go/os/sys_darwin.go rename libgo/go/os/{sys_freebsd.go => sys_js.go} (57%) create mode 100644 libgo/go/path/filepath/example_unix_walk_test.go create mode 100644 libgo/go/regexp/syntax/op_string.go copy libgo/go/runtime/{vdso_none.go => auxv_none.go} (76%) create mode 100644 libgo/go/runtime/debug_test.go create mode 100644 libgo/go/runtime/export_debug_test.go delete mode 100644 libgo/go/runtime/hashmap_fast.go create mode 100644 libgo/go/runtime/lock_js.go rename libgo/go/runtime/{hashmap.go => map.go} (92%) rename libgo/go/runtime/{mapspeed_test.go => map_benchmark_test.go} (90%) create mode 100644 libgo/go/runtime/map_fast32.go create mode 100644 libgo/go/runtime/map_fast64.go create mode 100644 libgo/go/runtime/map_faststr.go rename libgo/go/runtime/{netpoll_nacl.go => netpoll_fake.go} (73%) create mode 100644 libgo/go/runtime/os_js.go create mode 100644 libgo/go/runtime/os_linux_arm.go create mode 100644 libgo/go/runtime/os_linux_arm64.go create mode 100644 libgo/go/runtime/os_linux_mips64x.go create mode 100644 libgo/go/runtime/os_linux_mipsx.go rename libgo/go/runtime/{vdso_none.go => os_linux_noauxv.go} (58%) create mode 100644 libgo/go/runtime/os_linux_s390x.go create mode 100644 libgo/go/runtime/pprof/testdata/mappingtest/main.go create mode 100644 libgo/go/runtime/sizeof_test.go rename libgo/go/runtime/{append_test.go => slice_test.go} (89%) copy libgo/{misc/cgo/testplugin/src/issue24351/plugin.go => go/runtime/stubs3.go} (52%) create mode 100644 libgo/go/runtime/sys_darwin.go create mode 100644 libgo/go/runtime/sys_wasm.go create mode 100644 libgo/go/runtime/testdata/testprog/abort.go copy libgo/go/runtime/testdata/testprog/{memprof.go => timeprof.go} (52%) create mode 100644 libgo/go/runtime/testdata/testprog/traceback_ancestors.go create mode 100644 libgo/go/runtime/testdata/testprogcgo/bigstack_windows.go copy libgo/{misc/cgo/testplugin/src/issue24351/plugin.go => go/runtime/timestub2.g [...] create mode 100644 libgo/go/runtime/trace/annotation.go create mode 100644 libgo/go/runtime/trace/annotation_test.go delete mode 100644 libgo/go/strings/strings_amd64.go delete mode 100644 libgo/go/strings/strings_generic.go delete mode 100644 libgo/go/strings/strings_s390x.go delete mode 100644 libgo/go/sync/atomic/64bit_arm.go create mode 100644 libgo/go/sync/atomic/example_test.go copy libgo/go/{go/internal/srcimporter/testdata/issue23092/issue23092.go => syscal [...] rename libgo/go/syscall/{forkpipe_bsd.go => forkpipe.go} (79%) rename libgo/go/syscall/{exec_freebsd.go => forkpipe2.go} (87%) create mode 100644 libgo/go/syscall/fs_js.go create mode 100644 libgo/go/syscall/js/callback.go create mode 100644 libgo/go/syscall/js/js.go create mode 100644 libgo/go/syscall/js/js_test.go create mode 100644 libgo/go/syscall/js/typedarray.go create mode 100644 libgo/go/syscall/net_js.go create mode 100644 libgo/go/syscall/syscall_js.go create mode 100644 libgo/go/syscall/syscall_plan9_test.go create mode 100644 libgo/go/syscall/tables_nacljs.go create mode 100644 libgo/misc/cgo/test/issue23356.go create mode 100644 libgo/misc/cgo/test/issue23555.go copy libgo/{go/go/internal/srcimporter/testdata/issue24392/issue24392.go => misc/c [...] copy libgo/{go/go/internal/srcimporter/testdata/issue24392/issue24392.go => misc/c [...] create mode 100644 libgo/misc/cgo/test/issue23720.go create mode 100644 libgo/misc/cgo/test/issue24161_darwin_test.go create mode 100644 libgo/misc/cgo/test/issue24161arg/def.go create mode 100644 libgo/misc/cgo/test/issue24161arg/use.go create mode 100644 libgo/misc/cgo/test/issue24161e0/main.go create mode 100644 libgo/misc/cgo/test/issue24161e1/main.go create mode 100644 libgo/misc/cgo/test/issue24161e2/main.go create mode 100644 libgo/misc/cgo/test/issue24161res/restype.go create mode 100644 libgo/misc/cgo/test/issue24206.go copy libgo/misc/cgo/{testplugin/src/issue24351/plugin.go => test/issue24206_generi [...] create mode 100644 libgo/misc/cgo/test/issue25143.go create mode 100644 libgo/misc/cgo/test/issue26066.go create mode 100644 libgo/misc/cgo/test/issue26213/jni.h create mode 100644 libgo/misc/cgo/test/issue26213/test26213.go copy libgo/misc/cgo/test/{issue21668.go => issue26430.go} (51%) copy libgo/misc/cgo/{testplugin/src/issue24351/plugin.go => test/issue26430/a.go} (62%) copy libgo/misc/cgo/{testplugin/src/issue24351/plugin.go => test/issue26430/b.go} (62%) create mode 100644 libgo/misc/cgo/test/issue26517.go copy libgo/misc/cgo/test/{issue21668.go => issue26743.go} (51%) copy libgo/misc/cgo/{testplugin/src/issue24351/plugin.go => test/issue26743/a.go} (59%) copy libgo/{go/go/internal/srcimporter/testdata/issue23092/issue23092.go => misc/c [...] copy libgo/misc/cgo/{testplugin/src/issue24351/plugin.go => test/test26213.go} (59%) create mode 100644 libgo/misc/cgo/testgodefs/fieldtypedef.go copy libgo/misc/cgo/{life => testplugin/src/issue25756}/main.go (73%) copy libgo/misc/cgo/{life => testplugin/src/issue25756/plugin}/c-life.c (100%) copy libgo/misc/cgo/{life => testplugin/src/issue25756/plugin}/life.go (97%) copy libgo/misc/cgo/{life => testplugin/src/issue25756/plugin}/life.h (100%) create mode 100644 libgo/misc/cgo/testsanitizers/src/msan6.go