delve/pkg
aarzilli 21be59469a proc: cache entire frame in FrameToScope instead of variablesByTag
Caching the frame in variablesByTag is problematic:

1. accounting for variables that are (partially) stored in registers is
complicated (see issue #1106)
2. for some types (strings, interfaces...) simply creating the Variable
object reads memory, which therefore happens before we can do any
caching.

Instead cache the entire frame when the EvalScope object is created.
The cached range is between the SP value of the current frame and the
CFA of the preceeding frame, if available, or the CFA of the current
frame otherwise.

Fixes #1106
2018-04-23 10:13:21 -07:00
..
config config: Return handle for created default config (#1130) 2018-02-20 20:24:05 +01:00
dwarf proc: support inlining 2018-03-26 14:30:38 -04:00
goversion all: Spelling 2018-03-20 11:05:35 +01:00
logflags proc/gdbserial,dlv/cmds: make logGdbWire command line configurable 2018-04-13 15:31:02 -07:00
proc proc: cache entire frame in FrameToScope instead of variablesByTag 2018-04-23 10:13:21 -07:00
terminal terminal: make printcontext use SelectedGoroutine 2018-04-13 15:31:50 -07:00
version all: Bump to v1.0.0 (#1126) 2018-02-19 21:33:47 +01:00