llvm-project/clang/test/Driver
Rafael Espindola c8f008f649 Use ld directly on linux. Changes from the previous try:
*) Try to detect as much as possible from the system itself, not the distro.
   This should make it easier to port to a new distro and more likely to
   work on a unknown one.
*) The distro enum now doesn't include the arch. Just use the existing
   host detection support in LLVM.
*) Correctly handle --sysroot.

A small regression is that now clang will pass bitcode file to the linker.
This is necessary for the gold plugin support to work.

It might be better to detect this at configure/cmake time, but doing it in
c++ first is a lot easier.

llvm-svn: 118382
2010-11-07 20:14:31 +00:00
..
Wp-args.c Driver: Fix PR4062 by dissecting one particular -Wp, form. 2010-06-14 21:37:09 +00:00
Xarch.c Update tests to use %clang instead of 'clang', and forcibly disable use of ' 2009-12-15 22:01:24 +00:00
Xlinker-args.c Fix typo. 2010-06-15 08:21:35 +00:00
analyze.c Use -fno-math-errno by default, and remove the IsMathErrnoDefault 2010-01-08 02:20:44 +00:00
arch.c Set the default arch based on the triple. 2010-06-28 17:18:09 +00:00
arm-darwin-builtin.c Update tests to use %clang instead of 'clang', and forcibly disable use of ' 2009-12-15 22:01:24 +00:00
ast.c Update tests to use %clang instead of 'clang', and forcibly disable use of ' 2009-12-15 22:01:24 +00:00
at_file.c Implement support for reading arguments specified in a file with @file. If 2010-07-19 15:20:12 +00:00
at_file.c.args Implement support for reading arguments specified in a file with @file. If 2010-07-19 15:20:12 +00:00
bindings.c Driver: Start ripping out support for -pipe, which is worthless and complicates 2010-08-02 02:38:03 +00:00
cc-print-options.c Driver: Support CC_PRINT_OPTIONS, used for logging the compile commands (in -v style) to a file. 2010-03-20 08:01:59 +00:00
ccc-add-args.c Update tests to use %clang instead of 'clang', and forcibly disable use of ' 2009-12-15 22:01:24 +00:00
clang-c-as-cxx.c PR5803: clang++: Treat untyped 'C' inputs as C++. 2010-02-17 20:32:58 +00:00
clang-g-opts.c Don't produce debug info when given -g. Fixes PR6529. 2010-03-07 04:46:18 +00:00
clang-translation.c clang -cc1: Rename -mcpu to -target-cpu to match other target options and not alias driver/backend option. 2009-12-18 06:30:12 +00:00
clang_cpp.c Update tests to use %clang instead of 'clang', and forcibly disable use of ' 2009-12-15 22:01:24 +00:00
clang_f_opts.c Implement -fshort-enums (rdar://8490496). 2010-10-08 00:25:19 +00:00
darwin-as.c Driver/Darwin: Set -force_cpusubtype_ALL only by default on x86. 2010-07-22 01:47:22 +00:00
darwin-cc.c Driver/Darwin: Add deployment target after doing argument translation, so that 2010-07-19 17:11:36 +00:00
darwin-debug-flags.c Driver/Darwin: Add deployment target after doing argument translation, so that 2010-07-19 17:11:36 +00:00
darwin-dsymutil.c Driver: .dSYM suffix should be appended, not replace the existing suffix. 2010-07-01 01:36:31 +00:00
darwin-iphone-defaults.m Driver/Darwin: Resolve deployment target defaulting to be more predictable; 2010-07-15 16:18:06 +00:00
darwin-ld.c Fix last test still failing on Win32. 100% pass rate now! 2010-09-11 20:43:12 +00:00
darwin-objc-defaults.m Driver/Darwin: Fix Objective-C non-fragile ABI and dispatch method defaults, which were wrong in numerous places. 2010-04-24 18:37:41 +00:00
darwin-objc-gc.m Driver: Ignore -fobjc-gc and -fobjc-gc-only for platforms which don't support them. 2010-04-10 16:20:23 +00:00
darwin-objc-options.m Driver: Add support for -fobjc-abi-version=. 2010-04-28 23:25:24 +00:00
darwin-version.c Driver/Darwin: Honor IPHONEOS_DEPLOYMENT_TARGET. 2010-01-26 01:45:19 +00:00
darwin-xarch.c Fix test for Win32. 2010-07-20 04:06:54 +00:00
default-toolchain.c Update tests to use %clang instead of 'clang', and forcibly disable use of ' 2009-12-15 22:01:24 +00:00
dragonfly.c Update tests to not search of as. 2010-10-29 21:18:11 +00:00
emit-llvm.c Use ld directly on linux. Changes from the previous try: 2010-11-07 20:14:31 +00:00
flags.c Update tests to use %clang instead of 'clang', and forcibly disable use of ' 2009-12-15 22:01:24 +00:00
freebsd.c Update tests to not search of as. 2010-10-29 21:18:11 +00:00
gcc_forward.c Driver/OptParser: Add a NoForward flag to prevent forwarding certain options to 2010-08-13 04:44:20 +00:00
hello.c Update tests to use %clang instead of 'clang', and forcibly disable use of ' 2009-12-15 22:01:24 +00:00
immediate-options.c Update tests to use %clang instead of 'clang', and forcibly disable use of ' 2009-12-15 22:01:24 +00:00
lto.c Driver: Support invoking Clang on .ll or .bc inputs. 2010-06-07 23:28:45 +00:00
nostdincxx.cpp XFAIL the -nostdinc++ test on Windows; it doesn't look like we even have the notion of separate C and C++ paths there 2010-03-24 20:45:20 +00:00
openbsd.c Update tests to not search of as. 2010-10-29 21:18:11 +00:00
option-aliases.c Driver: Change Option parsing to always create arguments referring to unaliased 2010-06-09 22:44:34 +00:00
parsing.c Update tests to use %clang instead of 'clang', and forcibly disable use of ' 2009-12-15 22:01:24 +00:00
phases.c Update tests to use %clang instead of 'clang', and forcibly disable use of ' 2009-12-15 22:01:24 +00:00
preprocessor.c Update tests to use %clang instead of 'clang', and forcibly disable use of ' 2009-12-15 22:01:24 +00:00
pth.c Revert r116605, a lot more were committed by mistake. 2010-10-15 18:51:34 +00:00
qa_override.c Update tests to use %clang instead of 'clang', and forcibly disable use of ' 2009-12-15 22:01:24 +00:00
redzone.c Update tests to use %clang instead of 'clang', and forcibly disable use of ' 2009-12-15 22:01:24 +00:00
rewrite-objc.m Driver: Make -fnext-runtime the default when rewriting Objective-C. 2010-07-19 19:44:22 +00:00
std.c Update tests to use %clang instead of 'clang', and forcibly disable use of ' 2009-12-15 22:01:24 +00:00
sysroot-flags.c Use ld directly on linux. Changes from the previous try: 2010-11-07 20:14:31 +00:00
unknown-gcc-arch.c Update tests to use %clang instead of 'clang', and forcibly disable use of ' 2009-12-15 22:01:24 +00:00
x86_features.c Update tests to use %clang instead of 'clang', and forcibly disable use of ' 2009-12-15 22:01:24 +00:00