delve/pkg/dwarf/reader
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
..
reader.go dwarf/reader: precalcStack does not need to read past the first entry 2020-01-28 11:32:53 +01:00
variables.go proc: support setting string values when it requires an allocation (#1548) 2019-06-17 09:51:29 -07:00