summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2016-03-25 18:09:29 +0000
committerReid Kleckner <rnk@google.com>2016-03-25 18:09:29 +0000
commit9cd77ce1691ff01e36fed4b9ad47e15096b74159 (patch)
tree338a3b2410637542113bf0eab81eafaebb5e4678
parentcd7d3ae7cc734e18f01d498a10f298fa38bd899d (diff)
downloadbcm5719-llvm-9cd77ce1691ff01e36fed4b9ad47e15096b74159.tar.gz
bcm5719-llvm-9cd77ce1691ff01e36fed4b9ad47e15096b74159.zip
[coff] Accept and ignore another link.exe flag for compatibility
This flag disables link.exe's crash handler so that normal windows error reporting and crash dumping occurs. For now it is reasonable for LLD to ignore the flag. Chromium is currently using this flag to collect minidumps of link.exe crashing, and it breaks the LLD build. llvm-svn: 264439
-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 e0fc23962c2..2a71343aa30 100644
--- a/lld/COFF/Driver.cpp
+++ b/lld/COFF/Driver.cpp
@@ -119,6 +119,7 @@ void LinkerDriver::parseDirectives(StringRef S) {
Config->NoDefaultLibs.insert(doFindLib(Arg->getValue()));
break;
case OPT_editandcontinue:
+ case OPT_fastfail:
case OPT_guardsym:
case OPT_throwingnew:
break;
diff --git a/lld/COFF/Options.td b/lld/COFF/Options.td
index a21b8de76af..ceb25ccb5c7 100644
--- a/lld/COFF/Options.td
+++ b/lld/COFF/Options.td
@@ -110,6 +110,7 @@ def no_incremental : F<"incremental:no">;
def nologo : F<"nologo">;
def throwingnew : F<"throwingnew">;
def editandcontinue : F<"editandcontinue">;
+def fastfail : F<"fastfail">;
def delay : QF<"delay">;
def errorreport : QF<"errorreport">;
OpenPOWER on IntegriCloud