]> Cypherpunks repositories - gostls13.git/commit
debug/dwarf: refactor entry DIE reading helper
authorThan McIntosh <thanm@golang.org>
Fri, 7 Mar 2025 18:34:55 +0000 (13:34 -0500)
committerThan McIntosh <thanm@golang.org>
Mon, 10 Mar 2025 15:35:44 +0000 (08:35 -0700)
commitc3e7d5f5cee29669d5d824f697e3b16a08815df0
treeacbdebddabca35b0cd21b74063502b6a64f47e45
parentc40a3731f45047c3b903cafae287ea8e5762e062
debug/dwarf: refactor entry DIE reading helper

Simplify the signature of the "entry()" buf method to accept a unit as
opposed to a collection of unit components (version, atable, etc). No
change in functionality, this is a pure refactoring that will be
needed in subsequent patch.

Change-Id: I688def34e39d36b6a62733bc73dc42b49f78ca41
Reviewed-on: https://go-review.googlesource.com/c/go/+/655975
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: David Chase <drchase@google.com>
src/debug/dwarf/entry.go
src/debug/dwarf/typeunit.go