hanchenye-llvm-project/clang/test/Driver
Rafael Espindola fc3fc0c936 The clang driver has a fairly fancy support for executing gcc instead of
clang itself. This dates back to clang's early days and while it looks like
some of it is still used (for kext for example), other parts are probably dead.

Remove the -ccc-clang-archs option and associated code. I don't think there
is any remaining setup where clang doesn't support an architecture but it can
expect an working gcc cross compiler to be available.

A nice side effect is that tests no longer need to differentiate architectures
that are included in production builds of clang and those that are not.

llvm-svn: 165545
2012-10-09 20:46:28 +00:00
..
Inputs Driver: Link crtfastmath.o if it's available and -ffast-math is specified. 2012-10-04 19:42:20 +00:00
Wp-args.c rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
Xarch.c rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
Xlinker-args.c Fix -Wl,--no-demangle to actually pass the flag to the linker on Linux instead 2012-08-17 03:39:16 +00:00
altivec.cpp The clang driver has a fairly fancy support for executing gcc instead of 2012-10-09 20:46:28 +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-i386.cpp [driver] Remove the -W[no-][int-conversion|constant-conversion|enum-conversion] 2012-10-09 19:43:33 +00:00
apple-kext-mkernel.c [driver] Testcase for r153469, r153470, and r153478. 2012-03-26 22:43:28 +00:00
arc-exceptions.m Automatic Reference Counting. 2011-06-15 23:02:42 +00:00
arc.c Tweak the ARC-requires-10.6 diagnostic according to Jordan's review. 2012-08-27 01:56:21 +00:00
arch.c rename -ccc-host-triple into -target 2012-01-20 22:01:23 +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-darwin-builtin.c rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
arm-mfpmath.c [driver] When using the -mfpmath= option, add an error message when trying to 2012-04-04 22:13:40 +00:00
arm-mfpu.c rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
asan-ld.c Fix a test failure. 2012-09-12 09:39:37 +00:00
asan.c Add a flag -fthread-sanitizer. 2012-03-01 22:27:08 +00:00
ast.c rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
at_file.c
at_file.c.args
bindings.c The clang driver has a fairly fancy support for executing gcc instead of 2012-10-09 20:46:28 +00:00
bitrig.c Make Bitrig's clang understand -stdlib= correctly. 2012-10-08 21:31:38 +00:00
bounds-checking.c add -fbounds-checking option. 2012-05-08 22:10:46 +00:00
cc-log-diagnostics.c rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
cc-print-options.c Add -no-canonical-prefixes to tests which assert on the name of the 2011-04-13 22:28:36 +00:00
ccc-add-args.c
ccc-as-cpp.c PR13529: Don't crash if the driver sees an unused input file when running as 2012-08-06 04:09:06 +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
clang-c-as-cxx.c
clang-exception-flags.cpp Add a test case that would have caught the bug fixed in r126640. 2011-02-28 07:38:09 +00:00
clang-g-opts.c Revert r155874. 2012-05-01 02:04:03 +00:00
clang-translation.c The clang driver has a fairly fancy support for executing gcc instead of 2012-10-09 20:46:28 +00:00
clang_cpp.c
clang_f_opts.c Rename -fms-inline-asm to -fenable-experimental-ms-inline-asm. 2012-07-20 23:12:26 +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 Add my test case for r128353. I think this is the last test case to fail 2011-03-27 21:03:41 +00:00
constructors.c Add a -fuse-init-array option to cc1 and map to the UseInitArray target 2012-06-19 01:26:10 +00:00
cpath.c test/Driver/cpath.c: Escape a few args that contain %{pathsep}. 2012-03-25 03:42:26 +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 [driver crash diagnostics] Strip -internal-isystem and -internal-externc-isystem. 2012-07-25 18:55:43 +00:00
darwin-as.c Update test for r151288 2012-02-23 22:12:53 +00:00
darwin-asan-nofortify.c Use an explicit target to test that source fortification is off when building for Darwin with -faddress-sanitizer. 2012-09-24 10:25:24 +00:00
darwin-cc.c rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
darwin-debug-flags.c rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
darwin-dsymutil.c rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
darwin-iphone-defaults.m rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
darwin-ld.c Fix test for r165028. It only generates that flag for source files now. 2012-10-02 18:07:59 +00:00
darwin-objc-defaults.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
darwin-objc-gc.m rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
darwin-objc-options.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
darwin-sdkroot.c darwin/driver: Support using SDKROOT to define the default for -isysroot. 2012-08-17 18:43:50 +00:00
darwin-verify-debug.c rename -ccc-host-triple into -target 2012-01-20 22:01:23 +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-options-as.c Test case Clang::Driver/debug-options-as.c depends on the integrated assembler. Turn it on explicitly on all platforms by the "-integrated-as" option. 2012-05-03 13:57:00 +00:00
debug-options.c Reduce temp file pollution in some test cases. 2012-08-03 10:35:06 +00:00
debug-unsupported.c Less restrictive check in unit test for unsupported debug info options 2012-06-21 13:30:54 +00:00
debug.c test/Driver/debug.c: Mark this as "REQUIRES: shell". 2011-10-22 11:28:32 +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 Make driver tests more resilient to output trees containing symlinks -- 2012-01-24 01:55:55 +00:00
dwarf2-cfi-asm.c Implement -fno-dwarf2-cfi-asm on linux too. 2012-03-08 14:39:55 +00:00
emit-llvm.c Use ld directly on linux. Changes from the previous try: 2010-11-07 20:14:31 +00:00
exceptions.m rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
fast-math.c [driver] Add support for the -fno-fast-math option. 2012-09-25 22:03:25 +00:00
flags.c Rename the driver option to -mno-implicit-float, per Eli's suggestion. 2012-05-16 21:19:55 +00:00
fpack-struct.c Fix forwarding of -fpack-struct from driver to CC1, and add a test. 2012-05-02 07:56:14 +00:00
frame-pointer.c rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
freebsd-mips-as.c Add four new command line options for MIPS CPU selection: 2012-09-21 20:19:32 +00:00
freebsd.c The clang driver has a fairly fancy support for executing gcc instead of 2012-10-09 20:46:28 +00:00
gcc-toolchain.cpp Skip testing the crtbegin.o, and resume using a single variable for the 2012-02-21 22:21:50 +00:00
gcc_forward.c The clang driver has a fairly fancy support for executing gcc instead of 2012-10-09 20:46:28 +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 Fix the testcase :-( 2012-04-10 00:13:42 +00:00
immediate-options.c
index-header-map.c Introduce the "-index-header-map" option, to give special semantics 2011-07-28 04:45:53 +00:00
invalid-o-level.c Invalid O levels on the command line no longer have a confusing error. 2012-02-06 00:40:31 +00:00
ios-simulator-arcruntime.c Force the OS X version to 10.6 for old-style simulator builds. 2012-07-19 01:35:55 +00:00
le32-unknown-nacl.cpp The clang driver has a fairly fancy support for executing gcc instead of 2012-10-09 20:46:28 +00:00
linker-opts.c XFAIL linker-opts.c on win32 now that it doesn't pretend that link.exe is ld. 2012-06-18 23:00:44 +00:00
linux-as.c Only pass -mcpu, -march, -mfpu to linux-as on ARM. 2012-04-24 09:05:31 +00:00
linux-header-search.cpp The clang driver has a fairly fancy support for executing gcc instead of 2012-10-09 20:46:28 +00:00
linux-ld.c The clang driver has a fairly fancy support for executing gcc instead of 2012-10-09 20:46:28 +00:00
lto.c
m_and_mm.c Driver: M and MM should be grouped together, <rdar://problem/8744831>. 2010-12-08 21:33:40 +00:00
mg.c Implement -MG. Fixes PR9613 2011-07-12 19:35:15 +00:00
mips-as.c Add four new command line options for MIPS CPU selection: 2012-09-21 20:19:32 +00:00
mips-features.c MIPS: Use -G option to specify MIPS section threshold. Translate it 2012-08-27 20:55:56 +00:00
mips-float.c The clang driver has a fairly fancy support for executing gcc instead of 2012-10-09 20:46:28 +00:00
mno-global-merge.c rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
modules.m Add a test for the driver-level -fmodules/-fno-modules flags. 2012-01-03 21:04:31 +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 supply a simple-minded testcase for r156813, to check whether the embedded montavista gcc toolchain is recognized 2012-05-30 09:56:26 +00:00
msvc_forward.c [VS Toolchain] Correctly forward -l linker inputs to link.exe. 2012-06-18 16:56:04 +00:00
no-objc-arr.m [driver] Parse diagnostic args in the driver. 2012-03-13 20:09:56 +00:00
no-objc-default-synthesize-properties.m objective-c: remove -fobjc-default-synthesize-properties from the driver. 2012-04-09 18:58:55 +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 Teach the driver on Linux to respect -nodefaultlibs. 2012-05-14 18:31:18 +00:00
noexecstack.c Fix this test on machines that don't run clang -cc1as when asked to assemble. 2011-06-23 05:38:06 +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
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 clang/test: [PR13820] Suppress LLP64-incompatible tests for ObjC with +Asserts. 2012-09-12 14:26:42 +00:00
objc-cpp-output.m clang/test: [PR13820] Suppress LLP64-incompatible tests for ObjC with +Asserts. 2012-09-12 14:26:42 +00:00
openbsd.c The clang driver has a fairly fancy support for executing gcc instead of 2012-10-09 20:46:28 +00:00
option-aliases.c
output-file-cleanup.c Un-XFAIL this test on Darwin, it reportedly passes now. 2011-11-21 21:56:51 +00:00
parsing.c Remove extraneous whitespace. 2012-01-31 21:45:04 +00:00
phases.c rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
pic.c Specify a full target in an attempt to appease buildbots. 2012-09-30 00:58:28 +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 Make driver tests more resilient to output trees containing symlinks -- 2012-01-24 01:55:55 +00:00
qa_override.c
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 Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-objc.m Modern objcective-C translator. When doing rewriting, Do not 2012-09-28 19:05:17 +00:00
stack-protector.c [driver] Add support for the --param ssp-buffer-size= driver option. 2012-08-21 16:16:06 +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 support for -std=gnu90 and -std=c++03, for compatibility with modern gcc. 2011-10-14 00:34:28 +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
target-triple-deployment.c Update test case for new default of 3.0 2012-05-09 18:23:04 +00:00
target.c test/Driver/target.c: Relax expression for "gcc.exe" on win32. 2012-02-01 15:16:22 +00:00
tsan.c Add a flag -fthread-sanitizer. 2012-03-01 22:27:08 +00:00
unknown-arg.c [driver] Do emit the diagnostics when CompilerInvocation::CreateFromArgs() fails. 2012-01-25 20:00:43 +00:00
unknown-gcc-arch.c rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
warning-options.cpp Reduce temp file pollution in some test cases. 2012-08-03 10:35:06 +00:00
warning-options_pedantic.cpp Re-apply r159875 with fixes. 2012-07-07 05:53:30 +00:00
working-directory.c Adding a test case for the working-directory fix 2012-02-21 00:56:50 +00:00
x86_features.c rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00