[Lldb-commits] [PATCH] D24591: [LIT] First pass of LLDB LIT support

Sean Callanan via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 14 15:25:48 PDT 2016

spyffe added a subscriber: spyffe.
spyffe added a comment.

I like this concept a lot, and I think it's great for testcases that actually need to interact with the command line.
I'm concerned, though, that the separation of input from command files makes tests more complex to write.  One thing that's very nice about the `inline` tests in LLDB is that the test and the source for the debugged program are both in the same file.
If the goal is to port compiler tests across (or just to have tests be more understandable for compiler engineers), I would argue for choosing that model as the default.  It would mean a slightly customized LLDB driver but that wouldn't be insanely hard.  (We've already done it in Python!)


More information about the lldb-commits mailing list