<div dir="ltr">Yes the test case was updated in r253815 to reflect the change of old-gnu to gnu</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 23, 2015 at 8:37 AM, Rafael Espíndola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This still needs a testcase.<br>
<br>
On 23 November 2015 at 11:04, Martell Malone via cfe-commits<br>
<div class="HOEnZb"><div class="h5"><<a href="mailto:cfe-commits@lists.llvm.org">cfe-commits@lists.llvm.org</a>> wrote:<br>
> Author: martell<br>
> Date: Mon Nov 23 10:04:55 2015<br>
> New Revision: 253874<br>
><br>
> URL: <a href="http://llvm.org/viewvc/llvm-project?rev=253874&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=253874&view=rev</a><br>
> Log:<br>
> Revert part of r253813<br>
> The new lld gnu frontend does not support the -target option<br>
><br>
> Modified:<br>
> cfe/trunk/lib/Driver/Tools.cpp<br>
><br>
> Modified: cfe/trunk/lib/Driver/Tools.cpp<br>
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Tools.cpp?rev=253874&r1=253873&r2=253874&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Tools.cpp?rev=253874&r1=253873&r2=253874&view=diff</a><br>
> ==============================================================================<br>
> --- cfe/trunk/lib/Driver/Tools.cpp (original)<br>
> +++ cfe/trunk/lib/Driver/Tools.cpp Mon Nov 23 10:04:55 2015<br>
> @@ -9479,13 +9479,6 @@ void MinGW::Linker::ConstructJob(Compila<br>
> if (LinkerName.equals_lower("lld")) {<br>
> CmdArgs.push_back("-flavor");<br>
> CmdArgs.push_back("gnu");<br>
> - CmdArgs.push_back("-target");<br>
> - if (TC.getArch() == llvm::Triple::x86)<br>
> - CmdArgs.push_back("i686--windows-gnu");<br>
> - if (TC.getArch() == llvm::Triple::x86_64)<br>
> - CmdArgs.push_back("x86_64--windows-gnu");<br>
> - if (TC.getArch() == llvm::Triple::arm)<br>
> - CmdArgs.push_back("armv7--windows-gnu");<br>
> } else if (!LinkerName.equals_lower("ld")) {<br>
> D.Diag(diag::err_drv_unsupported_linker) << LinkerName;<br>
> }<br>
><br>
><br>
> _______________________________________________<br>
> cfe-commits mailing list<br>
> <a href="mailto:cfe-commits@lists.llvm.org">cfe-commits@lists.llvm.org</a><br>
> <a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits</a><br>
</div></div></blockquote></div><br></div>