It is hard to test the functionality for multiple platforms. Just test it on Linux as similar patches did in the past.
6 lines
269 B
C
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
|