[lldb-dev] Questions about the LLDB testsuite and improving its reliability

Zachary Turner via lldb-dev lldb-dev at lists.llvm.org
Wed Jan 17 15:32:41 PST 2018


On Wed, Jan 17, 2018 at 3:26 PM Greg Clayton <clayborg at gmail.com> wrote:

> I don't see why we would go with a lit based system that manually
> specifies the arguments. Seems like a pain to get the right compiler flags
> for creating shared libs on different systems (or executables, frameworks,
> etc). Seems like cmake is good at that and very simple.
>

One reason it's nice is because you can specify more than just a compiler
command line.  You can take your input from an assembly file, for example
and compile it with llc

 You can mess around with files and stick them into an archive or you can
compile a dll, then run a tool on it to strip something out of it.  You can
copy files around to set up a build directory a certain way.  Only limited
by your imagination.

When the compiler invocation is "just another command", you can easily
create test cases that are a lot more interesting than just "make an
executable from this source code, and debug it".

I think it can be done, and would be valuable if done right, but I do think
getting it right would take some care.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20180117/91539c89/attachment-0001.html>


More information about the lldb-dev mailing list