On Wed, Jan 17, 2018 at 3:26 PM Greg Clayton <clayb...@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.
_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Reply via email to