hanchenye-llvm-project/clang/test/Driver
Joerg Sonnenberger 17d7551e73 Revert part of r148839 and keep DefaultTargetTriple in the form adjusted
by -target and similar options. As discussed in PR 12026, the change
broke support for target-prefixed tools, i.e. calling x86_64--linux-ld
when compiling for x86_64--linux. Improve the test cases added
originally in r149083 to not require execution, just executable files.
Document the hack with appropiate FIXME comments.

llvm-svn: 151185
2012-02-22 19:15:16 +00:00
..
Inputs Revert part of r148839 and keep DefaultTargetTriple in the form adjusted 2012-02-22 19:15:16 +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 rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
analyze.c rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
apple-kext-i386.cpp rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
apple-kext-mkernel.c rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
arc-exceptions.m Automatic Reference Counting. 2011-06-15 23:02:42 +00:00
arc.c rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
arch.c rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
arm-darwin-builtin.c rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
arm-mfpu.c rename -ccc-host-triple into -target 2012-01-20 22:01:23 +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 rename -ccc-host-triple into -target 2012-01-20 22:01:23 +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-add-args.c
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
clang-g-opts.c
clang-translation.c rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
clang_cpp.c
clang_f_opts.c
clang_wrapv_opts.c
cpath.c [driver] Fix test case for Windows due to fallout from r141202+r141205. 2011-10-06 22:05:26 +00:00
darwin-as.c rename -ccc-host-triple into -target 2012-01-20 22:01:23 +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 more fallout from the introduction of "macosx" and "ios" triples. 2012-01-31 21:30:03 +00:00
darwin-objc-defaults.m rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
darwin-objc-gc.m rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
darwin-objc-options.m rename -ccc-host-triple into -target 2012-01-20 22:01:23 +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/Driver/debug-options*.c: Tweak r147819 to split out another cc1as-sensitive test. gcc driver is invoked for assembling on cygming. 2012-01-12 06:15:01 +00:00
debug-options.c test/Driver/debug-options*.c: Tweak r147819 to split out another cc1as-sensitive test. gcc driver is invoked for assembling on cygming. 2012-01-12 06:15:01 +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
dragonfly.c Make driver tests more resilient to output trees containing symlinks -- 2012-01-24 01:55:55 +00:00
emit-llvm.c
exceptions.m rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
fast-math.c Fix PR11685 by implementing -ffast-math and its various friends in the 2012-01-02 14:19:45 +00:00
flags.c rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
frame-pointer.c rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
freebsd.c Skip freebsd driver test when ppc32/ppc64 targets are not configured. 2012-02-04 23:15:59 +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 rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
gnu-runtime.m rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
hello.c
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 Revert r148249: "Make the auto-detection hack for the iOS simulator set the target triple correctly." 2012-01-26 03:37:03 +00:00
le32-unknown-nacl.cpp rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
linux-header-search.cpp rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
linux-ld.c rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
lto.c
m_and_mm.c
mg.c Implement -MG. Fixes PR9613 2011-07-12 19:35:15 +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
no-objc-arr.m Automatic Reference Counting. 2011-06-15 23:02:42 +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
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
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 Add support of -x objc-cpp-output, -x objc++-cpp-output to the Driver. 2011-08-13 23:13:37 +00:00
objc-cpp-output.m Add support of -x objc-cpp-output, -x objc++-cpp-output to the Driver. 2011-08-13 23:13:37 +00:00
openbsd.c Make driver tests more resilient to output trees containing symlinks -- 2012-01-24 01:55:55 +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
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
redzone.c rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
rewrite-objc.m Fix more fallout from the introduction of "macosx" and "ios" triples. 2012-01-31 21:30:03 +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.c test/Driver/target.c: Relax expression for "gcc.exe" on win32. 2012-02-01 15:16:22 +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
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