hanchenye-llvm-project/clang/test/Driver
Hans Wennborg 8858a03e2f clang-cl: ignore /showIncludes when combined with /E (PR20336)
Both /showIncludes and /E write to stdout. Allowing both results
in interleaved output and an error when double-closing the file
descriptor, intended to catch issues like this.

llvm-svn: 213589
2014-07-21 23:42:07 +00:00
..
Inputs Add a test for wildcard expansion on Windows 2014-07-16 00:55:31 +00:00
B-opt.c Accept both / and \\ to fix the windows bots. 2013-06-24 22:07:15 +00:00
O.c Options: Use AliasArgs for -O -> -O2 translation. 2013-08-01 16:21:57 +00:00
Ofast.c [driver] Test that last option wins between -Ofast and -O2. 2013-04-24 18:43:57 +00:00
Wp-args.c Fix option typo. 2013-10-27 14:46:16 +00:00
Xarch.c Replace 'grep foo | count 0' with 'not grep foo'. 2013-07-04 15:22:16 +00:00
Xlinker-args.c Typically linker options are protected with -Xlinker or -Wl, 2014-07-16 21:16:16 +00:00
aarch64-cpus.c [AArch64] Implement Clang CLI interface proposal about "-march". 2014-07-18 07:03:22 +00:00
aarch64-features.c [ARM64] Plumb in the -mfpu= flag. 2014-04-16 15:33:56 +00:00
aarch64-mgeneral_regs_only.c [ARM64] Plumb in the -mfpu= flag. 2014-04-16 15:33:56 +00:00
altivec-asm.S [PPC64LE] Run some existing Altivec tests on powerpc64le as well 2014-06-13 18:30:06 +00:00
analyze.c
android-standalone.cpp [ARM64] Port remaining relevant AArch64 clang tests over to ARM64 2014-04-30 10:52:05 +00:00
apple-kext-mkernel.c
arc-exceptions.m
arc.c Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
arch.c Add support for passing '-target armv8' through the Driver. 2013-06-26 17:19:48 +00:00
arclite-link.c
arm-alignment.c AArch64/ARM64: rename ARM64 components to AArch64 2014-05-24 12:52:07 +00:00
arm-arch-darwin.c Refactor duplicate functions 2013-12-12 13:27:11 +00:00
arm-cortex-cpus.c Simplify getARMCPUForMArch() and make it more consistent 2014-05-05 08:48:18 +00:00
arm-darwin-builtin.c
arm-fixed-r9.c Tests for ARM aligned access + reserved R9 2013-08-25 13:01:50 +00:00
arm-hwdiv.c ARM: be more flexible about how --mhwdiv is accepted. 2014-03-26 14:09:48 +00:00
arm-long-calls.c Driver: correct the backend option spelling 2014-06-18 16:52:24 +00:00
arm-mfpu.c Add support for FPv4-SP to the clang driver 2014-02-21 10:39:15 +00:00
arm-restrict-it.c Add test case for r194593 2013-11-13 21:40:17 +00:00
arm64-as.s [Driver][ARM64] Add a testcase for r206227. 2014-04-22 18:29:43 +00:00
arm64-darwinpcs.c ARM64: initial clang support commit. 2014-03-29 15:09:45 +00:00
armv8-crc.c ARM: Add -m[no-]crc to dis/enable CRC subtargetfeature from clang 2013-10-29 09:47:51 +00:00
asan.c Kill -faddress-sanitizer, -fthread-sanitizer and -fcatch-undefined-behavior flags. 2014-03-20 10:48:29 +00:00
ast.c
at_file.c Expand test/Driver/at_file.c test to check that PR16209 is fixed. 2013-07-23 17:26:56 +00:00
at_file.c.args Expand test/Driver/at_file.c test to check that PR16209 is fixed. 2013-07-23 17:26:56 +00:00
at_file.c.args.utf16le Expand test/Driver/at_file.c test to check that PR16209 is fixed. 2013-07-23 17:26:56 +00:00
at_file_missing.c test/Driver: Check that @ arguments that aren't files are handled 2013-12-06 22:57:13 +00:00
autolink_integrated_as.c [Modules] Convert module specific -fno-modules-autolink into -fno-autolink. 2013-04-16 18:21:19 +00:00
bindings.c Revert r211866, r211895 and r211995, "Driver: use GNU::Link for the Generic_GCC toolchain". It broke users of Generic_GCC, cygwin and mingw32. 2014-06-29 16:00:11 +00:00
bitrig.c Bitrig's standard C++ standard library changed from libstdc++ to libc++. 2014-05-01 23:24:24 +00:00
cc-log-diagnostics.c
cc-print-options.c
ccc-as-cpp.c Turn Driver::CCCIsCXX and CCCIsCPP into a single Mode enum, 2013-07-18 20:29:38 +00:00
ccc-host-triple-no-integrated-as.c
cl-eh.cpp clang-cl: Map /EHs- to -fno-exceptions 2014-06-27 17:02:02 +00:00
cl-fallback.c Driver: Handle /GR- in a compatible way with MSVC 2014-07-01 22:24:56 +00:00
cl-inputs.c Relax the cl-inputs.c test a little bit in case link.exe is on PATH 2014-06-18 21:34:36 +00:00
cl-link.c [ASan] Fixup for r208610: link in asan_cxx library on Windows 2014-05-12 20:20:20 +00:00
cl-options.c clang-cl: ignore /showIncludes when combined with /E (PR20336) 2014-07-21 23:42:07 +00:00
cl-outputs.c Add support for the /Fi argument to clang-cl (PR20036) 2014-06-17 00:19:12 +00:00
cl-runtime-flags.c clang-cl: Don't warn about overriding /MD with /MT, /Fo with another /Fo, etc. 2013-09-18 22:26:39 +00:00
cl-x86-flags.c Add the --target option to clang-cl and use it to fix a test. 2014-07-16 18:31:25 +00:00
cl.c Remove the -cxx-abi command-line flag. 2014-01-14 19:35:09 +00:00
claim-unused.c [driver] If we're just linking, don't report --param X as unused option. 2013-03-08 00:05:21 +00:00
clang-c-as-cxx.c
clang-exception-flags.cpp
clang-g-opts.c Missed a space at the end of the line. 2014-06-13 03:53:07 +00:00
clang-translation.c Add ppc64/power8 as a target 2014-06-26 13:34:10 +00:00
clang_cpp.c FileCheck-ify some clang grep tests that use double quotes 2013-04-10 21:10:39 +00:00
clang_f_opts.c Moved 25 flags to clang_ignored_gcc_optimization_f_Group. Will display a warning 2014-07-18 11:38:58 +00:00
clang_f_opts.h
clang_wrapv_opts.c
code-model.c Driver: parse -mcmodel earlier 2014-05-08 02:28:32 +00:00
color-diagnostics.c Add -fansi-escape-codes option 2013-09-11 00:38:02 +00:00
compress.c Fix up compression related test cases 2014-04-01 00:27:28 +00:00
constructors.c [ARM64] Add ARM64 RUN lines to a bunch of tests that had AARCH64 RUN lines. 2014-04-17 12:51:36 +00:00
coverage-ld.c Revert "Link in profile library on Linux using --whole-archive" 2014-03-28 17:53:17 +00:00
cpath.c
cpp-precomp.c
crash-report-modules.m Driver: Pass -ivfsoverlay to module crashdumps 2014-06-27 06:35:05 +00:00
crash-report.c Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]" 2014-07-16 15:12:48 +00:00
cross-linux.c [x32] Adding X32 target support to driver, including TargetInfo,DescriptionString, flags, paths lookup, etc. Cover changes with new tests. The author of the patch is Pavel Chupin (@pavel.v.chupin). 2014-07-10 15:27:19 +00:00
darwin-arch-default.c
darwin-as.c darwin asm driver: suppress -Q for -no-integrated-as on darwin<11 2013-12-10 22:51:25 +00:00
darwin-asan-nofortify.c Kill -faddress-sanitizer, -fthread-sanitizer and -fcatch-undefined-behavior flags. 2014-03-20 10:48:29 +00:00
darwin-debug-flags.c We want the dwarf AT_producer for assembly source files to match clang's 2013-01-17 21:38:06 +00:00
darwin-dsymutil.c Fix an assertion failure when invoking dsymutil. 2014-02-21 00:20:07 +00:00
darwin-embedded.c MachO embedded: default to soft float without issuing warning 2014-01-23 15:00:01 +00:00
darwin-iphone-defaults.m Add more of the command line options as attribute flags. 2013-02-28 22:49:57 +00:00
darwin-ld.c ARM64: initial clang support commit. 2014-03-29 15:09:45 +00:00
darwin-objc-defaults.m Objective-C driver. Do not use legacy dispatch for 2014-02-05 17:13:42 +00:00
darwin-objc-gc.m
darwin-objc-options.m Fix assertion failure left over from changes to move away from "darwin" triples. 2013-12-05 19:38:42 +00:00
darwin-sanitizer-ld.c [ASan] Fix darwin-sanitizer-ld.c for iossim, which seems to use -lc++ instead of -lstdc++. 2013-11-15 16:57:57 +00:00
darwin-sdkroot.c clang/test/Driver/darwin-sdkroot.c: Suppress this on msys bash, to introduce the feature "shell-preserves-root". 2013-01-16 06:10:16 +00:00
darwin-verify-debug.c Move -verify-pch to use VerifyJobAction 2014-02-06 18:53:25 +00:00
darwin-version.c
darwin-xarch.c
debug-comp-dir.S [driver] Implement the -fdebug-compilation-dir in a way that is compatible with 2013-04-26 20:49:50 +00:00
debug-main-file.S clang/test/Driver: Remove the feature "clang-driver" in three tests since they might work as expected since their first commit. 2013-08-20 12:16:35 +00:00
debug-options-as.c clang/test/Driver: Remove the feature "clang-driver" since gcc-as has not been used with -integrated-as since r177360. 2013-08-20 12:16:42 +00:00
debug-options.c Enable -gcolumn-info by default. 2014-07-10 23:29:28 +00:00
debug-unsupported.c Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
debug.c [driver] Implement the -fdebug-compilation-dir in a way that is compatible with 2013-04-26 20:49:50 +00:00
default-toolchain.c
diagnostics.c
dragonfly.c Flail at trying to appease various linuxy buildbots. 2013-04-11 23:25:27 +00:00
dyld-prefix.c [x32] Adding X32 target support to driver, including TargetInfo,DescriptionString, flags, paths lookup, etc. Cover changes with new tests. The author of the patch is Pavel Chupin (@pavel.v.chupin). 2014-07-10 15:27:19 +00:00
exceptions.m
fast-math.c Add a missing pipe in the test from r197896 2013-12-23 08:50:43 +00:00
fcomment-block-commands.c Comment parsing: add CommentOptions to allow specifying custom comment block commands 2013-02-22 14:21:27 +00:00
flags.c Add a new -mimplicit-float option for symmetry with -mno-implicit-float. 2013-04-11 18:53:25 +00:00
fpack-struct.c Fix FileCheck --check-prefix lines. 2013-08-12 12:51:05 +00:00
fparse-all-comments.c Add testcases for -fparse-all-comments 2013-04-10 16:31:58 +00:00
frame-pointer-elim.c Move this file into the correct directory. 2013-04-03 01:58:56 +00:00
frame-pointer.c [mips] Enable frame-pointer elimination for -O1 and above. 2013-10-16 17:13:08 +00:00
freebsd-mips-as.c [Driver][Mips] Fix test cases - make ABI name and target triple consistent. 2014-06-30 08:10:01 +00:00
freebsd.c Don't check clang binary name, as it can be different in some test setups. 2014-06-27 11:18:13 +00:00
freebsd.cc FreeBSD 10 ships with only libc++, make sure it's the default when compiling 2013-11-09 15:03:56 +00:00
fsanitize-blacklist.c Re-apply r188666 2013-08-19 13:59:22 +00:00
fsanitize.c Remove top-level Clang -fsanitize= flags for optional ASan features. 2014-06-13 17:53:44 +00:00
function-sections.c Fix handling of -fno-function-sections, -fno-data-sections in clang driver. 2014-02-03 11:11:37 +00:00
fuse-ld.c clang/test/Driver/fuse-ld.c: Really fix to match dos path. 2014-06-27 01:32:59 +00:00
gcc-toolchain.cpp Accept both / and \\ to fix the windows bots. 2013-06-24 22:07:15 +00:00
gcc-version-debug.c Relax testcase for r188400 to not test for forward-slashes as path separators. 2013-08-14 22:10:17 +00:00
gcc_forward.c Revert r211866, r211895 and r211995, "Driver: use GNU::Link for the Generic_GCC toolchain". It broke users of Generic_GCC, cygwin and mingw32. 2014-06-29 16:00:11 +00:00
gfortran.f90 Add support to the Clang driver for forwarding all of gfortran's flags 2013-10-17 03:28:24 +00:00
gnu-runtime.m
gold-lto.c Pass -pie to linker when generating executable on Android 2014-04-29 10:25:20 +00:00
hexagon-toolchain-elf.c Don't check clang binary name, as it can be different in some test setups. 2014-06-27 11:18:13 +00:00
hexagon-toolchain.c Don't check clang binary name, as it can be different in some test setups. 2014-06-27 11:18:13 +00:00
ident_md.c Improve robustness of tests for module flags metadata 2014-06-19 16:10:21 +00:00
immediate-options.c Turn Driver::CCCIsCXX and CCCIsCPP into a single Mode enum, 2013-07-18 20:29:38 +00:00
implicit-function-as-error.c ARM64: initial clang support commit. 2014-03-29 15:09:45 +00:00
index-header-map.c
inhibit-downstream-commands.c Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
instrprof-ld.c InstrProf: Look for the PIC-version of the profile runtime 2014-05-16 04:09:41 +00:00
integrated-as.c Remove unused diagnostic + dead test for it. 2014-03-31 16:55:01 +00:00
integrated-as.s Pass -gdwarf-N options to integrated assembler 2014-05-19 13:39:13 +00:00
ios-simulator-arcruntime.c
krait-cpu.c Added support for mcpu krait 2013-12-06 22:43:17 +00:00
le32-toolchain.c Pass -fno-math-builtin from the Clang driver to -cc1 for the l32 arch. 2013-07-24 18:20:14 +00:00
le32-unknown-nacl.cpp Convert another test to -###. 2013-07-23 15:57:21 +00:00
linker-opts.c LIBRARY_PATH environment variable should only be supported on a native compiler. 2013-12-17 11:11:25 +00:00
linux-as.c MIPS and SPARC assemblers both take the -KPIC flag. 2014-01-12 04:53:36 +00:00
linux-header-search.cpp [x32] Adding X32 target support to driver, including TargetInfo,DescriptionString, flags, paths lookup, etc. Cover changes with new tests. The author of the patch is Pavel Chupin (@pavel.v.chupin). 2014-07-10 15:27:19 +00:00
linux-ld.c Don't add -Bsymbolic by default on Android. 2014-07-16 08:46:35 +00:00
lit.local.cfg Move remaining %clang_cc1 tests out of test/Driver 2013-11-16 06:20:17 +00:00
lto.c Produce an error when trying to link with -emit-llvm. 2013-08-25 14:27:09 +00:00
m_and_mm.c Replace 'grep foo | count 0' with 'not grep foo'. 2013-07-04 15:22:16 +00:00
macho-embedded.c MachO: perform ARM ABI detection even for non-Darwin triples. 2014-05-22 12:54:30 +00:00
masm.c Make this test target independent. 2014-05-13 20:16:43 +00:00
mg.c
mips-abi.c [Driver][Mips] Support one more MIPS CPU name - octeon. 2014-07-04 12:37:04 +00:00
mips-as.c [mips] Correct the invocation of GAS in several cases. 2014-07-16 11:52:23 +00:00
mips-cs.cpp [Mips] Reduce number of FileCheck variables used in the tests. 2013-11-26 11:57:53 +00:00
mips-eleb.c [mips] Correct the invocation of GAS in several cases. 2014-07-16 11:52:23 +00:00
mips-features.c [mips] Add support for -mfpxx and -mno-fpxx. 2014-07-16 09:57:54 +00:00
mips-float.c [Mips] Do not adjust float-abi flags in case of MIPS16 mode. This code 2013-11-19 12:22:38 +00:00
mips-fsf.cpp [Driver][Mips] If CPU name is not provided to the driver explicitly use 2014-07-16 17:34:54 +00:00
mips-img.cpp [mips][mips64r6] Add support for mips-img-linux-gnu GCC toolchains 2014-07-10 14:40:57 +00:00
mips-integrated-as.s [mips] Pass the ABI to the integrated assembler and add tests the existing arguments. 2014-07-17 09:46:40 +00:00
mips-reduced-toolchain.cpp [Mips] Check all MIPS toolchains to find the one that best meets command 2014-03-04 18:37:28 +00:00
mipsel-nacl-defines.cpp [Mips] Allocate NaClTargetInfo for MIPSEL NaCl 2013-09-21 01:27:01 +00:00
mno-global-merge.c Make the -mno-global-merge option work for arm64/aarch64. rdar://17024719 2014-05-29 19:43:02 +00:00
modules.m Add an option -fmodules-validate-system-headers 2014-03-12 00:06:17 +00:00
modules.mm
montavista-gcc-toolchain.c Accept both / and \\ to fix the windows bots. 2013-06-24 22:07:15 +00:00
ms-inline-asm.c
msc-version.c Driver: bifurcate extended and basic MSC versioning 2014-07-16 03:13:50 +00:00
msvc_forward.c
netbsd.c Drop libgcc and default to libc++ for NetBSD/ARM on 6.99.40+. 2014-05-07 08:45:26 +00:00
netbsd.cpp Drop libgcc and default to libc++ for NetBSD/ARM on 6.99.40+. 2014-05-07 08:45:26 +00:00
no-integrated-as-win.c Tidy up the no-external-assembler diag 2013-11-22 08:27:46 +00:00
no-integrated-as.c clang: forward -no-integrated-as from the driver 2014-02-22 23:37:58 +00:00
no-objc-arr.m
no-objc-default-synthesize-properties.m Produce an error for unknown -f options. 2013-09-25 19:07:08 +00:00
no-sibling-calls.c
nodefaultlib.c
noexecstack.c Use -target instead of triple and use FileCheck. 2013-10-27 13:59:51 +00:00
noinline.c
nostdincxx.cpp check-clang: Introduce the feature "non-ms-sdk" to suppress Driver/nostdincxx.cpp on msvc. 2014-02-16 10:15:57 +00:00
nostdlib.c
nostdlibinc.c
nozlibcompress.c Fix up compression related test cases 2014-04-01 00:27:28 +00:00
objc++-cpp-output.mm Use -emit-llvm for the following tests to stop them from failing for Hexagon: 2013-04-16 15:55:41 +00:00
objc-cpp-output.m Use -emit-llvm for the following tests to stop them from failing for Hexagon: 2013-04-16 15:55:41 +00:00
openbsd.c Use the integrated assembler by default on OpenBSD/sparc. 2014-07-15 23:07:10 +00:00
option-aliases.c Use -### instead of -ccc-print-options. 2013-09-03 13:26:49 +00:00
output-file-cleanup.c [driver] Refactor the driver so that a failing commands doesn't prevent 2013-01-29 20:15:05 +00:00
output-file-is-dir.c Simplify test so that it is more portable. 2013-04-13 22:26:02 +00:00
pch-deps.c [Modules] Emit the module file paths as dependencies of the PCH when we are building one. 2014-03-14 03:07:38 +00:00
phases.c
pic.c Use appropriate default PIE settings for OpenBSD. 2014-06-24 19:51:29 +00:00
ppc-features.cpp Add ppc64/power8 as a target 2014-06-26 13:34:10 +00:00
prefixed-tools.c
preprocess-multiple.c Add driver test for multiple preprocessor inputs 2014-02-24 08:17:02 +00:00
preprocessor.c
pth.c clang/test/Driver/pth.c: Fix r184942, a regexp like "\\\\" is redundant here. Should be matched to single \ with '\\'. 2013-06-26 15:03:20 +00:00
qa_override.c Remove support for the QA_OVERRIDE_GCC3_OPTIONS environment variable. 2014-02-23 00:11:56 +00:00
r600-mcpu.cl R600: Add processor type for Hawaii 2013-11-14 23:45:53 +00:00
redundant-args.c
redzone.c
retain-comments-from-system-headers.c
rewrite-legacy-objc.m ObjectiveC. availability of Array/Dictionary subscripting 2013-11-12 20:50:26 +00:00
rewrite-objc.m ObjectiveC driver. Scrap -fno-objc-legacy-dispatch for NeXT 2013-10-15 17:16:30 +00:00
sanitize_unwind_tables.c Enable generation of unwind tables when building with sanitizers. 2014-02-14 08:56:25 +00:00
sanitizer-ld.c [UBSan] Don't link UBSan runtime into shared libraries. 2014-06-30 20:27:16 +00:00
save-temps.c [driver] Allow multiple -arch options with -save-temps by adding the arch name 2013-04-30 22:01:21 +00:00
sparc-float.c oops. correct the prefix. 2014-07-11 20:27:39 +00:00
split-debug.c If we're splitting the dwarf for fission and don't want to use the 2013-06-05 23:58:15 +00:00
split-debug.s For split dwarf we should also run the objcopy action if we're 2013-04-10 21:30:40 +00:00
stack-protector.c Test fixes and improvements. 2014-06-01 13:45:09 +00:00
stackrealign.c
std.c
std.cpp Add -std=c++1z flag for C++17 features. 2014-06-16 15:16:56 +00:00
sysroot-flags.c
sysroot.c
systemz-march.c Fix test to actually check things. 2013-07-19 17:49:21 +00:00
target-as.s clang/test/Driver: Remove the feature "clang-driver" in three tests since they might work as expected since their first commit. 2013-08-20 12:16:35 +00:00
target-triple-deployment.c ARM64: initial clang support commit. 2014-03-29 15:09:45 +00:00
target.c Don't use the gcc driver for assembling. 2013-11-23 16:40:57 +00:00
tsan.c SanitizerArgs: add ability to filter/diagnose unsupported sanitizers. 2013-11-01 18:16:25 +00:00
unknown-arg.c Produce an error for unknown -f options. 2013-09-25 19:07:08 +00:00
unknown-gcc-arch.c Fix broken RUN lines 2014-02-16 07:28:32 +00:00
verify_pch.m Add a CC1 option -verify-pch 2014-02-05 22:21:15 +00:00
vfsoverlay.c Add a driver option -ivfsoverlay 2014-02-25 18:23:47 +00:00
via-file-asm.c Fix via-file-asm test failure on windows 2013-12-10 00:54:30 +00:00
visibility.cpp Fix broken CHECK lines 2014-02-16 07:29:41 +00:00
warning-options.cpp Revert "Revert r166370 and r166540 now that Xcode 4.6 has been available for a while." 2013-03-12 20:00:34 +00:00
warning-options_pedantic.cpp
windows-arm-minimal-arch.c Driver: add target definition for Windows on ARM 2014-04-04 20:31:19 +00:00
windows-wildcard-expansion.c Expand the wildcard expansion test to also cover '?' 2014-07-16 16:14:09 +00:00
woa-restrict-it.c Driver: force restricted IT blocks for Windows on ARM 2014-05-18 06:42:02 +00:00
working-directory-and-abs.c
working-directory.c clang/test/Driver/working-directory.c: Exclude msys bash rather than tweaking expressions. 2013-09-04 09:37:12 +00:00
x86_64-nacl-defines.cpp Add missing quotes for -###. 2013-07-23 15:20:22 +00:00
x86_features.c Fix test. 2013-10-03 19:18:22 +00:00
x86_m16.c Add -m16 option for using x86-*-*-code16 triple 2014-01-21 17:19:44 +00:00
xcore-opts.c XCore target: fix handling of -g0 flag 2014-05-02 09:33:25 +00:00