<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Jul 22, 2015 at 1:20 PM, Rafael EspĂ­ndola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> I was able to get this to work on windows by using<br>
><br>
> -DCMAKE_STATIC_LINKER_FLAGS=/llvmlibthin<br>
<br>
</span>And with r242926 it looks like the new lld just works with thin<br>
archives on windows :-)<br></blockquote><div><br></div><div>Cool!</div><div><br></div><div>So the thin archive is a divergence from the standard ar file (although it's compatible with GNU). Is there any room to push it further? Last time I ran the linker with profiling enabled, it spends a good amount of time just to find the terminating nul character in the archive file symbol table. If we store string length for each symbol, the linker can read archive files faster.</div></div></div></div>