diff options
| author | Chad Rosier <mcrosier@apple.com> | 2012-07-25 18:38:57 +0000 |
|---|---|---|
| committer | Chad Rosier <mcrosier@apple.com> | 2012-07-25 18:38:57 +0000 |
| commit | 7a42ff546a2c1b52d927ca50fe4f1b06445ef321 (patch) | |
| tree | e1740efeab7e99145869f918c26a044f33675079 /clang/test/Driver | |
| parent | cc1dc6dc11812839e9651f37be53f95146592b50 (diff) | |
| download | bcm5719-llvm-7a42ff546a2c1b52d927ca50fe4f1b06445ef321.tar.gz bcm5719-llvm-7a42ff546a2c1b52d927ca50fe4f1b06445ef321.zip | |
[driver crash diagnostics] Strip -idirafter, -iprefix, -iwithprefix,
-iwithprefixbefore, and -isystem options, per Matt's suggestion.
rdar://11949066
llvm-svn: 160750
Diffstat (limited to 'clang/test/Driver')
| -rw-r--r-- | clang/test/Driver/crash-report.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/clang/test/Driver/crash-report.c b/clang/test/Driver/crash-report.c index fd45f48ccd5..7c7d3ab0abd 100644 --- a/clang/test/Driver/crash-report.c +++ b/clang/test/Driver/crash-report.c @@ -1,7 +1,9 @@ // RUN: rm -rf %t // RUN: mkdir %t // RUN: env TMPDIR=%t TEMP=%t TMP=%t %clang -fsyntax-only %s \ -// RUN: -F/tmp/ -I /tmp/ -iquote /tmp/ -DFOO=BAR 2>&1 | FileCheck %s +// RUN: -F/tmp/ -I /tmp/ -idirafter /tmp/ -iquote /tmp/ -isystem /tmp/ \ +// RUN: -iprefix /the/prefix -iwithprefix /tmp -iwithprefixbefore /tmp/ \ +// RUN: -DFOO=BAR 2>&1 | FileCheck %s // RUN: cat %t/crash-report-*.c | FileCheck --check-prefix=CHECKSRC %s // RUN: cat %t/crash-report-*.sh | FileCheck --check-prefix=CHECKSH %s // REQUIRES: crash-recovery @@ -14,4 +16,9 @@ FOO // CHECKSH: -D "FOO=BAR" // CHECKSH-NOT: -F/tmp/ // CHECKSH-NOT: -I /tmp/ +// CHECKSH-NOT: -idirafter /tmp/ // CHECKSH-NOT: -iquote /tmp/ +// CHECKSH-NOT: -isystem /tmp/ +// CHECKSH-NOT: -iprefix /the/prefix +// CHECKSH-NOT: -iwithprefix /tmp/ +// CHECKSH-NOT: -iwithprefixbefore /tmp/ |

