aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/debug
AgeCommit message (Collapse)AuthorFilesLines
2022-02-18libgo: update to Go1.18rc1 releaseIan Lance Taylor2-8/+6
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/386594
2022-02-11libgo: update to Go1.18beta2Ian Lance Taylor24-157/+1339
gotools/ * Makefile.am (go_cmd_cgo_files): Add ast_go118.go (check-go-tool): Copy golang.org/x/tools directories. * Makefile.in: Regenerate. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/384695
2021-08-12libgo: update to Go1.17rc2Ian Lance Taylor14-53/+193
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/341629
2020-12-30libgo: update to Go1.16beta1 releaseIan Lance Taylor19-513/+1309
This does not yet include support for the //go:embed directive added in this release. * Makefile.am (check-runtime): Don't create check-runtime-dir. (mostlyclean-local): Don't remove check-runtime-dir. (check-go-tool, check-vet): Copy in go.mod and modules.txt. (check-cgo-test, check-carchive-test): Add go.mod file. * Makefile.in: Regenerate. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/280172
2020-09-30libgo: add 32-bit RISC-V (RV32) supportMaciej W. Rozycki1-0/+43
Add support for the 32-bit RISC-V (RV32) ISA matching the 64-bit RISC-V (RV64) port except for async preemption added as a stub only. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/251179
2020-08-01libgo: update to go1.15rc1Ian Lance Taylor3-9/+60
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/245157
2020-01-21libgo: update to Go1.14beta1Ian Lance Taylor36-303/+1544
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/214297
2019-09-12libgo: update to Go1.13Ian Lance Taylor2-9/+35
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/194698 From-SVN: r275691
2019-09-06libgo: update to Go 1.13beta1 releaseIan Lance Taylor14-13/+232
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/193497 From-SVN: r275473
2019-01-18libgo: update to Go1.12beta2Ian Lance Taylor12-50/+158
Reviewed-on: https://go-review.googlesource.com/c/158019 gotools/: * Makefile.am (go_cmd_vet_files): Update for Go1.12beta2 release. (GOTOOLS_TEST_TIMEOUT): Increase to 600. (check-runtime): Export LD_LIBRARY_PATH before computing GOARCH and GOOS. (check-vet): Copy golang.org/x/tools into check-vet-dir. * Makefile.in: Regenerate. gcc/testsuite/: * go.go-torture/execute/names-1.go: Stop using debug/xcoff, which is no longer externally visible. From-SVN: r268084
2018-09-24libgo: update to Go 1.11Ian Lance Taylor16-280/+956
Reviewed-on: https://go-review.googlesource.com/136435 gotools/: * Makefile.am (mostlyclean-local): Run chmod on check-go-dir to make sure it is writable. (check-go-tools): Likewise. (check-vet): Copy internal/objabi to check-vet-dir. * Makefile.in: Rebuild. From-SVN: r264546
2018-01-11debug/dwarf: formStrp uses a 64-bit value for 64-bit DWARFIan Lance Taylor1-1/+12
No test as the only system I know that uses 64-bit DWARF is AIX. Backport of https://golang.org/cl/84379, which will be in Go 1.11. Backporting now for AIX support in gccgo. Reviewed-on: https://go-review.googlesource.com/87296 From-SVN: r256474
2018-01-09libgo: update to Go1.10beta1Ian Lance Taylor14-415/+1218
Update the Go library to the 1.10beta1 release. Requires a few changes to the compiler for modifications to the map runtime code, and to handle some nowritebarrier cases in the runtime. Reviewed-on: https://go-review.googlesource.com/86455 gotools/: * Makefile.am (go_cmd_vet_files): New variable. (go_cmd_buildid_files, go_cmd_test2json_files): New variables. (s-zdefaultcc): Change from constants to functions. (noinst_PROGRAMS): Add vet, buildid, and test2json. (cgo$(EXEEXT)): Link against $(LIBGOTOOL). (vet$(EXEEXT)): New target. (buildid$(EXEEXT)): New target. (test2json$(EXEEXT)): New target. (install-exec-local): Install all $(noinst_PROGRAMS). (uninstall-local): Uninstasll all $(noinst_PROGRAMS). (check-go-tool): Depend on $(noinst_PROGRAMS). Copy down objabi.go. (check-runtime): Depend on $(noinst_PROGRAMS). (check-cgo-test, check-carchive-test): Likewise. (check-vet): New target. (check): Depend on check-vet. Look at cmd_vet-testlog. (.PHONY): Add check-vet. * Makefile.in: Rebuild. From-SVN: r256365
2017-10-20debug/dwarf: support 64-bit DWARF in byte order checkIan Lance Taylor5-16/+87
Also fix 64-bit DWARF to read a 64-bit abbrev offset in the compilation unit. This is a backport of https://golang.org/cl/71171, which will be in the Go 1.10 release, to the gofrontend copy. Doing it now because AIX is pretty much the only system that uses 64-bit DWARF. Reviewed-on: https://go-review.googlesource.com/72250 From-SVN: r253955
2017-09-29debug/elf: support 32-bit SPARC relocsIan Lance Taylor1-0/+42
Patch by Rainer Orth. Reviewed-on: https://go-review.googlesource.com/67111 From-SVN: r253292
2017-09-22debug/xcoff,cmd: add XCOFF supportIan Lance Taylor11-1/+959
Reviewed-on: https://go-review.googlesource.com/64592 From-SVN: r253105
2017-09-14libgo: update to go1.9Ian Lance Taylor7-16/+336
Reviewed-on: https://go-review.googlesource.com/63753 From-SVN: r252767
2017-06-21debug/elf: handle Alpha relocsIan Lance Taylor1-0/+51
Patch by Uros Bizjak. Reviewed-on: https://go-review.googlesource.com/46391 From-SVN: r249487
2017-01-14libgo: update to Go 1.8 release candidate 1Ian Lance Taylor12-37/+118
Compiler changes: * Change map assignment to use mapassign and assign value directly. * Change string iteration to use decoderune, faster for ASCII strings. * Change makeslice to take int, and use makeslice64 for larger values. * Add new noverflow field to hmap struct used for maps. Unresolved problems, to be fixed later: * Commented out test in go/types/sizes_test.go that doesn't compile. * Commented out reflect.TestStructOf test for padding after zero-sized field. Reviewed-on: https://go-review.googlesource.com/35231 gotools/: Updates for Go 1.8rc1. * Makefile.am (go_cmd_go_files): Add bug.go. (s-zdefaultcc): Write defaultPkgConfig. * Makefile.in: Rebuild. From-SVN: r244456
2016-10-14debug/elf: add sparc64 relocationsIan Lance Taylor3-0/+66
This is a backport of https://go-review.googlesource.com/30870. Reviewed-on: https://go-review.googlesource.com/30916 From-SVN: r241171
2016-07-22libgo: update to go1.7rc3Ian Lance Taylor39-321/+1008
Reviewed-on: https://go-review.googlesource.com/25150 From-SVN: r238662
2016-02-03libgo: Update to go1.6rc1.Ian Lance Taylor20-133/+969
Reviewed-on: https://go-review.googlesource.com/19200 From-SVN: r233110
2015-10-31runtime: Remove now unnecessary pad field from ParFor.Ian Lance Taylor24-655/+1330
It is not needed due to the removal of the ctx field. Reviewed-on: https://go-review.googlesource.com/16525 From-SVN: r229616
2015-03-26re PR go/65587 (C package incomplete/not working for powerpc-linux-gnu)Ian Lance Taylor1-1/+1
PR go/65587 debug/elf: apply relocations for SHT_RELA/EM_PPC From-SVN: r221698
2015-03-24re PR go/65417 (debug/elf: lacks support for PPC relocations)Ian Lance Taylor3-0/+49
PR go/65417 debug/elf: support reading debug info from 32-bit PPC objects This is a backport of http://golang.org/7590 from the master Go library. From-SVN: r221644
2015-01-15libgo, compiler: Upgrade libgo to Go 1.4, except for runtime.Ian Lance Taylor12-103/+1318
This upgrades all of libgo other than the runtime package to the Go 1.4 release. In Go 1.4 much of the runtime was rewritten into Go. Merging that code will take more time and will not change the API, so I'm putting it off for now. There are a few runtime changes anyhow, to accomodate other packages that rely on minor modifications to the runtime support. The compiler changes slightly to add a one-bit flag to each type descriptor kind that is stored directly in an interface, which for gccgo is currently only pointer types. Another one-bit flag (gcprog) is reserved because it is used by the gc compiler, but gccgo does not currently use it. There is another error check in the compiler since I ran across it during testing. gotools/: * Makefile.am (go_cmd_go_files): Sort entries. Add generate.go. * Makefile.in: Rebuild. From-SVN: r219627
2014-11-04libgo: add s390 supportIan Lance Taylor2-1/+111
From Dominik Vogt. * libgo/go/syscall/libcall_linux_s390.go: New file for s390 support. * libgo/go/syscall/syscall_linux_s390.go: Ditto. * libgo/go/syscall/libcall_linux_s390x.go: New file for s390x support. * libgo/go/syscall/syscall_linux_s390x.go: Ditto. * libgo/go/runtime/pprof/pprof.go (printStackRecord): Support s390 and s390x. * libgo/runtime/runtime.c (runtime_cputicks): Add support for s390 and s390x * libgo/mksysinfo.sh: Ditto. (upcase_fields): New helper function * libgo/go/debug/elf/file.go (applyRelocations): Implement relocations on s390x. (applyRelocationsS390x): Ditto. (DWARF): Ditto. * libgo/go/debug/elf/elf.go (R_390): New constants for S390 relocations. (r390Strings): Ditto. (String): Helper function for S390 relocations. (GoString): Ditto. * libgo/go/reflect/makefuncgo_s390.go: New file. (S390MakeFuncStubGo): Implementation of s390 abi. * libgo/go/reflect/makefuncgo_s390x.go: New file. (S390xMakeFuncStubGo): Implementation of s390x abi. * libgo/go/reflect/makefunc_s390.c: New file. (makeFuncStub): s390 and s390x specific implementation of function. * libgo/go/reflect/makefunc.go (MakeFunc): Add support for s390 and s390x. (makeMethodValue): Ditto. (makeValueMethod): Ditto. * libgo/Makefile.am (go_reflect_makefunc_s_file): Ditto. (go_reflect_makefunc_file): Ditto. * libgo/go/reflect/makefunc_dummy.c: Ditto. * libgo/runtime/runtime.h (__go_makefunc_can_recover): Export prototype for use in makefunc_s390.c. (__go_makefunc_returning): Ditto. * libgo/go/syscall/exec_linux.go (forkAndExecInChild): Fix order of the arguments of the clone system call for s390[x]. * libgo/configure.ac (is_s390): New variable. (is_s390x): Ditto (LIBGO_IS_S390): Ditto. (LIBGO_IS_S390X): Ditto. (GOARCH): Support s390 and s390x. * libgo/go/go/build/build.go (cgoEnabled): Ditto. * libgo/go/go/build/syslist.go (goarchList): Ditto. From-SVN: r217106
2014-10-28debug/elf: add power64 support along with relocation testIan Lance Taylor4-1/+233
Backport of https://codereview.appspot.com/125910043 from the dev.power64 branch of the master repository. From-SVN: r216813
2014-07-19libgo: Update to Go 1.3 release.Ian Lance Taylor19-839/+357
From-SVN: r212837
2014-06-06libgo: Merge to master revision 19184.Ian Lance Taylor26-62/+1146
The next revision, 19185, renames several runtime files, and will be handled in a separate change. From-SVN: r211328
2014-06-04libgo: Merge from revision 18783:00cce3a34d7e of master library.Ian Lance Taylor2-0/+633
This revision was committed January 7, 2014. The next revision deleted runtime/mfinal.c. That will be done in a subsequent merge. This merge changes type descriptors to add a zero field, pointing to a zero value for that type. This is implemented as a common variable. * go-gcc.cc (Gcc_backend::implicit_variable): Add is_common and alignment parameters. Permit init parameter to be NULL. From-SVN: r211249
2013-11-27libgo: Update to current Go library.Ian Lance Taylor2-19/+26
From-SVN: r205426
2013-11-06libgo: Update to October 24 version of master library.Ian Lance Taylor6-54/+496
From-SVN: r204466
2013-07-16libgo: Update to Go 1.1.1.Ian Lance Taylor8-66/+224
From-SVN: r200974
2013-02-10compiler, libgo: Permit testing package when test imports it circularly.Ian Lance Taylor1-2/+1
From-SVN: r195931
2013-01-29libgo: Update Go library to master revision 15489/921e53d4863c.Ian Lance Taylor2-4/+22
From-SVN: r195560
2012-12-22libgo: Update to revision 15193:6fdc1974457c of master library.Ian Lance Taylor3-3/+63
From-SVN: r194692
2012-11-21libgo: Update to current version of master library.Ian Lance Taylor3-29/+43
From-SVN: r193688
2012-10-23libgo: Update to current sources.Ian Lance Taylor5-23/+135
From-SVN: r192704
2012-09-28libgo: Use libbacktrace rather than debug/elf registration.Ian Lance Taylor3-165/+2
From-SVN: r191831
2012-09-06debug/elf, debug/dwarf: DWARF line number fixes.Ian Lance Taylor2-7/+49
Support DW_AT_high_pc as a constant. Support DW_AT_ranges. PR gcc/52583 From-SVN: r191008
2012-06-25libgo: Update to Go 1.0.2 release.Ian Lance Taylor1-2/+16
From-SVN: r188943
2012-05-16debug/dwarf: Fix handling of LineSetFile.Ian Lance Taylor1-1/+1
From-SVN: r187578
2012-04-20debug/dwarf: Fix address lookups for different types of lines.Ian Lance Taylor1-0/+4
This fixes the lookup when, e.g., discriminators force adding new line arrays. From-SVN: r186633
2012-03-09debug/dwarf: Support DWARF versions 3 and 4.Ian Lance Taylor7-40/+108
From-SVN: r185126
2012-03-09debug/elf: Don't crash if line numbers are not available.Ian Lance Taylor1-1/+1
From-SVN: r185124
2012-03-07libgo: Implement and use runtime.Caller, runtime.Func.FileLine.Ian Lance Taylor11-9/+688
From-SVN: r185025
2012-03-02libgo: Update to weekly.2012-02-22 release.Ian Lance Taylor7-14/+89
From-SVN: r184819
2012-03-02libgo: Update to weekly.2012-02-14 release.Ian Lance Taylor1-2/+1
From-SVN: r184798
2012-01-25libgo: Update to weekly.2012-01-15.Ian Lance Taylor1-2/+2
From-SVN: r183539