• A
    proc: replace debug/dwarf with golang.org/x/debug/dwarf · 54f1c9b3
    aarzilli 提交于
    Typedefs that resolve to slices are not recorded in DWARF as typedefs
    but instead as structs in a way that there is no way to know they
    are really slices using debug/dwarf.
    Using golang.org/x/debug/dwarf instead this problem is solved and
    as a bonus some types are printed with a nicer names: (struct string
    → string, struct []int → []int, etc)
    
     Fixes #356 and #293
    54f1c9b3
types.go 2.9 KB