COFF: Fix command line option spelling.
authorRui Ueyama <ruiu@google.com>
Wed, 29 Jul 2015 21:01:15 +0000 (21:01 +0000)
committerRui Ueyama <ruiu@google.com>
Wed, 29 Jul 2015 21:01:15 +0000 (21:01 +0000)
llvm-svn: 243573

lld/COFF/Driver.cpp
lld/COFF/Options.td

index ff14b81..217ef17 100644 (file)
@@ -127,7 +127,7 @@ LinkerDriver::parseDirectives(StringRef S) {
     case OPT_nodefaultlib:
       Config->NoDefaultLibs.insert(doFindLib(Arg->getValue()));
       break;
-    case OPT_thrownew:
+    case OPT_throwingnew:
       break;
     default:
       llvm::errs() << Arg->getSpelling() << " is not allowed in .drectve\n";
index 45cf367..5f7774f 100644 (file)
@@ -105,7 +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 throwingnew : F<"throwingnew">;
 
 def delay : QF<"delay">;
 def errorreport : QF<"errorreport">;