[lld] r243568 - COFF: Ignore /ThrowNew command line option.

Rui Ueyama ruiu at google.com
Wed Jul 29 14:01:43 PDT 2015


Right. I should have copy-pasted the string... Addressed in r243573.

On Wed, Jul 29, 2015 at 1:56 PM, Peter Collingbourne <peter at pcc.me.uk>
wrote:

> I thought this was "/throwingnew"?
>
> https://llvm.org/bugs/show_bug.cgi?id=24102
>
> Peter
>
> On Wed, Jul 29, 2015 at 08:29:15PM -0000, Rui Ueyama wrote:
> > Author: ruiu
> > Date: Wed Jul 29 15:29:15 2015
> > New Revision: 243568
> >
> > URL: http://llvm.org/viewvc/llvm-project?rev=243568&view=rev
> > Log:
> > COFF: Ignore /ThrowNew command line option.
> >
> > This command line option is added since MSVC 2015. Our wild guess is
> > that the flag is for LTCG and we can safely ignore that.
> >
> > Modified:
> >     lld/trunk/COFF/Driver.cpp
> >     lld/trunk/COFF/Options.td
> >
> > Modified: lld/trunk/COFF/Driver.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/lld/trunk/COFF/Driver.cpp?rev=243568&r1=243567&r2=243568&view=diff
> >
> ==============================================================================
> > --- lld/trunk/COFF/Driver.cpp (original)
> > +++ lld/trunk/COFF/Driver.cpp Wed Jul 29 15:29:15 2015
> > @@ -127,6 +127,8 @@ LinkerDriver::parseDirectives(StringRef
> >      case OPT_nodefaultlib:
> >        Config->NoDefaultLibs.insert(doFindLib(Arg->getValue()));
> >        break;
> > +    case OPT_thrownew:
> > +      break;
> >      default:
> >        llvm::errs() << Arg->getSpelling() << " is not allowed in
> .drectve\n";
> >        return make_error_code(LLDError::InvalidOption);
> >
> > Modified: lld/trunk/COFF/Options.td
> > URL:
> http://llvm.org/viewvc/llvm-project/lld/trunk/COFF/Options.td?rev=243568&r1=243567&r2=243568&view=diff
> >
> ==============================================================================
> > --- lld/trunk/COFF/Options.td (original)
> > +++ lld/trunk/COFF/Options.td Wed Jul 29 15:29:15 2015
> > @@ -105,6 +105,7 @@ def ignoreidl : F<"ignoreidl">;
> >  def incremental : F<"incremental">;
> >  def no_incremental : F<"incremental:no">;
> >  def nologo : F<"nologo">;
> > +def thrownew : F<"thrownew">;
> >
> >  def delay : QF<"delay">;
> >  def errorreport : QF<"errorreport">;
> >
> >
> > _______________________________________________
> > llvm-commits mailing list
> > llvm-commits at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
> >
>
> --
> Peter
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150729/b77ef372/attachment.html>


More information about the llvm-commits mailing list