r191379 - Use -Xclang to pass -internal-isystem and -internal-externc-isystem to -cc1.
Rafael Espindola
rafael.espindola at gmail.com
Wed Sep 25 08:47:05 PDT 2013
Author: rafael
Date: Wed Sep 25 10:47:05 2013
New Revision: 191379
URL: http://llvm.org/viewvc/llvm-project?rev=191379&view=rev
Log:
Use -Xclang to pass -internal-isystem and -internal-externc-isystem to -cc1.
They are cc1 options only, so the driver was ignoring them.
Modified:
cfe/trunk/test/Driver/crash-report.c
Modified: cfe/trunk/test/Driver/crash-report.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/crash-report.c?rev=191379&r1=191378&r2=191379&view=diff
==============================================================================
--- cfe/trunk/test/Driver/crash-report.c (original)
+++ cfe/trunk/test/Driver/crash-report.c Wed Sep 25 10:47:05 2013
@@ -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
More information about the cfe-commits
mailing list