aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/runtime/debug
AgeCommit message (Collapse)AuthorFilesLines
2020-01-21libgo: update to Go1.14beta1Ian Lance Taylor2-3/+3
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/214297
2019-09-06libgo: update to Go 1.13beta1 releaseIan Lance Taylor1-9/+3
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/193497 From-SVN: r275473
2019-01-18libgo: update to Go1.12beta2Ian Lance Taylor1-0/+112
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-10-25compiler: improve name mangling for packpathsIan Lance Taylor1-2/+2
The current implementation of Gogo::pkgpath_for_symbol was written in a way that allowed two distinct package paths to map to the same symbol, which could cause collisions at link- time or compile-time. Switch to a better mangling scheme to insure that we get a unique packagepath symbol for each package. In the new scheme instead of having separate mangling schemes for identifiers and package paths, the main identifier mangler ("go_encode_id") now handles mangling of both packagepath characters and identifier characters. The new mangling scheme is more intrusive: "foo/bar.Baz" is mangled as "foo..z2fbar.Baz" instead of "foo_bar.Baz". To mitigate this, this patch also adds a demangling capability so that function names returned from runtime.CallersFrames are converted back to their original unmangled form. Changing the pkgpath_for_symbol scheme requires updating a number of //go:linkname directives and C "__asm__" directives to match the new scheme, as well as updating the 'gotest' driver (which makes assumptions about the correct mapping from pkgpath symbol to package name). Fixes golang/go#27534. Reviewed-on: https://go-review.googlesource.com/c/135455 From-SVN: r265510
2018-09-24libgo: update to Go 1.11Ian Lance Taylor1-4/+4
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
2017-09-14libgo: update to go1.9Ian Lance Taylor2-5/+67
Reviewed-on: https://go-review.googlesource.com/63753 From-SVN: r252767
2017-01-14libgo: update to Go 1.8 release candidate 1Ian Lance Taylor2-12/+15
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-17runtime: copy rdebug code from Go 1.7 runtimeIan Lance Taylor4-24/+62
While we're at it, update the runtime/debug package, and start running its testsuite by default. I'm not sure why runtime/debug was not previously updated to 1.7. Doing that led me to fix some minor aspects of runtime.Stack and the C function runtime/debug.readGCStats. Reviewed-on: https://go-review.googlesource.com/31251 From-SVN: r241261
2016-07-22libgo: update to go1.7rc3Ian Lance Taylor4-5/+11
Reviewed-on: https://go-review.googlesource.com/25150 From-SVN: r238662
2016-02-03libgo: Update to go1.6rc1.Ian Lance Taylor5-96/+42
Reviewed-on: https://go-review.googlesource.com/19200 From-SVN: r233110
2015-10-31runtime: Remove now unnecessary pad field from ParFor.Ian Lance Taylor4-2/+42
It is not needed due to the removal of the ctx field. Reviewed-on: https://go-review.googlesource.com/16525 From-SVN: r229616
2014-07-19libgo: Update to Go 1.3 release.Ian Lance Taylor2-0/+49
From-SVN: r212837
2014-06-06libgo: Merge to master revision 19184.Ian Lance Taylor2-1/+9
The next revision, 19185, renames several runtime files, and will be handled in a separate change. From-SVN: r211328
2013-11-06libgo: Update to October 24 version of master library.Ian Lance Taylor2-4/+38
From-SVN: r204466
2013-07-16libgo: Update to Go 1.1.1.Ian Lance Taylor2-0/+203
From-SVN: r200974
2013-01-29libgo: Update Go library to master revision 15489/921e53d4863c.Ian Lance Taylor1-0/+2
From-SVN: r195560
2012-10-23libgo: Update to current sources.Ian Lance Taylor1-1/+1
From-SVN: r192704
2012-09-28libgo: Use libbacktrace rather than debug/elf registration.Ian Lance Taylor1-1/+0
From-SVN: r191831
2012-03-30libgo: Update to weekly.2012-03-13.Ian Lance Taylor1-7/+14
From-SVN: r186023
2012-03-07libgo: Implement and use runtime.Caller, runtime.Func.FileLine.Ian Lance Taylor1-0/+1
From-SVN: r185025
2011-09-16Update Go library to r60.Ian Lance Taylor2-4/+4
From-SVN: r178910
2011-05-20Update to current version of Go library.Ian Lance Taylor1-2/+2
From-SVN: r173931
2011-01-21Remove the types float and complex.Ian Lance Taylor2-0/+145
Update to current version of Go library. Update testsuite for removed types. * go-lang.c (go_langhook_init): Omit float_type_size when calling go_create_gogo. * go-c.h: Update declaration of go_create_gogo. From-SVN: r169098