This is definitely required, but only on windows. I’d put it behind a check for Windows, and I’d also add a check to print a warning/error if (TARGET lld) returns false on windows <br><div class="gmail_quote"><div dir="ltr">On Mon, Nov 6, 2017 at 9:22 AM Davide Italiano via Phabricator <<a href="mailto:reviews@reviews.llvm.org">reviews@reviews.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">davide added a subscriber: zturner.<br>
davide added a comment.<br>
<br>
Not sure lld is the default? I think I always build with bfd (or gold).<br>
I'll check later today when I'm in the office. I'm not against this change per se, but adding another dependency seems annoying. cc: @zturner<br>
<br>
<br>
<a href="https://reviews.llvm.org/D39689" rel="noreferrer" target="_blank">https://reviews.llvm.org/D39689</a><br>
<br>
<br>
<br>
</blockquote></div>