<div dir="ltr">> I don't suppose ld64 could move to a model like we're talking about with lld that pcc is working on?<div><br></div><div>FWIW I'm working on getting LLVM/Clang linking with lld on Darwin. I haven't had a good look at the LTO interface yet, but hopefully I'll get to it soon.<div><br></div><div>Cheers,</div><div>Lang.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 31, 2015 at 6:09 PM, Eric Christopher via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</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"><br><br><div class="gmail_quote"><span class=""><div dir="ltr">On Mon, Aug 31, 2015 at 5:50 PM Duncan P. N. Exon Smith <<a href="mailto:dexonsmith@apple.com" target="_blank">dexonsmith@apple.com</a>> wrote:<br></div><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"><br>
> On 2015-Aug-31, at 12:21, Eric Christopher <<a href="mailto:echristo@gmail.com" target="_blank">echristo@gmail.com</a>> wrote:<br>
> Yep. This is where I was going :)<br>
<br>
Glad I found consensus, but I want to double-check that this makes<br>
sense to add to the driver.  I didn't quite think through the<br>
implications myself.<br>
<br>
Since the driver doesn't know if there's any bitcode, or if LTO is<br>
going to be invoked, it seems like I'll have to change the noasserts<br>
driver to *always* pass the option to the linker just in case we are<br>
doing LTO.  Is this reasonable?<br>
<br>
Also, I realized that passing `-mllvm -disable-llvm-verifier` to ld64<br>
is redundant... so I'm thinking `-mllvm -disable-verify`.  Make<br>
sense?<br></blockquote><div><br></div></span><div>*sigh* Reasons to hate the driver interface again...</div><div><br></div><div>I guess this is ok. Could possibly add it to the existing terrible "enable this pass" interface on liblto as well. </div><div><br></div><div>I don't suppose ld64 could move to a model like we're talking about with lld that pcc is working on?</div><div><br></div><div>-eric</div><div> </div></div></div>
<br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
<br></blockquote></div><br></div></div></div>