delve/pkg
aarzilli 3f9875e272 dwarf/line: fix some bugs with the state machine
Adds a test that compares the output of our state machine with the
output of the debug_line reader in the standard library and checks that
they produce the same output for the debug_line section of grafana as
compiled on macOS (which is the most interesting case since it uses cgo
and therefore goes through dsymutil).

A few bugs were uncovered and fixed:

1. is_stmt was reset improperly after a DW_LNS_end_sequence instruction
2. basic_block, prologue_end and epilogue_begin were not reset after a
   DW_LNS_copy instruction
3. some opcodes were not decoded properly if the debug_line section
   declares fewer standard opcodes than we know about.

Fixes #1282
2018-07-31 12:01:14 -07:00
..
config config: Return handle for created default config (#1130) 2018-02-20 20:24:05 +01:00
dwarf dwarf/line: fix some bugs with the state machine 2018-07-31 12:01:14 -07:00
goversion proc: correctly set G struct offset for 1.11 2018-06-11 11:09:02 -07:00
logflags *: function call injection for go 1.11 2018-07-13 13:37:54 -07:00
proc proc,service,terminal: read defer list 2018-07-24 14:58:56 -07:00
terminal proc,service,terminal: read defer list 2018-07-24 14:58:56 -07:00
version all: Bump to v1.0.0 (#1126) 2018-02-19 21:33:47 +01:00