[LLVMdev] [RFC] New ToolsSupport library for stuff that only tools need

Owen Anderson
Fri, 07 Nov 2014 18:20:08 -0000

> On Nov 7, 2014, at 8:57 AM, Daniel Dunbar <daniel at zuster.org>
wrote:
>
> 2. I agree with Chandler in that I don't see a good need to try hard to
factor out code from the Support library that can just be conditional disabled
or would be unused by normal .a link semantics. For example, whether or not the
regex or YAML code belongs in Support doesn't seem worth worrying too much
about, because they are very isolated, don't introduce extra dependencies,
and won't be linked by projects that don't use them.

This assumes that the client is statically linking against Support.  Chris has
been pretty explicit about his goals of building and using LLVM as a monolithic
dynamic library, in which case things like regex or YAML support will *not* be
automatically removed.

—Owen
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20141107/2671e5c9/attachment.html>