r253874 - Revert part of r253813
Martell Malone via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 23 08:40:30 PST 2015
Yes the test case was updated in r253815 to reflect the change of old-gnu
to gnu
On Mon, Nov 23, 2015 at 8:37 AM, Rafael EspĂndola <
rafael.espindola at gmail.com> wrote:
> This still needs a testcase.
>
> On 23 November 2015 at 11:04, Martell Malone via cfe-commits
> <cfe-commits at lists.llvm.org> wrote:
> > Author: martell
> > Date: Mon Nov 23 10:04:55 2015
> > New Revision: 253874
> >
> > URL: http://llvm.org/viewvc/llvm-project?rev=253874&view=rev
> > Log:
> > Revert part of r253813
> > The new lld gnu frontend does not support the -target option
> >
> > Modified:
> > cfe/trunk/lib/Driver/Tools.cpp
> >
> > Modified: cfe/trunk/lib/Driver/Tools.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Tools.cpp?rev=253874&r1=253873&r2=253874&view=diff
> >
> ==============================================================================
> > --- cfe/trunk/lib/Driver/Tools.cpp (original)
> > +++ cfe/trunk/lib/Driver/Tools.cpp Mon Nov 23 10:04:55 2015
> > @@ -9479,13 +9479,6 @@ void MinGW::Linker::ConstructJob(Compila
> > if (LinkerName.equals_lower("lld")) {
> > CmdArgs.push_back("-flavor");
> > CmdArgs.push_back("gnu");
> > - CmdArgs.push_back("-target");
> > - if (TC.getArch() == llvm::Triple::x86)
> > - CmdArgs.push_back("i686--windows-gnu");
> > - if (TC.getArch() == llvm::Triple::x86_64)
> > - CmdArgs.push_back("x86_64--windows-gnu");
> > - if (TC.getArch() == llvm::Triple::arm)
> > - CmdArgs.push_back("armv7--windows-gnu");
> > } else if (!LinkerName.equals_lower("ld")) {
> > D.Diag(diag::err_drv_unsupported_linker) << LinkerName;
> > }
> >
> >
> > _______________________________________________
> > cfe-commits mailing list
> > cfe-commits at lists.llvm.org
> > http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151123/236647e9/attachment-0001.html>
More information about the cfe-commits
mailing list