Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/gocore: handle unsafe.pointer case for hchan.buf in chan
In the hchan struct, buf field is an unsefa.Pointer, and its actual type is an array of length hchan.dataqsiz and type hchan.elemtype. Correct its type so that the object it points to can continue to be analyzed. For golang/go#57447. Change-Id: I47969a9a8e2870bb9573587bac5416fbea9db9ac Reviewed-on: https://go-review.googlesource.com/c/debug/+/547536 Reviewed-by: Keith Randall <khr@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Keith Randall <khr@golang.org> Reviewed-by: Keith Randall <khr@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
- Loading branch information