hanchenye-llvm-project/clang/test/Driver
Artem Belevich 2325675143 [CUDA] Fixes minor cuda-related issues in the driver
* Only the last of the --cuda-host-only/--cuda-device-only options has effect.
* CudaHostAction always wraps host-side compilation now.
* Fixed printing of empty action lists.

Differential Revision: http://reviews.llvm.org/D12892

llvm-svn: 248297
2015-09-22 17:23:09 +00:00
..
Inputs [Shave]: Drive sparc-myriad-elf-ld directly rather than via gcc. 2015-09-17 19:56:40 +00:00
B-opt.c
O.c
Ofast.c
Wp-args.c
Xarch.c
Xlinker-args.c Handle '-r' option properly 2015-09-10 22:31:45 +00:00
aarch64-cpus.c Allow case-insensitive values for -mtune for AArch64 target in line with GCC. 2015-07-20 11:28:20 +00:00
aarch64-features.c
aarch64-fix-cortex-a53-835769.c
aarch64-fixed-x18.c [AArch64] Unconditionally pass subtarget feature reserve-x18 on Darwin. 2015-07-27 19:29:04 +00:00
aarch64-mgeneral_regs_only.c
altivec-asm.S
amdgpu-toolchain.c Relax the test to get it passing with windows paths. 2015-09-18 22:01:10 +00:00
analyze.c
android-standalone.cpp [Mips] Support mips-r6 path suffix for Adnroid MIPS toolchain 2015-02-25 07:31:12 +00:00
apple-kext-mkernel.c [Driver] Fix handling of -fbuiltin/-fcommon when combined with -mkernel 2015-08-10 11:11:28 +00:00
arc-exceptions.m
arc.c
arch.c
arclite-link.c
arm-abi.c Reinstate aapcs as the default arm abi. 2014-12-18 02:08:51 +00:00
arm-alignment.c [AArch64] Pass subtarget feature "+strict-align". 2015-07-29 14:25:58 +00:00
arm-arch-darwin.c
arm-cortex-cpus.c [ARM] Proper generic cpus handling 2015-08-19 14:50:18 +00:00
arm-darwin-builtin.c
arm-fixed-r9.c [ARM] Pass subtarget feature "+reserve-r9" instead of passing backend 2015-07-21 01:41:08 +00:00
arm-float-abi.c [ARM] Error out if float-ab=hard and abi=apcs-gnu on macho platforms. 2015-08-26 19:00:11 +00:00
arm-hwdiv.c
arm-ias-Wa.s [ARM] Implement -Wa,-mfpu and friends for assemblers 2015-07-27 23:44:45 +00:00
arm-long-calls.c [ARM] Pass subtarget feature "+long-calls" instead of passing backend option 2015-07-07 06:42:05 +00:00
arm-mfpu.c [ARM]: Extend -mfpu options for half-precision and vfpv3xd 2015-06-29 09:30:19 +00:00
arm-no-movt.c [ARM] Pass subtarget feature "+no-movt" instead of passing backend option 2015-07-16 00:43:00 +00:00
arm-restrict-it.c
arm64-as.s
arm64-darwinpcs.c
armv8-crc.c
as-options.s Pass -I options to integrates and external assemblers 2015-07-22 15:32:36 +00:00
asan.c [ASan] Initial support for Kernel AddressSanitizer 2015-06-19 12:19:07 +00:00
ast.c Reapply "Change -save-temps to emit unoptimized bitcode files." 2014-12-21 07:00:00 +00:00
at_file.c
at_file.c.args
at_file.c.args.utf16le
at_file_missing.c
autolink_integrated_as.c
biarch.c Fix test on Windows to accept both gcc and gcc.exe. 2015-08-20 20:37:58 +00:00
bindings.c Pedantically rename all Tool subclasses to be nouns, not verbs. NFC 2015-06-23 20:42:09 +00:00
bitrig.c
cc-log-diagnostics.c
cc-print-options.c
cc1-response-files.c
ccc-as-cpp.c
ccc-host-triple-no-integrated-as.c
cl-eh.cpp Erase REQUIRES: shell-preserves-root from more tests, see r242312. 2015-07-15 19:42:18 +00:00
cl-fallback.c [clang-cl] Only respect /Oy- for x86_32 2015-08-25 00:46:45 +00:00
cl-inputs.c Erase REQUIRES: shell-preserves-root from more tests, see r242312. 2015-07-15 19:42:18 +00:00
cl-link-at-file.c Erase REQUIRES: shell-preserves-root from remaining tests, see r242312.þ 2015-07-15 20:04:18 +00:00
cl-link.c Erase REQUIRES: shell-preserves-root from more tests, see r242312. 2015-07-15 19:42:18 +00:00
cl-options.c clang-cl: Don't warn on /bigobj flag 2015-09-18 20:49:33 +00:00
cl-outputs.c Erase REQUIRES: shell-preserves-root from remaining tests, see r242312.þ 2015-07-15 20:04:18 +00:00
cl-response-file.c Use the AddAllArgs overload which accepts an ArrayRef of OptSpecifier. 2015-07-29 18:39:14 +00:00
cl-runtime-flags.c [clang-cl] Implement support for the /Zl flag 2015-07-24 06:49:13 +00:00
cl-x86-flags.c Erase REQUIRES: shell-preserves-root from remaining tests, see r242312.þ 2015-07-15 20:04:18 +00:00
cl-zc.cpp Erase REQUIRES: shell-preserves-root from remaining tests, see r242312.þ 2015-07-15 20:04:18 +00:00
cl.c Erase REQUIRES: shell-preserves-root from more tests, see r242312. 2015-07-15 19:42:18 +00:00
claim-unused.c
clang-c-as-cxx.c
clang-exception-flags.cpp Added a test to check that exception flags are not passed by default on PS4. 2015-02-06 13:02:39 +00:00
clang-g-opts.c
clang-s-opts.s Remove -Werror from test. 2015-01-03 00:28:47 +00:00
clang-translation.c [Mips] Set mips64r6 as default CPU for MIPS64 Android 2015-07-17 12:57:30 +00:00
clang_cpp.c
clang_f_opts.c Add -fno-coverage-mapping flag. 2015-08-05 23:27:40 +00:00
clang_f_opts.h
clang_wrapv_opts.c
cloudabi.c Enable -ffunction-sections and -fdata-sections for CloudABI by default. 2015-03-26 17:50:28 +00:00
cloudabi.cpp Enable -ffunction-sections and -fdata-sections for CloudABI by default. 2015-03-26 17:50:28 +00:00
code-model.c
color-diagnostics.c
compress.c
constructors.c Fix clash of gcc toolchains in driver regression tests. 2015-01-05 17:07:42 +00:00
coverage-ld.c Fix coverage-ld.c on systems with an Android linker in $PATH 2015-03-25 20:17:20 +00:00
coverage_no_integrated_as.c Fix test running under mingw. 2015-07-26 04:09:41 +00:00
cpath.c
cpp-precomp.c
crash report spaces.c
crash-report-header.h Revert three tests enabled on r243236, they fail on clang-x86-win2008-selfhost. 2015-07-26 04:59:52 +00:00
crash-report-modules.m This test failed on ninja-x64-msvc-RA-centos6. 2015-07-26 05:15:24 +00:00
crash-report-null.test
crash-report.c Driver: Strip -header-include-file and -diagnostic-log-file from crash repro scripts 2015-08-05 23:49:44 +00:00
cross-linux.c
cuda-options.cu [CUDA] Fixes minor cuda-related issues in the driver 2015-09-22 17:23:09 +00:00
cuda-simple.cu Ensure that we still parse preprocessed CUDA files as CUDA when we use 2015-03-19 17:32:06 +00:00
darwin-arch-default.c
darwin-as.c
darwin-asan-nofortify.c
darwin-debug-flags.c Enable passing clang tests on Windows/MSYS. 2015-07-26 04:36:39 +00:00
darwin-dsymutil.c Pedantically rename all Tool subclasses to be nouns, not verbs. NFC 2015-06-23 20:42:09 +00:00
darwin-embedded.c
darwin-iphone-defaults.m
darwin-ld-demangle.c
darwin-ld.c -iframework option should be forwarded to linker 2015-02-06 18:08:29 +00:00
darwin-max-type-align.c
darwin-objc-defaults.m
darwin-objc-gc.m
darwin-objc-options.m
darwin-sanitizer-ld.c [UBSan] Use shared library for UBSan on OS X (Clang part). 2015-03-23 23:14:05 +00:00
darwin-sdkroot.c Actually requiring shell disables the test on Windows whereas 2015-07-15 18:55:39 +00:00
darwin-verify-debug.c Pedantically rename all Tool subclasses to be nouns, not verbs. NFC 2015-06-23 20:42:09 +00:00
darwin-version.c Report an error when -m<os>-version-min= does not specify a version. 2015-04-07 01:03:35 +00:00
darwin-xarch.c
debug-comp-dir.S Remove shell requirements from tests that use 'cd' 2015-03-02 22:42:58 +00:00
debug-main-file.S
debug-options-as.c
debug-options.c Add a -gmodules option to the driver and a -dwarf-ext-refs to cc1 2015-08-27 19:46:20 +00:00
debug-unsupported.c
debug.c Remove shell requirements from tests that use 'cd' 2015-03-02 22:42:58 +00:00
default-image-name.c Driver: tweak the code for determining default image name 2015-01-09 17:38:53 +00:00
default-toolchain.c
diagnostics.c
dragonfly.c
dyld-prefix.c Actually requiring shell disables the test on Windows whereas 2015-07-15 18:55:39 +00:00
env.c Enable passing clang tests on Windows/MSYS. 2015-07-26 04:36:39 +00:00
exceptions.m Revert "Driver: Objective-C should respect -fno-exceptions" 2014-12-09 00:12:30 +00:00
fast-math.c Process the -freciprocal-math optimization flag (PR20912) 2015-04-09 15:03:23 +00:00
fatal-warnings.c
fcomment-block-commands.c
flags.c
fopenmp.c [omp] Loosen the driver test enough so that overriding the defaults 2015-05-28 21:20:14 +00:00
fortran.f95 Reapply "Change -save-temps to emit unoptimized bitcode files." 2014-12-21 07:00:00 +00:00
fpack-struct.c
fparse-all-comments.c
frame-pointer-elim.c Fix a typo 2015-01-31 23:25:54 +00:00
frame-pointer.c
freebsd-mips-as.c
freebsd.c Use the integrated assembler by default on 32-bit PowerPC and SPARC. 2015-01-14 07:55:36 +00:00
freebsd.cpp Rename test.cc files to test.cpp. 2014-12-22 18:13:07 +00:00
fsanitize-blacklist.c Add -target flag to Clang invocations in this test. 2015-09-03 19:11:42 +00:00
fsanitize-coverage.c Add target flag to clang-cl invocation in this test. 2015-09-03 20:53:14 +00:00
fsanitize.c Driver: Support cfi-icall on all OSs when targeting x86/x86_64. 2015-09-10 19:18:05 +00:00
function-sections.c Make unique section names the default again. 2015-05-22 20:44:03 +00:00
fuse-ld.c Revert "broken test. uses system ld.gold" 2015-08-24 23:53:30 +00:00
fveclib.c Imply linker arguments from '-fveclib' option. 2015-03-17 22:13:05 +00:00
gcc-toolchain.cpp
gcc-version-debug.c Fix clash of gcc toolchains in driver regression tests. 2015-01-05 17:07:42 +00:00
gcc_forward.c Use the integrated assembler by default on 32-bit PowerPC and SPARC. 2015-01-14 07:55:36 +00:00
gfortran.f90 Fix regression in r227409 where we were passing -fsyntax-only 2015-01-30 18:22:23 +00:00
gnu-runtime.m
gold-lto.c Don't force -pie for Android. 2015-03-03 18:24:57 +00:00
hexagon-toolchain-elf.c Use the AddAllArgs overload which accepts an ArrayRef of OptSpecifier. 2015-07-29 18:39:14 +00:00
hexagon-toolchain.c Use the AddAllArgs overload which accepts an ArrayRef of OptSpecifier. 2015-07-29 18:39:14 +00:00
ident_md.c IR: Make metadata typeless in assembly, clang side 2014-12-15 19:10:08 +00:00
immediate-options.c
implicit-function-as-error.c Put ext_implicit_lib_function_decl in ImplicitFunctionDeclare. 2015-09-04 16:07:39 +00:00
index-header-map.c
inhibit-downstream-commands.c
inline-asm.c Adding option -fno-inline-asm to disallow inline asm 2015-01-16 23:05:28 +00:00
instrprof-ld.c Driver: Fix a -Wshadow issue from r237091 2015-05-12 06:30:48 +00:00
integrated-as.c
integrated-as.s Driver should forward at most one gdwarf-N flag to cc1as. 2015-09-14 20:31:28 +00:00
ios-simulator-arcruntime.c
ios-version-min.c Fix the test added in r240710. 2015-06-25 23:21:11 +00:00
krait-cpu.c Allow case-insensitive values for -mcpu for ARM 2015-06-04 17:56:32 +00:00
le32-toolchain.c
le32-unknown-nacl.cpp
le64-unknown-unknown.cpp
linker-opts.c
linux-as.c [Sparc] Add support for 'sparcel' to clang. 2015-05-11 15:21:44 +00:00
linux-header-search.cpp [SPARC] Add multiarch include paths. 2015-06-05 13:44:43 +00:00
linux-ld.c Fix CHECK directives that weren't checking. 2015-08-31 21:48:52 +00:00
lit.local.cfg Remove environment variables from driver tests 2015-06-24 19:30:36 +00:00
lto.c Fix default image name to 'a.exe' on Windows, instead 'a.out'. 2015-01-04 13:48:30 +00:00
m_and_mm.c
macho-embedded.c
masm.c
mg.c Port test/Driver/mg.c to use FileCheck instead of fgrep 2015-02-04 18:34:26 +00:00
mglobal-merge.c [Driver] Properly support -mglobal-merge using explicit options. 2015-04-11 00:10:44 +00:00
mingw-libgcc.c Teach mingw toolchain driver to properly emit static or dynamic linking of ligcc. 2015-08-09 00:24:07 +00:00
mingw.cpp Driver: Fix include directories when not using libgcc under mingw 2015-08-13 15:41:04 +00:00
mips-abi.c
mips-as.c [mips] Don't propagate -mfpxx by default if soft/single float were also set. 2015-06-16 13:54:13 +00:00
mips-cs.cpp
mips-eleb.c
mips-features.c [mips] Don't propagate -mfpxx by default if soft/single float were also set. 2015-06-16 13:54:13 +00:00
mips-float.c
mips-fsf.cpp [Mips] Handle -mips32r[3|5] / -mips64r[3|5] options while selecting lib/headers paths 2015-02-26 04:45:57 +00:00
mips-ias-Wa.s [mips] Added support for using the command line options -Wa,-msoft-float and -Wa,-mhard-float. 2015-09-22 13:52:32 +00:00
mips-img.cpp
mips-integrated-as.s [mips] Don't propagate -mfpxx by default if soft/single float were also set. 2015-06-16 13:54:13 +00:00
mips-reduced-toolchain.cpp Fix clash of gcc toolchains in driver regression tests. 2015-01-05 17:07:42 +00:00
mipsel-nacl-defines.cpp
modules-cache-path.m Make the default module cache user-specific 2015-02-03 19:28:37 +00:00
modules.m [modules] Don't load files specified by -fmodule-file= when modules are 2015-09-11 03:58:07 +00:00
modules.mm [modules] Rename -fmodule-maps to -fimplicit-module-maps (and likewise for 2015-06-16 00:20:23 +00:00
montavista-gcc-toolchain.c
mrecip.c add the -mrecip driver flag and process its options (3rd try) 2015-06-11 14:53:41 +00:00
msan.c Teach Clang about the PPC64 memory sanitizer implementation. 2015-06-25 10:35:19 +00:00
msc-version.c MS ABI: Implement driver-level support for thread-safe statics 2015-03-22 08:39:22 +00:00
msvc-link.c Fix msvc-link.c test for environments with link.exe on PATH 2015-03-05 02:26:58 +00:00
msvc-triple.c [Driver] Preserve the object file format in ComputeEffectiveClangTriple 2015-06-09 06:30:01 +00:00
msvc_forward.c
myriad-toolchain.c clang/test/Driver/myriad-toolchain.c: Tweak for DOSish path. 2015-09-18 01:02:50 +00:00
nacl-direct.c Change Native Client x86 usr include and link path to match SDK expectations 2015-08-26 17:14:08 +00:00
netbsd.c For the --be8 flag, check explicitly for pre-v7 / pre-v6m cores. 2015-01-28 23:30:39 +00:00
netbsd.cpp
no-canonical-prefixes.c Fix a tiny bug in -no-canonical-prefixes that somehow we have never 2015-08-05 17:07:33 +00:00
no-integrated-as-win.c
no-integrated-as.c
no-objc-arr.m
no-objc-default-synthesize-properties.m
no-sibling-calls.c
nodefaultlib.c
noexecstack.c
noinline.c
nostdincxx.cpp Special-case the PS4 SDK for a clang test 2015-01-30 18:25:59 +00:00
nostdlib.c
nostdlibinc.c
nozlibcompress.c
objc++-cpp-output.mm Add -fexceptions for targets where it isn't the default. 2015-03-02 19:11:53 +00:00
objc-cpp-output.m
objc-sdk-migration-options.m [SDK modernizer]. Patch fixes driver's lack of 2015-03-03 17:15:38 +00:00
openbsd.c The assembler is now enabled by default. 2015-01-14 08:23:49 +00:00
option-aliases.c
output-file-cleanup.c Remove shell requirements from tests that use 'cd' 2015-03-02 22:42:58 +00:00
output-file-is-dir.c
parse-progname.c
pch-deps.c Add option to switch off putting header modules into the dependency file. 2015-03-19 12:00:22 +00:00
phases.c Reapply "Change -save-temps to emit unoptimized bitcode files." 2014-12-21 07:00:00 +00:00
pic.c Stop treating -static as overriding -fPIC: they are distinct. 2015-08-21 04:14:55 +00:00
ppc-abi.c Refactor PPC ABI handling to accept and silently ignore -mabi=altivec. 2015-07-10 18:25:54 +00:00
ppc-dependent-options.cpp The test case still runs on non-ppc targets. Added -target triple. 2015-07-10 14:11:38 +00:00
ppc-endian.c [Driver] Use llvm::Triple methods to handle -EL and -EB. 2015-07-06 23:59:45 +00:00
ppc-features.cpp [OpenMP] Add TLS-based implementation for threadprivate directive. 2015-07-13 22:54:53 +00:00
prefixed-tools.c
preprocess-multiple.c
preprocessor.c
preserve-uselistorder.c uselistorder: -mllvm -preserve-bc-use-list-order => -emit-llvm-uselists 2015-04-15 01:16:18 +00:00
ps4-cpu-defaults.cpp Shuffle tests around to more appropriate files 2015-01-30 18:25:48 +00:00
pth.c
qa_override.c
r600-mcpu.cl R600: Add Volcanic Islands targets 2015-06-18 19:14:15 +00:00
redundant-args.c
redzone.c
response-file.c
retain-comments-from-system-headers.c
rewrite-legacy-objc.m Record function attribute "stackrealign" instead of using backend option 2015-09-11 18:55:09 +00:00
rewrite-map-in-diagnostics.c Revert three tests enabled on r243236, they fail on clang-x86-win2008-selfhost. 2015-07-26 04:59:52 +00:00
rewrite-objc.m Record function attribute "stackrealign" instead of using backend option 2015-09-11 18:55:09 +00:00
rtti-options.cpp [Sanitizers] Provide better diagnostic for sanitizers unsupported for target triple. 2015-06-19 21:36:47 +00:00
sanitize_unwind_tables.c
sanitizer-ld.c Revert r245344. 2015-08-20 21:47:16 +00:00
save-temps.c Fix -save-temp when using objc-arc, sanitizer and profiling 2015-07-17 20:09:56 +00:00
solaris-header-search.cpp [Solaris] Use the GCC Installation detector to add the C++ include paths. 2015-09-09 13:36:00 +00:00
solaris-ld.c [Solaris] Add -lc also when linking shared libraries 2015-09-14 19:30:53 +00:00
solaris-opts.c [Solaris] Default to -fno-cxa-finalize. 2015-09-14 23:21:31 +00:00
sparc-float.c [Sparc] Make soft-float emit an error. 2015-06-15 20:51:24 +00:00
split-debug.c Split DWARF: Allow -gmlt/-gsplit-dwarf to override rather than complement each other 2015-07-30 21:42:22 +00:00
split-debug.s
stack-protector.c
stackrealign.c clang/test/Driver/stackrealign.c REQUIRES clang-driver. 2015-09-12 01:29:35 +00:00
std.c Add driver flags -ftrigraphs, -fno-trigraphs. 2014-12-23 22:32:37 +00:00
std.cpp
symbol-rewriter.c Driver: begin threading frontend support for SymbolRewriter 2015-01-09 05:10:20 +00:00
sysroot-flags.c
sysroot.c
systemz-as.s
systemz-features.cpp [SystemZ] Add support for z13 and its vector facility 2015-05-05 19:35:52 +00:00
systemz-march.c
target-abi-cc1as.s Recommit "[IAS] Teach -cc1as about the 'target-abi' option." 2015-03-05 13:39:14 +00:00
target-as.s
target-triple-deployment.c
target.c Revert "Allow -target= and --target options" 2015-05-11 17:05:05 +00:00
thread-model.c [WebAssembly] Initial WebAssembly support in clang 2015-09-03 22:51:53 +00:00
tsan.c
unknown-arg.c
unknown-gcc-arch.c Use the integrated assembler by default on 32-bit PowerPC and SPARC. 2015-01-14 07:55:36 +00:00
verify_pch.m
vfsoverlay.c
via-file-asm.c
visibility.cpp
warning-options.cpp Re-apply "Revert r166370 and r166540 now that Xcode 4.6 has been available for a while." 2014-12-02 05:17:21 +00:00
warning-options_pedantic.cpp Fix tests so they work when the linker is gcc 2015-02-12 03:37:55 +00:00
wasm32-unknown-unknown.cpp [WebAssembly] Initial WebAssembly support in clang 2015-09-03 22:51:53 +00:00
wasm64-unknown-unknown.cpp [WebAssembly] Initial WebAssembly support in clang 2015-09-03 22:51:53 +00:00
windows-arm-minimal-arch.c [Driver] Inject the MSVC compatibility version into the triple 2015-06-08 00:22:46 +00:00
windows-cross.c Driver: use the canonical library prefix on Windows 2014-12-30 18:55:37 +00:00
windows-wildcard-expansion.c
woa-restrict-it.c
working-directory-and-abs.c
working-directory.c Erase REQUIRES: shell-preserves-root from remaining tests, see r242312.þ 2015-07-15 20:04:18 +00:00
x86-march.c Re-work the Clang system for classifying Intel x86 CPUs to use their 2014-12-09 14:50:25 +00:00
x86_64-nacl-defines.cpp
x86_features.c Make the msse4/mno-sse4 flags aliases of the maximum sse values 2015-03-25 22:09:26 +00:00
x86_m16.c
xcore-opts.c [xcore] Make the exceptions test actually check for the absence of -fexceptions in the proper place 2015-01-29 15:03:36 +00:00