]> Cypherpunks repositories - gostls13.git/commit
debug/dwarf: read DWARF 5 cu base offsets on SeekPC() path
authorThan McIntosh <thanm@golang.org>
Tue, 11 Mar 2025 13:16:05 +0000 (09:16 -0400)
committerThan McIntosh <thanm@golang.org>
Tue, 11 Mar 2025 15:18:19 +0000 (08:18 -0700)
commitbe2ecfbff88f20a888ec49446a45dd6bc8ed8d12
tree7139204bcdd8ff13fd4c64314746e93ad4e66ab6
parent73fea035bf1e4e68ef14995a389d4fd8df5c6a34
debug/dwarf: read DWARF 5 cu base offsets on SeekPC() path

This patch fixes a bug in CL 655976 relating to DWARF 5 support; we
were reading in compile unit base offsets on the Seek() path but not
on the corresponding SeekPC path (we need the offsets to be read in
both cases).

Updates #26379.
Fixes #72778.

Change-Id: I02850b786a53142307219292f2c5099eb0271559
Reviewed-on: https://go-review.googlesource.com/c/go/+/656675
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/debug/dwarf/entry.go