llvm-project/clang/test/Driver
Kevin Enderby 319baa4ed4 Change the clang driver with the use of -no-integrated-as for darwin to use
the -Q flag to the as(1) assembler driver.

We will soon be switching the darwin as(1) assembler driver to call clang(1)
and use the intergated assembler by default.  To do this and still support
clang(1)'s -no-integrated-as flag, when clang(1) runs the as(1) assembler
driver and -no-integrated-as is used it needs to pass the -Q flag to as(1)
so it uses its GNU based assembler, and not turn around and call clag(1)'s
integrated assembler. 

rdar://15495921

llvm-svn: 195054
2013-11-18 23:30:29 +00:00
..
Inputs Ignore test Inputs globally and remove redundant lit.local.cfg files 2013-11-15 13:37:49 +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 AArch64: Fix wildcard matching on CHECK lines. Now recognises arch64--. 2013-11-01 12:53:57 +00:00
aarch64-features.c Add support for AArch64 target. 2013-01-31 12:13:10 +00:00
aarch64-mfpu.c [AArch64] Add some CPU targets for "generic", A-53 and A-57. 2013-10-31 09:32:33 +00:00
altivec-asm.S Provide test case for commit r185544. 2013-07-03 18:21:12 +00:00
analyze.c rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
android-standalone.cpp Implement Adnroid MIPS toolchain support: 2012-10-03 17:46:38 +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 Automatic Reference Counting. 2011-06-15 23:02:42 +00:00
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 Fix gnueeabi typo in tests 2013-09-02 14:11:33 +00:00
arm-cortex-cpus.c Teach clang driver about Cortex-A53 and Cortex-A57. 2013-10-24 18:32:36 +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 Add the __ARM_ARCH_EXT_IDIV__ predefine. It is set to 1 if we have hardware divide in the mode that we are compiling in (depending on the target features), not defined if we don't. Should be compatible with the GCC conterpart. Also adding a -hwdiv option to overide the default behavior. 2013-10-21 10:54:53 +00:00
arm-mfpu.c ARM: Add -m[no-]crc to dis/enable CRC subtargetfeature from clang 2013-10-29 09:47:51 +00:00
arm-restrict-it.c Add test case for r194593 2013-11-13 21:40:17 +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 Add -fsanitize=<sanitizers> argument to driver and frontend, and add 2012-11-05 22:04:41 +00:00
ast.c rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
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
autolink_integrated_as.c [Modules] Convert module specific -fno-modules-autolink into -fno-autolink. 2013-04-16 18:21:19 +00:00
bindings.c Remove the -ccc-no-clang option. 2012-10-31 01:21:20 +00:00
bitrig.c Handle -pthread, -pg and -shared correctly on bitrig. 2012-10-23 17:07:31 +00:00
bounds-checking.c Split -fsanitize=bounds to -fsanitize=array-bounds (for the frontend-inserted 2013-10-22 22:51:04 +00:00
cc-log-diagnostics.c rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
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 rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
cfi.c rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
cl-fallback.c clang-cl: pass /FI options to fallback 2013-09-27 17:54:18 +00:00
cl-inputs.c Remove Windows line-endings in two clang-cl test files. 2013-09-10 20:35:58 +00:00
cl-link.c Fix the ASan dll_thunk path 2013-09-11 11:45:31 +00:00
cl-options.c clang-cl: Make the driver parse all(?) msvc flags 2013-11-15 18:29:58 +00:00
cl-outputs.c clang-cl: diagnose setting asm listing filename with multiple inputs 2013-10-18 22:49:04 +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 clang-cl: use -fdiagnostics-format=msvc by default 2013-09-10 01:07:07 +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 Update testing cases to check dwarf-2 for Darwin. 2013-07-03 20:45:07 +00:00
clang-translation.c X86: Make specifying avx2 simpler on Darwin with '-arch' 2013-11-16 00:53:35 +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 Remove period at end of "optimization level is unsupported" diagnostic 2013-11-18 22:10:17 +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
color-diagnostics.c Add -fansi-escape-codes option 2013-09-11 00:38:02 +00:00
constructors.c Fix the '-fuse-init-array' option to actually be an option. 2012-11-21 23:40:23 +00:00
coverage-ld.c clang/test/Driver/coverage-ld.c: Tweak expressions to match dosish pathsep on win32 hosts. 2013-06-24 13:19:20 +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 Use -Xclang to pass -internal-isystem and -internal-externc-isystem to -cc1. 2013-09-25 15:47:05 +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 Change the clang driver with the use of -no-integrated-as for darwin to use 2013-11-18 23:30:29 +00:00
darwin-asan-nofortify.c Add -fsanitize=<sanitizers> argument to driver and frontend, and add 2012-11-05 22:04:41 +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 Replace 'grep foo | count 0' with 'not grep foo'. 2013-07-04 15:22:16 +00:00
darwin-eabi.c ARM-Darwin: Use the *-*-darwin-eabi triple for v6m & v7m archs 2013-10-24 10:48:50 +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 Only use the Darwin linker's -export_dynamic option with supported versions. 2013-08-02 22:25:34 +00:00
darwin-objc-defaults.m ObjectiveC driver. Scrap -fno-objc-legacy-dispatch for NeXT 2013-10-15 17:16:30 +00:00
darwin-objc-gc.m rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
darwin-objc-options.m Fix FileCheck --check-prefix lines. 2013-08-12 12:51:05 +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 Replace 'grep foo | count 0' with 'not grep foo'. 2013-07-04 15:22:16 +00:00
darwin-version.c rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
darwin-xarch.c rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
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 Add support for -ggnu-pubnames matching the llvm support. 2013-09-13 22:37:55 +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 rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
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
dwarf2-cfi-asm.c Implement -fno-dwarf2-cfi-asm on linux too. 2012-03-08 14:39:55 +00:00
dyld-prefix.c clang/test/Driver/dyld-prefix.c: Exclude MSYS bash. 2013-05-28 12:18:56 +00:00
exceptions.m rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
fast-math.c Fix a logic bug in the handling of -fmath-errno in the driver. We would 2013-05-18 20:47:36 +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] Add two new aliases for MIPS ABI names 32 (means o32 abi) and 64 2013-02-27 14:55:49 +00:00
freebsd.c Add test for r194350. 2013-11-11 18:24:28 +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 SanitizerArgs: add ability to filter/diagnose unsupported sanitizers. 2013-11-01 18:16:25 +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 clang/Driver: [PR12920] Don't forward any -W arguments to gcc-as and gcc-ld. 2013-08-19 11:51:51 +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 Refactor the x86 CPU name logic in the driver and pass -march and -mcpu 2013-01-13 11:46:33 +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
index-header-map.c Introduce the "-index-header-map" option, to give special semantics 2011-07-28 04:45:53 +00:00
inhibit-downstream-commands.c Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
integrated-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
integrated-as.s Pass -Wa,-I and -Xassembler -I args to integrated assembler 2013-11-14 22:52:58 +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
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 clang/test/Driver/linker-opts.c: Fix XFAIL that I removed win32. 2012-12-11 07:23:52 +00:00
linux-as.c Set appropriate FPU default for Linux on v8 2013-10-24 18:32:41 +00:00
linux-header-search.cpp Teach the Linux toolchain about more modern Gentoo installations of GCC 2013-08-26 08:59:53 +00:00
linux-ld.c Teach the driver to not try to use 'lib32' multilib spellings on ARM 2013-10-29 10:27:30 +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
mg.c Implement -MG. Fixes PR9613 2011-07-12 19:35:15 +00:00
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 [Mips] Support -mnan=2008 option. Define "__mips_nan2008" macros and pass 2013-09-24 09:09:16 +00:00
mips-cs-header-search.cpp Update two options to my proposed syntax for user-facing driver options: 2013-06-20 09:42:40 +00:00
mips-cs-ld.c Separate construction of bi-arch path suffix from construction of 2013-09-28 13:45:11 +00:00
mips-eleb.c Add "-no-canonical-prefixes" to a test case. 2013-04-25 01:17:23 +00:00
mips-features.c [mips] Added -mfp64 and -mfp32 options. 2013-10-17 14:55:58 +00:00
mips-float.c Centralize the handling of -target-feature. 2013-08-21 16:39:20 +00:00
mips-fsf.cpp [Mips] Support FSF Mips toolchain directories tree in the Clang driver. 2013-10-10 07:57:44 +00:00
mipsel-nacl-defines.cpp [Mips] Allocate NaClTargetInfo for MIPSEL NaCl 2013-09-21 01:27:01 +00:00
mno-global-merge.c rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
modules.m [Modules] Convert module specific -fno-modules-autolink into -fno-autolink. 2013-04-16 18:21:19 +00:00
modules.mm In the driver, -fmodules enables modules for C/Objective-C but one 2012-01-18 15:19:58 +00:00
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 clang/test/Driver/netbsd.c*: Tweak path separators to be matched on win32 driver. 2013-10-15 06:36:47 +00:00
netbsd.cpp clang/test/Driver/netbsd.c*: Tweak path separators to be matched on win32 driver. 2013-10-15 06:36:47 +00:00
no-integrated-as-win.c [Driver] Don't forward source file input args to gcc 2013-06-19 15:09:06 +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 Add support for -fno-optimize-sibling-calls. Currently only implemented in the 2012-01-23 08:29:12 +00:00
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 Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
nostdlib.c rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
nostdlibinc.c rename -ccc-host-triple into -target 2012-01-20 22:01:23 +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 Correct OpenBSD profiling test 2013-01-07 23:55:47 +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
phases.c rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
pic.c Revert r191947. The problem is not MIPS-specific and requires more 2013-10-04 11:46:54 +00:00
ppc-features.cpp Add minimal command line support for the VSX powerpc processor. 2013-10-16 20:40:13 +00:00
prefixed-tools.c Revert part of r148839 and keep DefaultTargetTriple in the form adjusted 2012-02-22 19:15:16 +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 Use a valid option (-msse) for testing QA_OVERRIDE_GCC3_OPTIONS. 2013-09-24 13:37:21 +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 rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
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
sanitizer-ld.c Revert r193022 and r193048. They broke the ubsan test suite. 2013-10-20 21:29:13 +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 Default to PIE and using stack protection on OpenBSD. 2013-06-05 04:28:55 +00:00
stackrealign.c Stack realignment is a tristate. Add -mno-stackrealign to turn off all stack 2011-12-06 03:33:03 +00:00
std.c
std.cpp Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
sysroot-flags.c rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
sysroot.c rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
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 Update test case for new default of 3.0 2012-05-09 18:23:04 +00:00
target.c Update two options to my proposed syntax for user-facing driver options: 2013-06-20 09:42:40 +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 redundant comparison in gcc::Common::ConstructJob. 2013-03-20 07:34:27 +00:00
visibility.cpp Add support for -fvisibility-ms-compat. 2013-02-19 01:57:35 +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
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
xcore-opts.c XCore target has -fno-use-cxa-atexit as default. 2013-11-12 10:09:22 +00:00