[lldb-dev] LLDB Evolution - Final Form
Zachary Turner via lldb-dev
lldb-dev at lists.llvm.org
Wed Sep 28 19:02:06 PDT 2016
Just want to add new things as I think of them.
On Mon, Sep 19, 2016 at 1:18 PM Zachary Turner <zturner at google.com> wrote:
>
>
> 1.
>
> lldb-cli -- lldb interactive command line.
>
>
A great way to test this would be have a tool as mentioned, and you pass an
lldb command to the tool. It parses it and spits out the parameters it
deduced. For example, you could do this:
lldb-cli --command="break set -n main"
And it could print out:
Command: Set Breakpoint
Type: ByFunctionName
Location: main
And you can run this through FileCheck in a standard lit test. This is a
great way to test the functionality of the command line without relying on
output scraping.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20160929/8d38baef/attachment.html>
More information about the lldb-dev
mailing list