forked from OSchip/llvm-project
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. llvm-svn: 243568
This commit is contained in:
parent
fda777c37e
commit
46682630f4
|
@ -127,6 +127,8 @@ LinkerDriver::parseDirectives(StringRef S) {
|
|||
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);
|
||||
|
|
|
@ -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">;
|
||||
|
|
Loading…
Reference in New Issue