<div dir="ltr"><div>On Wed, Oct 21, 2015 at 11:14 AM, Davide Italiano <span dir="ltr"><<a href="mailto:davide@freebsd.org" target="_blank">davide@freebsd.org</a>></span> wrote:<br></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On Wed, Oct 21, 2015 at 10:36 AM, Rui Ueyama via llvm-commits<br>
<<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a>> wrote:<br>
> ruiu updated this revision to Diff 38029.<br>
> ruiu added a comment.<br>
><br>
> Remove debug code.<br>
><br>
<br>
</span>Cool feature. Do you happen to have data about the gap in size between<br>
this and gold after this?</blockquote><div><br></div><div>Here are sizes of Clang linked with ld, gold and LLD with or without --gc-sections.</div><div> </div></div><div class="gmail_extra">ld</div><div class="gmail_extra">56321983</div><div class="gmail_extra">56253215</div><div class="gmail_extra"><br></div><div class="gmail_extra">gold</div><div class="gmail_extra">57765632</div><div class="gmail_extra">57696264</div><div class="gmail_extra"><br></div><div class="gmail_extra">LLD</div><div class="gmail_extra">57765712</div><div class="gmail_extra">55296872</div><div><br></div><div>LLD produces the smallest executable as you can see, but that's so good that that is odd. I don't have a good theory at this moment to describe the difference.</div></div></div>