zturner added a comment. One issue I can see with this is that if you check the documentation of -b it says this:
-b --batch 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. Repository: rL LLVM https://reviews.llvm.org/D43471 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits