Just want to add new things as I think of them.

On Mon, Sep 19, 2016 at 1:18 PM Zachary Turner <ztur...@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.
_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Reply via email to