delve/pkg/dwarf
aarzilli 7eddfb77b9 dwarf/reader: precalcStack does not need to read past the first entry
It was reading all the way to the end of the debug_info section,
slowing down stacktraces substantially.

Benchmark before:

BenchmarkConditionalBreakpoints-4   	       1	80344642562 ns/op

Benchmark after:

BenchmarkConditionalBreakpoints-4   	       1	22218288218 ns/op

i.e. a reduction of the cost of a breakpoint hit from 8ms to 2.2ms

Updates #1549
2020-01-28 11:32:53 +01: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: support DW_AT_go_package_name (#1757) 2019-11-25 09:10:18 -08:00
line proc,service: return build informations for each package 2020-01-09 20:19:02 +01:00
loclist pkg/proc,pkg/dwarf: Introduce loclist package 2019-11-13 18:30:21 +01:00
op proc: implement stacktrace of arm64 (#1780) 2020-01-21 09:11:20 -08:00
reader dwarf/reader: precalcStack does not need to read past the first entry 2020-01-28 11:32:53 +01:00
util proc/tests: testing apparatus for complex location expressions 2017-11-21 11:51:02 -08:00