delve/pkg/dwarf
Alessandro Arzilli fb3941324b dwarf/line: fix state machine behavior with multi-sequence units (#1681)
A compile unit can produce a debug_line program consisting of multiple
sequences according to the DWARF standard. The standard guarantees that
addresses monotonically increment within a single sequence but
different sequences may not follow this rule.

This commit changes dwarf/line (in particular PCToLine and
AllPCsBetween) to support debug_line sections containing units with
multiple sequences.

TestPCToLine needs to be changed so that it picks valid addresses (i.e.
addresses covered by a sequence) as values for basePC, instead of just
rounding.

Fixes #1694
2019-10-07 09:54:32 -07:00
..
dwarfbuilder proc: ignore DW_TAG_inlined_subroutine entries without abstract origin (#1637) 2019-07-26 11:24:35 -07:00
frame pkg/dwarf/frame/parser: Fix parse augmentation (#1679) 2019-09-04 09:02:24 -07:00
godwarf proc: allow calls to optimized functions (#1684) 2019-09-25 10:23:02 -07:00
line dwarf/line: fix state machine behavior with multi-sequence units (#1681) 2019-10-07 09:54:32 -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