[Lldb-commits] [PATCH] D43471: Handle typeof() expressions

Zachary Turner via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 22 09:34:13 PST 2018

zturner added a comment.

One issue I can see with this is that if you check the documentation of -b it says this:

       Tells the debugger to run the commands from -s, -S, -o & -O, and
       then quit.  However if any run command stopped due to a signal or
       crash, the debugger will return to the interactive prompt at the
       place of the crash.

So, this should work fine as long as none of these commands crash, but if they do crash it will cause lit to hang.  It might be useful to add a `-B` option to LLDB that will *not* return to the interactive prompt in the case of a signal or crash, and instead will just terminate.  This way we'd see the crash as just another form of test failure rather than a timeout.



More information about the lldb-commits mailing list