| commit | 3dd331509f104ffaca6cef3af764595e32a3b554 | [log] [tgz] |
|---|---|---|
| author | Michael Anthony Knyszek <mknyszek@google.com> | Fri Aug 29 18:31:42 2025 +0000 |
| committer | Gopher Robot <gobot@golang.org> | Tue Sep 09 07:43:52 2025 -0700 |
| tree | d9bd0266da04820b1554da1be62b9e230dcc02a5 | |
| parent | 489b700451bf0fdc75b1cb3a7bfa3c1dbe9ee3a6 [diff] |
internal/gocore: fix pointer locations for small objects in green tea The tests are currently broken when GOEXPERIMENT=greenteagc because that shifted where the pointer/scalar bits are located for small objects a little bit. This change modifies gocore to look in the right place and detect if GOEXPERIMENT=greenteagc is enabled (and if we're using Green Tea in general, if/when it becomes the default). This was not caught by the builders because we don't have an x/debug builder that sets the GOEXPERIMENT. Change-Id: I746ce601ebc12738920616889200f23642f7280f Reviewed-on: https://go-review.googlesource.com/c/debug/+/699975 Reviewed-by: Michael Pratt <mpratt@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Nicolas Hillegeer <aktau@google.com> Commit-Queue: Nicolas Hillegeer <aktau@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://go.dev/doc/contribute.
The git repository is https://go.googlesource.com/debug.
The main issue tracker for the debug repository is located at https://go.dev/issues. Prefix your issue with “x/debug:” in the subject line, so it is easy to find.