delve/pkg/dwarf
Alessandro Arzilli 7cd12c34fd
proc,dwarf: cache debug.Entry objects (#1931)
Instead of rescanning debug_info every time we want to read a function
(either to find inlined calls or its variables) cache the tree of
dwarf.Entry that we would generate and use that.

Benchmark before:

BenchmarkConditionalBreakpoints-4   	       1	5164689165 ns/op

Benchmark after:

BenchmarkConditionalBreakpoints-4   	       1	4817425836 ns/op

Updates #1549
2020-03-20 10:23:10 -07:00
..
dwarfbuilder proc: ignore DW_TAG_inlined_subroutine entries without abstract origin (#1637) 2019-07-26 11:24:35 -07:00
frame pkg/proc,service: support linux/386 (#1884) 2020-03-10 09:34:40 -07:00
godwarf proc,dwarf: cache debug.Entry objects (#1931) 2020-03-20 10:23:10 -07:00
line pkg/proc,service: support linux/386 (#1884) 2020-03-10 09:34:40 -07:00
loclist pkg/proc,pkg/dwarf: Introduce loclist package 2019-11-13 18:30:21 +01:00
op pkg/proc,service: support linux/386 (#1884) 2020-03-10 09:34:40 -07:00
reader proc,dwarf: cache debug.Entry objects (#1931) 2020-03-20 10:23:10 -07:00
util *: Fix go vet complaints (#1935) 2020-03-18 09:25:32 -07:00