From: Reid Kleckner Date: Fri, 25 Mar 2016 18:09:29 +0000 (+0000) Subject: [coff] Accept and ignore another link.exe flag for compatibility X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9cd77ce1691ff01e36fed4b9ad47e15096b74159;p=platform%2Fupstream%2Fllvm.git [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 --- diff --git a/lld/COFF/Driver.cpp b/lld/COFF/Driver.cpp index e0fc239..2a71343 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 a21b8de..ceb25cc 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">;