delve/pkg/dwarf/godwarf
Andrei Matei 5e7169e650
godwarf: assert children are not ignored (#2388)
The godwarf package provides two ways to turn a dwarf.Entry into a
godwarf.Tree: LoadTree and EntryToTree. The former doesn't handle
children - it doesn't advance a Reader past them (in fact, it doesn't
even know about a Reader). EntryToTree is only used for variables and
formal param DIEs, which don't have children, and it would very likely
be incorrect to use it for DIEs with children. This patch makes the
function panic if the entry can have children.
2021-03-15 09:36:11 -07:00
..
addr.go dwarf/loclist,godwarf,proc: support DWARF version 5 loclists and debug_addr (#2097) 2020-08-17 17:19:46 -07:00
sections.go proc: support GNU compressed debug sections (go1.11 support) 2018-06-22 11:20:38 -07:00
tree_test.go proc,dwarf: cache debug.Entry objects (#1931) 2020-03-20 10:23:10 -07:00
tree.go godwarf: assert children are not ignored (#2388) 2021-03-15 09:36:11 -07:00
type.go godwarf: handle unsupported types gracefully (#2106) 2020-07-15 10:09:28 -07:00