Sounds good.<br><div class="gmail_quote"><div dir="ltr">On Sat, 19 Mar 2016 at 23:46, Davide Italiano <<a href="mailto:davide@freebsd.org">davide@freebsd.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sat, Mar 19, 2016 at 12:05 PM, James Molloy <<a href="mailto:james@jamesmolloy.co.uk" target="_blank">james@jamesmolloy.co.uk</a>> wrote:<br>
> Hi Davide,<br>
><br>
> -plugin-opt is passed when the user attempts to change the LTO behaviour -<br>
> for example overriding the codegen option level, or passing a backend option<br>
> to LLVM. It being ignored silently will surely cause much head scratching<br>
> down the line.<br>
><br>
> Can we at least get a diagnostic with the intended alternative listed?<br>
><br>
<br>
Currently lld doesn't pass any option to the backend but it definitely<br>
will in the near future.<br>
Just to give you a little bit more context: currently I'm passing this<br>
option to facilitate my testing of -flto. There are still missing<br>
pieces in LTO support, so you can see this commit more as a<br>
convenience for us (us being the people working on lld, in particular<br>
on LTO).<br>
<br>
My idea is to introduce -lto-opt for lld (because there's no plugin)<br>
but to make the transition smoother for existing users alias that<br>
option to -plugin-opt. Hope this makes sense.<br>
<br>
Thanks,<br>
<br>
--<br>
Davide<br>
</blockquote></div>