-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Showing
3 changed files
with
99 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters