| commit | 46b335ef7eef4cee8044985a958042a0fa53ccd5 | [log] [tgz] |
|---|---|---|
| author | Michael Anthony Knyszek <mknyszek@google.com> | Thu Dec 12 22:14:13 2024 +0000 |
| committer | Gopher Robot <gobot@golang.org> | Fri Dec 13 01:12:30 2024 -0800 |
| tree | 3a8587aa54b4a81768ffe8460b37751dca39fd7e | |
| parent | 96bf9a98636638d6f9f2421fa5a3439a44ef60bc [diff] |
gocore: more fixes for Go 1.24 - The isCrashFrame flag during unwinding was never reset, which could be bad. - We're apparently reading a lot of stale constants and not seeing it because a failed read from the constants map just returns the zero value. Oops! Add a much stricter map wrapper type for constants and fix up all the stale constants. This fixes a whole bunch of things, including totally incorrect readings of the liveness maps. - More strict checking of liveness map data. Change-Id: I2cb4901df4e3f473ef8b0c09981ba222e883b0b6 Reviewed-on: https://go-review.googlesource.com/c/debug/+/635835 Reviewed-by: Michael Pratt <mpratt@google.com> Auto-Submit: Nicolas Hillegeer <aktau@google.com> Commit-Queue: Nicolas Hillegeer <aktau@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: 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.