закешированный к нам в целях безопасности дебаггер
Go to file
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
_fixtures godwarf: support recursive types involving C qualifiers and typedefs (#1603) 2019-07-08 10:24:56 -07:00
assets Add high-res images 2015-05-19 12:25:26 -05:00
cmd/dlv terminal: adds embedded scripting language (#1466) 2019-07-02 10:55:27 -07:00
Documentation terminal: adds embedded scripting language (#1466) 2019-07-02 10:55:27 -07:00
pkg godwarf: support recursive types involving C qualifiers and typedefs (#1603) 2019-07-08 10:24:56 -07:00
scripts terminal: adds embedded scripting language (#1466) 2019-07-02 10:55:27 -07:00
service terminal: adds embedded scripting language (#1466) 2019-07-02 10:55:27 -07:00
vendor vendor: update golang.org/x/sys dependency to latest version (#1600) 2019-07-03 10:36:55 -07:00
.gitattributes makefile: use git's $Id$ instead of setting ver.Build in makefile (#807) 2017-04-28 10:14:33 -07:00
.gitignore git: Update gitignore 2015-10-20 20:55:11 -07:00
.travis.yml Go 1.13 support (#1546) 2019-06-30 10:34:47 -07:00
appveyor.yml *: Missed go-delve renames 2019-01-04 11:21:33 -08:00
CHANGELOG.md Set release date for 1.2.0 2019-02-19 11:15:57 -08:00
CONTRIBUTING.md Update CONTRIBUTING.md 2016-05-13 10:43:09 +08:00
glide.lock *: Update vendor 2018-06-22 09:45:10 +02:00
glide.yaml *: Update vendor 2018-06-22 09:45:10 +02:00
go.mod vendor: update golang.org/x/sys dependency to latest version (#1600) 2019-07-03 10:36:55 -07:00
go.sum vendor: update golang.org/x/sys dependency to latest version (#1600) 2019-07-03 10:36:55 -07:00
ISSUE_TEMPLATE.md misc: Include issue template for GitHub 2016-03-03 10:40:14 -08:00
LICENSE Add License and README 2014-05-03 15:31:52 -05:00
Makefile Makefile: replace makefile with a script 2018-09-18 12:06:25 -07:00
README.md Documentation: add Frequently Asked Questions. (#1567) 2019-06-03 10:20:26 -07:00

Delve

license GoDoc Build Status Build status Join the chat at https://gitter.im/go-delve/delve

The GitHub issue tracker is for bugs only. Please use the developer mailing list for any feature proposals and discussions.

About Delve

Delve is a debugger for the Go programming language. The goal of the project is to provide a simple, full featured debugging tool for Go. Delve should be easy to invoke and easy to use. Chances are if you're using a debugger, things aren't going your way. With that in mind, Delve should stay out of your way as much as possible.