<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Sep 26, 2014 at 5:05 PM, Richard Smith <span dir="ltr"><<a href="mailto:richard@metafoo.co.uk" target="_blank">richard@metafoo.co.uk</a>></span> wrote:<br><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"><div dir="ltr"><div><div class="h5"><div class="gmail_extra"><div class="gmail_quote">On Fri, Sep 26, 2014 at 4:55 PM, Duncan P. N. Exon Smith <span dir="ltr"><<a href="mailto:dexonsmith@apple.com" target="_blank">dexonsmith@apple.com</a>></span> wrote:<br><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><br>
> On Sep 26, 2014, at 4:49 PM, Richard Smith <<a href="mailto:richard@metafoo.co.uk" target="_blank">richard@metafoo.co.uk</a>> wrote:<br>
><br>
>> Your logic seems correct about it not working currently, but it looks<br>
>> like a bug that it's not included in `lto_get_version()`.<br>
>><br>
>> Shouldn't we just fix it?<br>
><br>
> Sure, if anyone cares.<br>
<br>
</span>`ld64 -v` prints this out, so we care :).  Thanks for noticing it!<br>
<br>
(I assume this is trivial to fix, but if not please CC me on a PR.)<br>
</blockquote></div><br></div></div></div><div class="gmail_extra">I don't know how to write a test for this, so someone else should probably tackle it. The way to fix it is to take the lines I removed from Makefile and CMakeLists.txt in <span style="font-family:arial,sans-serif;font-size:13px">tools/lto/ and add them to those files in lib/LTO/.</span></div></div>
</blockquote></div><br></div>Filed as PR21085.</div>