summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2015-08-11 16:46:08 +0000
committerRui Ueyama <ruiu@google.com>2015-08-11 16:46:08 +0000
commit3c4737db547283dfa524b0d1ce4c5cbf6aef0dc9 (patch)
tree5d4e9c1e50ff3916840ab0caec118190a68e9331
parent605b6adf315c20a1e0ed243767b990ed457fc20c (diff)
downloadbcm5719-llvm-3c4737db547283dfa524b0d1ce4c5cbf6aef0dc9.tar.gz
bcm5719-llvm-3c4737db547283dfa524b0d1ce4c5cbf6aef0dc9.zip
COFF: Ignore /editandcontinue option.
llvm-svn: 244626
-rw-r--r--lld/COFF/Driver.cpp1
-rw-r--r--lld/COFF/Options.td1
2 files changed, 2 insertions, 0 deletions
diff --git a/lld/COFF/Driver.cpp b/lld/COFF/Driver.cpp
index e2225716e88..4cff03995fb 100644
--- a/lld/COFF/Driver.cpp
+++ b/lld/COFF/Driver.cpp
@@ -116,6 +116,7 @@ void LinkerDriver::parseDirectives(StringRef S) {
case OPT_nodefaultlib:
Config->NoDefaultLibs.insert(doFindLib(Arg->getValue()));
break;
+ case OPT_editandcontinue:
case OPT_throwingnew:
break;
default:
diff --git a/lld/COFF/Options.td b/lld/COFF/Options.td
index 40dbd572b3d..2957dc171cb 100644
--- a/lld/COFF/Options.td
+++ b/lld/COFF/Options.td
@@ -106,6 +106,7 @@ def incremental : F<"incremental">;
def no_incremental : F<"incremental:no">;
def nologo : F<"nologo">;
def throwingnew : F<"throwingnew">;
+def editandcontinue : F<"editandcontinue">;
def delay : QF<"delay">;
def errorreport : QF<"errorreport">;
OpenPOWER on IntegriCloud