commit | fbc6857c8a4f6bf3c0171d0ef4f02bafaa612667 | [log] [tgz] |
---|---|---|
author | Michael Anthony Knyszek <mknyszek@google.com> | Mon Aug 26 19:45:14 2024 +0000 |
committer | Gopher Robot <gobot@golang.org> | Thu Sep 05 15:36:19 2024 +0000 |
tree | 10dc70d80b86f9dd47a5cea42e9718f9f83e7295 | |
parent | 2392e042a5ccd915a4529ff1c0d3f7da21c1dd96 [diff] |
internal/gocore: support Go 1.22 allocation headers This change supports Go 1.22 allocation headers by identifying all the heap pointers when enumerating spans. When looking over each span, we check to see where the pointer data for each value lives, and then enumerate all the pointers as needed. This gets the goroot test passing again, which is a low bar... but it's something. While we're here, let's also get rid of a branch that only applied to an unreleased version of Go 1.22. Fixes #63359. Change-Id: Id936a0e3b44d0fb0ec300fe957ac8218212de939 Reviewed-on: https://go-review.googlesource.com/c/debug/+/608475 Reviewed-by: Keith Randall <khr@golang.org> Reviewed-by: Keith Randall <khr@google.com> Auto-Submit: Michael Knyszek <mknyszek@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Michael Pratt <mpratt@google.com>
This repository holds utilities and libraries for debugging Go programs.
WARNING! Please expect breaking changes and unstable APIs. Most of them are currently are at an early, experimental stage.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the debug repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/debug:” in the subject line, so it is easy to find.