From 4323831732292ee03686ca31a3205b0cecc8feb5 Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Wed, 29 Jul 2015 21:01:15 +0000 Subject: [PATCH] COFF: Fix command line option spelling. llvm-svn: 243573 --- lld/COFF/Driver.cpp | 2 +- lld/COFF/Options.td | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lld/COFF/Driver.cpp b/lld/COFF/Driver.cpp index ff14b81..217ef17 100644 --- a/lld/COFF/Driver.cpp +++ b/lld/COFF/Driver.cpp @@ -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"; diff --git a/lld/COFF/Options.td b/lld/COFF/Options.td index 45cf367..5f7774f 100644 --- a/lld/COFF/Options.td +++ b/lld/COFF/Options.td @@ -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">; -- 2.7.4