<div dir="ltr">You can set the LLVM build to use dynamic libraries instead of static ones, which might help with link times (but for most developers this tends to be a loss, since the dynamically linked llvm/clang/etc run so much slower that the time saved in linking is spent (and some extra) when running the tests (lots of small invocations of these programs with many dynamic libraries slows things down))</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 5, 2016 at 12:11 AM, Xiayang Wang via cfe-dev <span dir="ltr"><<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>I'm writing a Clang static analyzer to print data flow in source code level. Every time I make some modification to the analyzer code, Clang will be linked again. That is too time-consuming.</div><div><br></div><div>Is there is a way to make the analyzer compiled into a dynamic-link library so I don't have to link clang? I'm using 'clang -cc1 -analyzer -analyzer-checker XXX X.c' to invoke the analyzer.</div><div><br></div><div>Thank you!</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Xiayang</div></font></span></div>
<br>_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div><br></div>