Files
clang-p2996/clang/test/Driver/crash-diagnostics-dir-2.c
Paul Robinson 04b3c8c52c Pass -fcrash-diagnostics-dir along to LLVM
This allows frontend and backend diagnostic files to all go into the
same place.  Have it control the Windows (mini-)dump location.

Differential Revision: https://reviews.llvm.org/D99199
2021-04-06 09:30:52 -07:00

6 lines
269 B
C

// RUN: %clang -### -fcrash-diagnostics-dir=mydumps -c %s 2>&1 \
// RUN: | FileCheck %s --check-prefix=OPTION
// OPTION: "-crash-diagnostics-dir=mydumps"
// RUN: %clang -### -c %s 2>&1 | FileCheck %s --check-prefix=NOOPTION
// NOOPTION-NOT: "-crash-diagnostics-dir