[lld] r264439 - [coff] Accept and ignore another link.exe flag for compatibility

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 25 11:09:29 PDT 2016

Author: rnk
Date: Fri Mar 25 13:09:29 2016
New Revision: 264439

URL: http://llvm.org/viewvc/llvm-project?rev=264439&view=rev
[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.


Modified: lld/trunk/COFF/Driver.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/COFF/Driver.cpp?rev=264439&r1=264438&r2=264439&view=diff
--- lld/trunk/COFF/Driver.cpp (original)
+++ lld/trunk/COFF/Driver.cpp Fri Mar 25 13:09:29 2016
@@ -119,6 +119,7 @@ void LinkerDriver::parseDirectives(Strin
     case OPT_editandcontinue:
+    case OPT_fastfail:
     case OPT_guardsym:
     case OPT_throwingnew:

Modified: lld/trunk/COFF/Options.td
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/COFF/Options.td?rev=264439&r1=264438&r2=264439&view=diff
--- lld/trunk/COFF/Options.td (original)
+++ lld/trunk/COFF/Options.td Fri Mar 25 13:09:29 2016
@@ -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">;

More information about the llvm-commits mailing list