Skip to content

Commit

Permalink
Use -Xclang to pass -internal-isystem and -internal-externc-isystem t…
Browse files Browse the repository at this point in the history
…o -cc1.

They are cc1 options only, so the driver was ignoring them.

llvm-svn: 191379
  • Loading branch information
espindola committed Sep 25, 2013
1 parent bb82b84 commit cbbe1d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion clang/test/Driver/crash-report.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
// RUN: not env TMPDIR=%t TEMP=%t TMP=%t RC_DEBUG_OPTIONS=1 %clang -fsyntax-only %s \
// RUN: -F/tmp/ -I /tmp/ -idirafter /tmp/ -iquote /tmp/ -isystem /tmp/ \
// RUN: -iprefix /the/prefix -iwithprefix /tmp -iwithprefixbefore /tmp/ \
// RUN: -internal-isystem /tmp/ -internal-externc-isystem /tmp/ \
// RUN: -Xclang -internal-isystem -Xclang /tmp/ \
// RUN: -Xclang -internal-externc-isystem -Xclang /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
Expand Down

0 comments on commit cbbe1d4

Please sign in to comment.