Skip to content
This repository was archived by the owner on Apr 23, 2020. It is now read-only.

Commit 8c7ddf2

Browse files
committed
clang-cl: accept -fcrash-diagnostics-dir=
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@339424 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent d16966f commit 8c7ddf2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

include/clang/Driver/Options.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -802,7 +802,7 @@ def fconstexpr_backtrace_limit_EQ : Joined<["-"], "fconstexpr-backtrace-limit=">
802802
Group<f_Group>;
803803
def fno_crash_diagnostics : Flag<["-"], "fno-crash-diagnostics">, Group<f_clang_Group>, Flags<[NoArgumentUnused]>,
804804
HelpText<"Disable auto-generation of preprocessed source files and a script for reproduction during a clang crash">;
805-
def fcrash_diagnostics_dir : Joined<["-"], "fcrash-diagnostics-dir=">, Group<f_clang_Group>, Flags<[NoArgumentUnused]>;
805+
def fcrash_diagnostics_dir : Joined<["-"], "fcrash-diagnostics-dir=">, Group<f_clang_Group>, Flags<[NoArgumentUnused, CoreOption]>;
806806
def fcreate_profile : Flag<["-"], "fcreate-profile">, Group<f_Group>;
807807
def fcxx_exceptions: Flag<["-"], "fcxx-exceptions">, Group<f_Group>,
808808
HelpText<"Enable C++ exceptions">, Flags<[CC1Option]>;

test/Driver/cl-options.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,7 @@
577577
// RUN: %clang_cl \
578578
// RUN: --driver-mode=cl \
579579
// RUN: -fblocks \
580+
// RUN: -fcrash-diagnostics-dir=/foo \
580581
// RUN: -fno-blocks \
581582
// RUN: -fbuiltin \
582583
// RUN: -fno-builtin \

0 commit comments

Comments
 (0)