llvm-project/clang/test/Driver
Hans Wennborg 8f00837110 clang-cl: accept the /C option with /P (PR19978)
(It's also allowed with /EP, but we haven't implemented that option yet.)

llvm-svn: 210695
2014-06-11 19:44:53 +00:00
..
Inputs [Driver] Do not lose already detected set of toolchain's multilibs while 2014-05-12 07:37:51 +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 Driver: Forward -Wl, and -Xlink arguments when using windows linker 2013-08-14 01:24:35 +00:00
aarch64-cpus.c [ARM64] Teach Targets.cpp about Cortex-A53 and Cortex-A57, and enable more tests. 2014-04-17 12:51:28 +00:00
aarch64-features.c [ARM64] Plumb in the -mfpu= flag. 2014-04-16 15:33:56 +00:00
aarch64-mfpu.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 Provide test case for commit r185544. 2013-07-03 18:21:12 +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 [driver] -mkernel implies -mstrict-align; don't add the redundant option. 2012-11-29 00:42:06 +00:00
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 Don't complain about -fobjc-link-runtime being unused with -fobjc-arc. 2012-08-07 19:58:00 +00:00
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 Remove the -ccc-no-clang option. 2012-10-31 01:21:20 +00:00
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: add -m{,no-}long-calls support 2014-06-07 19:32:38 +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 Make the integrated assembler the default for cygwin/mingw too. 2013-11-25 18:50:53 +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-fallback.c clang-cl: Fall back immediately if /GR and /fallback were both passed 2014-05-14 16:03:05 +00:00
cl-inputs.c clang-cl: Better error message when trying to compile stdin (PR18640) 2014-01-29 01:04:40 +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: accept the /C option with /P (PR19978) 2014-06-11 19:44:53 +00:00
cl-outputs.c clang-cl: Support /P and /E (preprocess to file or stdout) 2013-12-20 18:40:46 +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.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 Revert "Debug info: Make DWARF4 the default for Darwin, too." 2014-02-17 17:40:52 +00:00
clang-translation.c Use the new Windows environment for target detection 2014-03-27 22:50:18 +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 [driver] Enable the slp vectorizer at -Oz. 2014-05-02 18:41:57 +00:00
clang_f_opts.h No longer emitting a PCH file when using -fsyntax-only on a header file. Fixes PR13343. 2012-07-31 01:21:00 +00:00
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 [driver] Older versions of ld expect '-L<dir>' not '-L <dir>'. In Xcode4 and 2012-10-30 21:42:09 +00:00
cpp-precomp.c [driver] Put -cpp-precomp and -no-cpp-precomp under the clang_ignored_f_group. 2012-03-26 23:36:04 +00:00
crash-report.c When Driver::generateCompilationDiagnostics is filtering the list of 2014-04-28 22:24:44 +00:00
cross-linux.c Revert "Support cross linking to arm on ubuntu." 2013-10-28 23:14:34 +00:00
darwin-arch-default.c Driver/Darwin: The -arch argument values aren't exactly the arch names from a 2012-11-08 03:38:26 +00:00
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 Driver: Support -gmlt as an alias for -gline-tables-only 2014-03-11 21:05:26 +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 Remove trailing whitespace (especially after a \ which should be trailing) 2012-03-14 01:23:41 +00:00
dragonfly.c Flail at trying to appease various linuxy buildbots. 2013-04-11 23:25:27 +00:00
dyld-prefix.c clang/test/Driver/dyld-prefix.c: Exclude MSYS bash. 2013-05-28 12:18:56 +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 [Mips] Change default CPU for MIPS 32/64 targets. Now they are mips32r2/mips64r2 respectively. 2014-01-27 13:59:04 +00:00
freebsd.c Pass the sparc architecture variant to the assembler. 2014-02-25 18:45:49 +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 Kill deprecated -fbounds-checking flag 2014-03-21 07:15:47 +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
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 Don't use the gcc driver for assembling. 2013-11-23 16:40:57 +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 Rename the GCC Objective-C runtime to gcc from gnu-fragile and the GNUstep 2012-07-03 20:49:52 +00:00
gold-lto.c Pass -pie to linker when generating executable on Android 2014-04-29 10:25:20 +00:00
hexagon-toolchain-elf.c Fix option spelling. 2013-10-27 14:11:19 +00:00
hexagon-toolchain.c Fix option spelling. 2013-10-27 14:11:19 +00:00
ident_md.c Emit a .ident saying that clang produced this file. 2013-10-16 19:28:50 +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 Remove old driver code to grab the iOS simulator version from the -D option. 2012-11-09 01:59:30 +00:00
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 [Driver] Do not lose already detected set of toolchain's multilibs while 2014-05-12 07:37:51 +00:00
linux-ld.c Fix driver warning about -pthread on Android. 2014-06-05 11:41:39 +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 [Mips] Convert a GNU style Mips ABI name to the name accepted by LLVM 2013-04-21 13:30:10 +00:00
mips-as.c test: fix MIPS driver tests 2014-02-22 23:37:54 +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] Change default CPU for MIPS 32/64 targets. Now they are mips32r2/mips64r2 respectively. 2014-01-27 13:59:04 +00:00
mips-features.c [mips] Pass nan2008 info to the back-end. 2014-05-07 16:16:07 +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 [Mips] Reduce number of FileCheck variables used in the tests. 2013-11-26 11:57:53 +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 [driver, ms-inline asm] MS-Style inline assembly is controlled by the 2012-12-05 21:08:21 +00:00
msvc_forward.c [VS Toolchain] Correctly forward -l linker inputs to link.exe. 2012-06-18 16:56:04 +00:00
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 Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
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 Insulate this test from the whims of the random number generator. 2012-12-21 22:43:20 +00:00
noexecstack.c Use -target instead of triple and use FileCheck. 2013-10-27 13:59:51 +00:00
noinline.c [frontend] Fix how the frontend handles -fno-inline. AFAIK clang now matches 2012-03-15 22:31:42 +00:00
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 Add support for OpenBSD SPARC assembler. 2014-02-28 01:55:21 +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 Android uses -fpic for arm64 as well. 2014-04-30 12:18:12 +00:00
ppc-features.cpp Update the parameters passed to the assembler and linker for 2014-03-24 17:10:37 +00:00
prefixed-tools.c Revert part of r148839 and keep DefaultTargetTriple in the form adjusted 2012-02-22 19:15:16 +00:00
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 [driver] In general, the driver claims redundant args and uses the last arg. 2012-04-07 00:01:31 +00:00
redzone.c
retain-comments-from-system-headers.c Add tests for r163778. 2012-09-13 17:25:51 +00:00
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 Fix driver warning about -shared-libasan on Android. 2014-06-05 11:14:00 +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
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 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +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 clang/test/Driver: Introduce the feature "clang-driver", set if gcc driver is not used. 2012-12-11 07:06:09 +00:00
windows-arm-minimal-arch.c Driver: add target definition for Windows on ARM 2014-04-04 20:31:19 +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 [driver] Before applying the working directory check if the input path 2012-10-26 20:09:24 +00:00
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