[Lldb-commits] [PATCH] D43048: [lldb-test/WIP] Allow a way to test autocompletion
Zachary Turner via lldb-commits
lldb-commits at lists.llvm.org
Mon Feb 12 12:59:01 PST 2018
On Mon, Feb 12, 2018 at 12:52 PM Jason Molenda <jmolenda at apple.com> wrote:
> > On Feb 12, 2018, at 12:48 PM, Zachary Turner via Phabricator <
> reviews at reviews.llvm.org> wrote:
> > zturner added a comment.
> > In https://reviews.llvm.org/D43048#1005513, @jasonmolenda wrote:
> > I don't think we'd necessarily need a live register context or stack
> memory. A mock register context and stack memory should be sufficient,
> with an emulator that understands only a handful of instructions.
> That's ... exactly what I said? That we need to mock up memory and
> registers and symbols, or have a corefile and binary, or have hand written
> assembly routines that set up a particular stack and an SB API test that
> tries to backtrace out of it with a live process. After the inferior
> process state has been constructed/reconstituted, is the unwinder capable
> of walking the stack or finding spilled registers by following the correct
> UnwindPlans. This is right in the wheelhouse of SB API testing.
I'm saying we shouldn't need a live process (and in fact we can test it
better if we don't rely on a live process, since we can write tests that
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lldb-commits