[lld] r243568 - COFF: Ignore /ThrowNew command line option.
Peter Collingbourne
peter at pcc.me.uk
Wed Jul 29 13:56:04 PDT 2015
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
More information about the llvm-commits
mailing list