From 4e812c1ad7fd5c49300c5ed2b8903c68cb9281b5 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Tue, 29 Mar 2016 19:41:02 +0000 Subject: [PATCH] clang-cl: Silently ignore /d2FastFail flag. It's some debugging flag for cl.exe related to how it writes crash dumps. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@264774 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Driver/CLCompatOptions.td | 1 + test/Driver/cl-options.c | 1 + 2 files changed, 2 insertions(+) diff --git a/include/clang/Driver/CLCompatOptions.td b/include/clang/Driver/CLCompatOptions.td index 09ea069c1b..b2f12c9405 100644 --- a/include/clang/Driver/CLCompatOptions.td +++ b/include/clang/Driver/CLCompatOptions.td @@ -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">; diff --git a/test/Driver/cl-options.c b/test/Driver/cl-options.c index a3ecfecd6a..c9e857332d 100644 --- a/test/Driver/cl-options.c +++ b/test/Driver/cl-options.c @@ -247,6 +247,7 @@ // RUN: /bigobj \ // RUN: /cgthreads4 \ // RUN: /cgthreads8 \ +// RUN: /d2FastFail \ // RUN: /d2Zi+ \ // RUN: /errorReport:foo \ // RUN: /FC \ -- 2.40.0