libgo: add misc/cgo files
authorIan Lance Taylor <ian@gcc.gnu.org>
Tue, 27 Jun 2017 04:21:40 +0000 (04:21 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 27 Jun 2017 04:21:40 +0000 (04:21 +0000)
commit936615752a29ab245708d40782427c25e60a2114
treef43366b59cae9e51da40272eefd1ea71bb3ea055
parent9913ef5866a64176bac5749080487b0c7d637d4b
libgo: add misc/cgo files

    Copy all the misc/cgo files from the gc toolchain into libgo/misc.

    These will be used for testing purposes by later changes to the
    gotools directory.

    Reviewed-on: https://go-review.googlesource.com/46721

From-SVN: r249674
270 files changed:
gcc/go/gofrontend/MERGE
libgo/merge.sh
libgo/misc/cgo/errors/err1.go [new file with mode: 0644]
libgo/misc/cgo/errors/err2.go [new file with mode: 0644]
libgo/misc/cgo/errors/err3.go [new file with mode: 0644]
libgo/misc/cgo/errors/issue11097a.go [new file with mode: 0644]
libgo/misc/cgo/errors/issue11097b.go [new file with mode: 0644]
libgo/misc/cgo/errors/issue13129.go [new file with mode: 0644]
libgo/misc/cgo/errors/issue13423.go [new file with mode: 0644]
libgo/misc/cgo/errors/issue13635.go [new file with mode: 0644]
libgo/misc/cgo/errors/issue13830.go [new file with mode: 0644]
libgo/misc/cgo/errors/issue14669.go [new file with mode: 0644]
libgo/misc/cgo/errors/issue16116.go [new file with mode: 0644]
libgo/misc/cgo/errors/issue16591.go [new file with mode: 0644]
libgo/misc/cgo/errors/issue7757.go [new file with mode: 0644]
libgo/misc/cgo/errors/issue8442.go [new file with mode: 0644]
libgo/misc/cgo/errors/malloc.go [new file with mode: 0644]
libgo/misc/cgo/errors/ptr.go [new file with mode: 0644]
libgo/misc/cgo/errors/test.bash [new file with mode: 0644]
libgo/misc/cgo/fortran/answer.f90 [new file with mode: 0644]
libgo/misc/cgo/fortran/fortran.go [new file with mode: 0644]
libgo/misc/cgo/fortran/fortran_test.go [new file with mode: 0644]
libgo/misc/cgo/fortran/helloworld/helloworld.f90 [new file with mode: 0644]
libgo/misc/cgo/fortran/test.bash [new file with mode: 0644]
libgo/misc/cgo/gmp/fib.go [new file with mode: 0644]
libgo/misc/cgo/gmp/gmp.go [new file with mode: 0644]
libgo/misc/cgo/gmp/pi.go [new file with mode: 0644]
libgo/misc/cgo/life/c-life.c [new file with mode: 0644]
libgo/misc/cgo/life/life.go [new file with mode: 0644]
libgo/misc/cgo/life/life.h [new file with mode: 0644]
libgo/misc/cgo/life/main.go [new file with mode: 0644]
libgo/misc/cgo/life/main.out [new file with mode: 0644]
libgo/misc/cgo/nocgo/nocgo.go [new file with mode: 0644]
libgo/misc/cgo/nocgo/nocgo_test.go [new file with mode: 0644]
libgo/misc/cgo/stdio/chain.go [new file with mode: 0644]
libgo/misc/cgo/stdio/chain.out [new file with mode: 0644]
libgo/misc/cgo/stdio/fib.go [new file with mode: 0644]
libgo/misc/cgo/stdio/fib.out [new file with mode: 0644]
libgo/misc/cgo/stdio/file.go [new file with mode: 0644]
libgo/misc/cgo/stdio/hello.go [new file with mode: 0644]
libgo/misc/cgo/stdio/hello.out [new file with mode: 0644]
libgo/misc/cgo/stdio/run.out [new file with mode: 0644]
libgo/misc/cgo/stdio/stdio.go [new file with mode: 0644]
libgo/misc/cgo/test/align.go [new file with mode: 0644]
libgo/misc/cgo/test/api.go [new file with mode: 0644]
libgo/misc/cgo/test/backdoor.go [new file with mode: 0644]
libgo/misc/cgo/test/basic.go [new file with mode: 0644]
libgo/misc/cgo/test/buildid_linux.go [new file with mode: 0644]
libgo/misc/cgo/test/callback.go [new file with mode: 0644]
libgo/misc/cgo/test/callback_c.c [new file with mode: 0644]
libgo/misc/cgo/test/callback_c_gc.c [new file with mode: 0644]
libgo/misc/cgo/test/callback_c_gccgo.c [new file with mode: 0644]
libgo/misc/cgo/test/cflags.go [new file with mode: 0644]
libgo/misc/cgo/test/cgo_linux_test.go [new file with mode: 0644]
libgo/misc/cgo/test/cgo_stubs_android_test.go [new file with mode: 0644]
libgo/misc/cgo/test/cgo_test.go [new file with mode: 0644]
libgo/misc/cgo/test/cgo_thread_lock.go [new file with mode: 0644]
libgo/misc/cgo/test/cgo_unix_test.go [new file with mode: 0644]
libgo/misc/cgo/test/checkconst.go [new file with mode: 0644]
libgo/misc/cgo/test/complex.go [new file with mode: 0644]
libgo/misc/cgo/test/cthread.go [new file with mode: 0644]
libgo/misc/cgo/test/cthread_unix.c [new file with mode: 0644]
libgo/misc/cgo/test/cthread_windows.c [new file with mode: 0644]
libgo/misc/cgo/test/duplicate_symbol.go [new file with mode: 0644]
libgo/misc/cgo/test/env.go [new file with mode: 0644]
libgo/misc/cgo/test/exports.go [new file with mode: 0644]
libgo/misc/cgo/test/fpvar.go [new file with mode: 0644]
libgo/misc/cgo/test/gcc68255.go [new file with mode: 0644]
libgo/misc/cgo/test/gcc68255/a.go [new file with mode: 0644]
libgo/misc/cgo/test/gcc68255/c.c [new file with mode: 0644]
libgo/misc/cgo/test/gcc68255/c.h [new file with mode: 0644]
libgo/misc/cgo/test/helpers.go [new file with mode: 0644]
libgo/misc/cgo/test/issue10303.go [new file with mode: 0644]
libgo/misc/cgo/test/issue11925.go [new file with mode: 0644]
libgo/misc/cgo/test/issue12030.go [new file with mode: 0644]
libgo/misc/cgo/test/issue1222.go [new file with mode: 0644]
libgo/misc/cgo/test/issue1328.go [new file with mode: 0644]
libgo/misc/cgo/test/issue13402.go [new file with mode: 0644]
libgo/misc/cgo/test/issue13930.go [new file with mode: 0644]
libgo/misc/cgo/test/issue14838.go [new file with mode: 0644]
libgo/misc/cgo/test/issue1560.go [new file with mode: 0644]
libgo/misc/cgo/test/issue1635.go [new file with mode: 0644]
libgo/misc/cgo/test/issue17065.go [new file with mode: 0644]
libgo/misc/cgo/test/issue17537.go [new file with mode: 0644]
libgo/misc/cgo/test/issue18126.go [new file with mode: 0644]
libgo/misc/cgo/test/issue18146.go [new file with mode: 0644]
libgo/misc/cgo/test/issue2462.go [new file with mode: 0644]
libgo/misc/cgo/test/issue3250.go [new file with mode: 0644]
libgo/misc/cgo/test/issue3250w.go [new file with mode: 0644]
libgo/misc/cgo/test/issue3261.go [new file with mode: 0644]
libgo/misc/cgo/test/issue3729.go [new file with mode: 0644]
libgo/misc/cgo/test/issue3729w.go [new file with mode: 0644]
libgo/misc/cgo/test/issue3741.go [new file with mode: 0644]
libgo/misc/cgo/test/issue3775.go [new file with mode: 0644]
libgo/misc/cgo/test/issue3945.go [new file with mode: 0644]
libgo/misc/cgo/test/issue4029.c [new file with mode: 0644]
libgo/misc/cgo/test/issue4029.go [new file with mode: 0644]
libgo/misc/cgo/test/issue4029w.go [new file with mode: 0644]
libgo/misc/cgo/test/issue4054a.go [new file with mode: 0644]
libgo/misc/cgo/test/issue4054b.go [new file with mode: 0644]
libgo/misc/cgo/test/issue4273.c [new file with mode: 0644]
libgo/misc/cgo/test/issue4273b.c [new file with mode: 0644]
libgo/misc/cgo/test/issue4339.c [new file with mode: 0644]
libgo/misc/cgo/test/issue4339.go [new file with mode: 0644]
libgo/misc/cgo/test/issue4339.h [new file with mode: 0644]
libgo/misc/cgo/test/issue4417.go [new file with mode: 0644]
libgo/misc/cgo/test/issue4857.go [new file with mode: 0644]
libgo/misc/cgo/test/issue5227.go [new file with mode: 0644]
libgo/misc/cgo/test/issue5242.go [new file with mode: 0644]
libgo/misc/cgo/test/issue5337.go [new file with mode: 0644]
libgo/misc/cgo/test/issue5337w.go [new file with mode: 0644]
libgo/misc/cgo/test/issue5548.go [new file with mode: 0644]
libgo/misc/cgo/test/issue5548_c.c [new file with mode: 0644]
libgo/misc/cgo/test/issue5603.go [new file with mode: 0644]
libgo/misc/cgo/test/issue5740.go [new file with mode: 0644]
libgo/misc/cgo/test/issue5740a.c [new file with mode: 0644]
libgo/misc/cgo/test/issue5740b.c [new file with mode: 0644]
libgo/misc/cgo/test/issue5986.go [new file with mode: 0644]
libgo/misc/cgo/test/issue6128.go [new file with mode: 0644]
libgo/misc/cgo/test/issue6390.go [new file with mode: 0644]
libgo/misc/cgo/test/issue6472.go [new file with mode: 0644]
libgo/misc/cgo/test/issue6506.go [new file with mode: 0644]
libgo/misc/cgo/test/issue6612.go [new file with mode: 0644]
libgo/misc/cgo/test/issue6833.go [new file with mode: 0644]
libgo/misc/cgo/test/issue6833_c.c [new file with mode: 0644]
libgo/misc/cgo/test/issue6997_linux.c [new file with mode: 0644]
libgo/misc/cgo/test/issue6997_linux.go [new file with mode: 0644]
libgo/misc/cgo/test/issue7234_test.go [new file with mode: 0644]
libgo/misc/cgo/test/issue7560.go [new file with mode: 0644]
libgo/misc/cgo/test/issue7665.go [new file with mode: 0644]
libgo/misc/cgo/test/issue7786.go [new file with mode: 0644]
libgo/misc/cgo/test/issue7978.go [new file with mode: 0644]
libgo/misc/cgo/test/issue8092.go [new file with mode: 0644]
libgo/misc/cgo/test/issue8148.go [new file with mode: 0644]
libgo/misc/cgo/test/issue8331.h [new file with mode: 0644]
libgo/misc/cgo/test/issue8331a.go [new file with mode: 0644]
libgo/misc/cgo/test/issue8331b.go [new file with mode: 0644]
libgo/misc/cgo/test/issue8428.go [new file with mode: 0644]
libgo/misc/cgo/test/issue8441.go [new file with mode: 0644]
libgo/misc/cgo/test/issue8517.go [new file with mode: 0644]
libgo/misc/cgo/test/issue8517_windows.c [new file with mode: 0644]
libgo/misc/cgo/test/issue8517_windows.go [new file with mode: 0644]
libgo/misc/cgo/test/issue8694.go [new file with mode: 0644]
libgo/misc/cgo/test/issue8756.go [new file with mode: 0644]
libgo/misc/cgo/test/issue8756/issue8756.go [new file with mode: 0644]
libgo/misc/cgo/test/issue8811.c [new file with mode: 0644]
libgo/misc/cgo/test/issue8811.go [new file with mode: 0644]
libgo/misc/cgo/test/issue8828.go [new file with mode: 0644]
libgo/misc/cgo/test/issue8828/issue8828.c [new file with mode: 0644]
libgo/misc/cgo/test/issue8828/trivial.go [new file with mode: 0644]
libgo/misc/cgo/test/issue8945.go [new file with mode: 0644]
libgo/misc/cgo/test/issue9026.go [new file with mode: 0644]
libgo/misc/cgo/test/issue9026/issue9026.go [new file with mode: 0644]
libgo/misc/cgo/test/issue9400/asm_386.s [new file with mode: 0644]
libgo/misc/cgo/test/issue9400/asm_amd64x.s [new file with mode: 0644]
libgo/misc/cgo/test/issue9400/asm_arm.s [new file with mode: 0644]
libgo/misc/cgo/test/issue9400/asm_arm64.s [new file with mode: 0644]
libgo/misc/cgo/test/issue9400/asm_mips64x.s [new file with mode: 0644]
libgo/misc/cgo/test/issue9400/asm_mipsx.s [new file with mode: 0644]
libgo/misc/cgo/test/issue9400/asm_ppc64x.s [new file with mode: 0644]
libgo/misc/cgo/test/issue9400/asm_s390x.s [new file with mode: 0644]
libgo/misc/cgo/test/issue9400/gccgo.go [new file with mode: 0644]
libgo/misc/cgo/test/issue9400/stubs.go [new file with mode: 0644]
libgo/misc/cgo/test/issue9400_linux.go [new file with mode: 0644]
libgo/misc/cgo/test/issue9510.go [new file with mode: 0644]
libgo/misc/cgo/test/issue9510a/a.go [new file with mode: 0644]
libgo/misc/cgo/test/issue9510b/b.go [new file with mode: 0644]
libgo/misc/cgo/test/issue9557.go [new file with mode: 0644]
libgo/misc/cgo/test/setgid_linux.go [new file with mode: 0644]
libgo/misc/cgo/test/sigaltstack.go [new file with mode: 0644]
libgo/misc/cgo/test/sigprocmask.c [new file with mode: 0644]
libgo/misc/cgo/test/sigprocmask.go [new file with mode: 0644]
libgo/misc/cgo/testasan/main.go [new file with mode: 0644]
libgo/misc/cgo/testcarchive/carchive_test.go [new file with mode: 0644]
libgo/misc/cgo/testcarchive/main.c [new file with mode: 0644]
libgo/misc/cgo/testcarchive/main2.c [new file with mode: 0644]
libgo/misc/cgo/testcarchive/main3.c [new file with mode: 0644]
libgo/misc/cgo/testcarchive/main4.c [new file with mode: 0644]
libgo/misc/cgo/testcarchive/main5.c [new file with mode: 0644]
libgo/misc/cgo/testcarchive/main_unix.c [new file with mode: 0644]
libgo/misc/cgo/testcarchive/main_windows.c [new file with mode: 0644]
libgo/misc/cgo/testcarchive/src/libgo/libgo.go [new file with mode: 0644]
libgo/misc/cgo/testcarchive/src/libgo2/libgo2.go [new file with mode: 0644]
libgo/misc/cgo/testcarchive/src/libgo3/libgo3.go [new file with mode: 0644]
libgo/misc/cgo/testcarchive/src/libgo4/libgo4.go [new file with mode: 0644]
libgo/misc/cgo/testcarchive/src/p/p.go [new file with mode: 0644]
libgo/misc/cgo/testcshared/main0.c [new file with mode: 0644]
libgo/misc/cgo/testcshared/main1.c [new file with mode: 0644]
libgo/misc/cgo/testcshared/main2.c [new file with mode: 0644]
libgo/misc/cgo/testcshared/main3.c [new file with mode: 0644]
libgo/misc/cgo/testcshared/main4.c [new file with mode: 0644]
libgo/misc/cgo/testcshared/main5.c [new file with mode: 0644]
libgo/misc/cgo/testcshared/src/libgo/libgo.go [new file with mode: 0644]
libgo/misc/cgo/testcshared/src/libgo2/dup2.go [new file with mode: 0644]
libgo/misc/cgo/testcshared/src/libgo2/dup3.go [new file with mode: 0644]
libgo/misc/cgo/testcshared/src/libgo2/libgo2.go [new file with mode: 0644]
libgo/misc/cgo/testcshared/src/libgo4/libgo4.go [new file with mode: 0644]
libgo/misc/cgo/testcshared/src/libgo5/libgo5.go [new file with mode: 0644]
libgo/misc/cgo/testcshared/src/p/p.go [new file with mode: 0644]
libgo/misc/cgo/testcshared/test.bash [new file with mode: 0644]
libgo/misc/cgo/testgodefs/anonunion.go [new file with mode: 0644]
libgo/misc/cgo/testgodefs/issue8478.go [new file with mode: 0644]
libgo/misc/cgo/testgodefs/main.go [new file with mode: 0644]
libgo/misc/cgo/testgodefs/test.bash [new file with mode: 0644]
libgo/misc/cgo/testplugin/altpath/src/common/common.go [new file with mode: 0644]
libgo/misc/cgo/testplugin/altpath/src/plugin-mismatch/main.go [new file with mode: 0644]
libgo/misc/cgo/testplugin/src/common/common.go [new file with mode: 0644]
libgo/misc/cgo/testplugin/src/host/host.go [new file with mode: 0644]
libgo/misc/cgo/testplugin/src/iface/main.go [new file with mode: 0644]
libgo/misc/cgo/testplugin/src/iface_a/a.go [new file with mode: 0644]
libgo/misc/cgo/testplugin/src/iface_b/b.go [new file with mode: 0644]
libgo/misc/cgo/testplugin/src/iface_i/i.go [new file with mode: 0644]
libgo/misc/cgo/testplugin/src/issue18676/dynamodbstreamsevt/definition.go [new file with mode: 0644]
libgo/misc/cgo/testplugin/src/issue18676/main.go [new file with mode: 0644]
libgo/misc/cgo/testplugin/src/issue18676/plugin.go [new file with mode: 0644]
libgo/misc/cgo/testplugin/src/plugin1/plugin1.go [new file with mode: 0644]
libgo/misc/cgo/testplugin/src/plugin2/plugin2.go [new file with mode: 0644]
libgo/misc/cgo/testplugin/src/sub/plugin1/plugin1.go [new file with mode: 0644]
libgo/misc/cgo/testplugin/test.bash [new file with mode: 0644]
libgo/misc/cgo/testplugin/unnamed1.go [new file with mode: 0644]
libgo/misc/cgo/testplugin/unnamed2.go [new file with mode: 0644]
libgo/misc/cgo/testsanitizers/msan.go [new file with mode: 0644]
libgo/misc/cgo/testsanitizers/msan2.go [new file with mode: 0644]
libgo/misc/cgo/testsanitizers/msan3.go [new file with mode: 0644]
libgo/misc/cgo/testsanitizers/msan4.go [new file with mode: 0644]
libgo/misc/cgo/testsanitizers/msan5.go [new file with mode: 0644]
libgo/misc/cgo/testsanitizers/msan_fail.go [new file with mode: 0644]
libgo/misc/cgo/testsanitizers/msan_shared.go [new file with mode: 0644]
libgo/misc/cgo/testsanitizers/test.bash [new file with mode: 0644]
libgo/misc/cgo/testsanitizers/tsan.go [new file with mode: 0644]
libgo/misc/cgo/testsanitizers/tsan2.go [new file with mode: 0644]
libgo/misc/cgo/testsanitizers/tsan3.go [new file with mode: 0644]
libgo/misc/cgo/testsanitizers/tsan4.go [new file with mode: 0644]
libgo/misc/cgo/testsanitizers/tsan5.go [new file with mode: 0644]
libgo/misc/cgo/testsanitizers/tsan6.go [new file with mode: 0644]
libgo/misc/cgo/testsanitizers/tsan7.go [new file with mode: 0644]
libgo/misc/cgo/testsanitizers/tsan8.go [new file with mode: 0644]
libgo/misc/cgo/testsanitizers/tsan9.go [new file with mode: 0644]
libgo/misc/cgo/testshared/shared_test.go [new file with mode: 0644]
libgo/misc/cgo/testshared/src/dep2/dep2.go [new file with mode: 0644]
libgo/misc/cgo/testshared/src/dep3/dep3.go [new file with mode: 0644]
libgo/misc/cgo/testshared/src/depBase/asm.s [new file with mode: 0644]
libgo/misc/cgo/testshared/src/depBase/dep.go [new file with mode: 0644]
libgo/misc/cgo/testshared/src/depBase/gccgo.go [new file with mode: 0644]
libgo/misc/cgo/testshared/src/depBase/stubs.go [new file with mode: 0644]
libgo/misc/cgo/testshared/src/exe/exe.go [new file with mode: 0644]
libgo/misc/cgo/testshared/src/exe2/exe2.go [new file with mode: 0644]
libgo/misc/cgo/testshared/src/exe3/exe3.go [new file with mode: 0644]
libgo/misc/cgo/testshared/src/execgo/exe.go [new file with mode: 0644]
libgo/misc/cgo/testshared/src/explicit/explicit.go [new file with mode: 0644]
libgo/misc/cgo/testshared/src/iface/main.go [new file with mode: 0644]
libgo/misc/cgo/testshared/src/iface_a/a.go [new file with mode: 0644]
libgo/misc/cgo/testshared/src/iface_b/b.go [new file with mode: 0644]
libgo/misc/cgo/testshared/src/iface_i/i.go [new file with mode: 0644]
libgo/misc/cgo/testshared/src/implicit/implicit.go [new file with mode: 0644]
libgo/misc/cgo/testshared/src/implicitcmd/implicitcmd.go [new file with mode: 0644]
libgo/misc/cgo/testshared/src/trivial/trivial.go [new file with mode: 0644]
libgo/misc/cgo/testsigfwd/main.go [new file with mode: 0644]
libgo/misc/cgo/testso/cgoso.c [new file with mode: 0644]
libgo/misc/cgo/testso/cgoso.go [new file with mode: 0644]
libgo/misc/cgo/testso/cgoso_c.c [new file with mode: 0644]
libgo/misc/cgo/testso/cgoso_unix.go [new file with mode: 0644]
libgo/misc/cgo/testso/main.go [new file with mode: 0644]
libgo/misc/cgo/testsovar/cgoso.go [new file with mode: 0644]
libgo/misc/cgo/testsovar/cgoso_c.c [new file with mode: 0644]
libgo/misc/cgo/testsovar/cgoso_c.h [new file with mode: 0644]
libgo/misc/cgo/testsovar/main.go [new file with mode: 0644]
libgo/misc/cgo/testtls/tls.go [new file with mode: 0644]
libgo/misc/cgo/testtls/tls_test.go [new file with mode: 0644]
libgo/misc/cgo/testtls/tls_unix.c [new file with mode: 0644]