clang-cl: Silently ignore /d2FastFail flag.
authorNico Weber <nicolasweber@gmx.de>
Tue, 29 Mar 2016 19:41:02 +0000 (19:41 +0000)
committerNico Weber <nicolasweber@gmx.de>
Tue, 29 Mar 2016 19:41:02 +0000 (19:41 +0000)
It's some debugging flag for cl.exe related to how it writes crash dumps.

llvm-svn: 264774

clang/include/clang/Driver/CLCompatOptions.td
clang/test/Driver/cl-options.c

index 09ea069..b2f12c9 100644 (file)
@@ -270,6 +270,7 @@ def _SLASH_Fp : CLJoined<"Fp">,
 def _SLASH_analyze_ : CLIgnoredFlag<"analyze-">;
 def _SLASH_bigobj : CLIgnoredFlag<"bigobj">;
 def _SLASH_cgthreads : CLIgnoredJoined<"cgthreads">;
+def _SLASH_d2FastFail : CLIgnoredFlag<"d2FastFail">;
 def _SLASH_d2Zi_PLUS : CLIgnoredFlag<"d2Zi+">;
 def _SLASH_errorReport : CLIgnoredJoined<"errorReport">;
 def _SLASH_Fd : CLIgnoredJoined<"Fd">;
index a3ecfec..c9e8573 100644 (file)
 // RUN:    /bigobj \
 // RUN:    /cgthreads4 \
 // RUN:    /cgthreads8 \
+// RUN:    /d2FastFail \
 // RUN:    /d2Zi+ \
 // RUN:    /errorReport:foo \
 // RUN:    /FC \