delve/pkg/dwarf
Alessandro Arzilli a8b8f30d39 godwarf: support recursive types involving C qualifiers and typedefs (#1603)
Backports debug/dwarf commit: 535741a69a1300d1fe2800778b99c8a1b75d7fdd
CL: https://go-review.googlesource.com/18459

The x/debug/dwarf that we used for dwarf/godwarf/type.go was forked
from debug/dwarf long before this commit.

Original description:

    Currently readType simultaneously constructs a type graph and resolves
    the sizes of the types. However, these two operations are
    fundamentally at odds: the order we parse a cyclic structure in may be
    different than the order we need to resolve type sizes in. As a
    result, it's possible that when readType attempts to resolve the size
    of a typedef, it may dereference a nil Type field of another typedef
    retrieved from the type cache that's only partially constructed.

    To fix this, we delay resolving typedef sizes until the end of the
    readType recursion, when the full type graph is constructed.

Fixes #1601
2019-07-08 10:24:56 -07:00
..
dwarfbuilder proc: add LocationCover method to BinaryInfo (#1573) 2019-06-24 08:02:14 -07:00
frame proc: support debugging plugins (#1414) 2019-05-08 14:06:38 -07:00
godwarf godwarf: support recursive types involving C qualifiers and typedefs (#1603) 2019-07-08 10:24:56 -07:00
line proc: added *BinaryInfo.AllPCsForFileLine for faster bulk queries (#1592) 2019-06-27 19:39:15 -07:00
op *: Update import name to github.com/go-delve/delve 2019-01-04 19:43:13 +01:00
reader proc: support setting string values when it requires an allocation (#1548) 2019-06-17 09:51:29 -07:00
util proc/tests: testing apparatus for complex location expressions 2017-11-21 11:51:02 -08:00