clang-1/test/Driver
Hans Wennborg 3309229f77 Fix redundant comparison in gcc::Common::ConstructJob.
We were checking "Arch == llvm::Triple::x86_64 || Arch
== llvm::Triple::x86_64", but the rhs should actually check for
powerpc64.

Found while experimenting with a potential new Clang warning.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@177496 91177308-0d34-0410-b5e6-96231b3b80d8
2013-03-20 07:34:27 +00:00
..
Inputs Driver: add support for new style multiarch in Ubuntu 13.04 2013-03-06 17:14:05 +00:00
B-opt.c Extend -Bprefix functionality and make it closer to gcc. If the "prefix" 2012-10-31 12:01:53 +00:00
Wp-args.c [Driver] Fix -Wp,-MMD pr13959 2012-11-07 23:37:14 +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
aarch64-features.c Add support for AArch64 target. 2013-01-31 12:13:10 +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 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-cortex-cpus.c Add ARM v6m, v7m, and v7em architectures for Cortex-M series processors. 2013-03-04 22:37:49 +00:00
arm-darwin-builtin.c Remove the -ccc-no-clang option. 2012-10-31 01:21:20 +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.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 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 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 PR14306: Move -fbounds-checking to -fsanitize=bounds. 2012-11-23 10:39:49 +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 Update tests to use %clang instead of 'clang', and forcibly disable use of ' 2009-12-15 22:01:24 +00:00
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
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 PR5803: clang++: Treat untyped 'C' inputs as C++. 2010-02-17 20:32:58 +00:00
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 FileCheck'ize test 2013-01-28 17:30:37 +00:00
clang-translation.c Add some missing PPC cpus 2013-02-01 20:23:10 +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 Accept and ignore the -fextended-identifiers option. 2013-02-06 18:15:40 +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 Fix the '-fuse-init-array' option to actually be an option. 2012-11-21 23:40:23 +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 Produce an actual error before attempting to attach notes to it when bailing out 2012-12-25 21:56:27 +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 Update test for r151288 2012-02-23 22:12:53 +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 rename -ccc-host-triple into -target 2012-01-20 22:01:23 +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 Un-revert r164907 and r164902 (+ follow-ups), 10.6 build fix to follow. 2012-10-15 22:23:53 +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-sanitizer-ld.c ubsan: Emit bounds checks for array indexing, vector indexing, and (in really simple cases) pointer arithmetic. This augments the existing bounds checking with language-level array bounds information. 2013-02-23 02:53:19 +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 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-comp-dir.S Fix PR14625 by teaching the driver to detect PWD for assembly files. 2012-12-17 21:40:04 +00:00
debug-main-file.S Add support for passing the main file name down to the assembler 2012-12-18 00:31:10 +00:00
debug-options-as.c We want the dwarf AT_producer for assembly source files to match clang's 2013-01-17 21:38:06 +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 clang/test/Driver: Introduce the feature "clang-driver", set if gcc driver is not used. 2012-12-11 07:06:09 +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 Use -mno-implicit-float by default for kernel/kext code. <rdar://13177960> 2013-02-10 16:01:41 +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 [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 Make sure to use same EABI version for external assembler as for integrated as. 2013-03-18 07:59:20 +00:00
fsanitize-blacklist.c clang/test/Driver: Introduce the feature "clang-driver", set if gcc driver is not used. 2012-12-11 07:06:09 +00:00
fsanitize.c [ASan] Make -fsanitize=address always imply -fsanitize=init-order 2013-03-19 10:48:37 +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 Refactor the x86 CPU name logic in the driver and pass -march and -mcpu 2013-01-13 11:46:33 +00:00
hexagon-toolchain.c Remove driver support for Hexagon V2 and V3 2013-03-12 11:52:09 +00:00
immediate-options.c PR14303: Add a NoDriverOption flag to those options which are not accepted by 2012-11-09 22:36:44 +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 [driver] The failure of any phase (e.g., preprocess, compile, assemble) for a 2013-02-27 18:46:04 +00:00
integrated-as.c clang/test/Driver: Introduce the feature "clang-driver", set if gcc driver is not used. 2012-12-11 07:06:09 +00:00
integrated-as.s clang/test/Driver: Introduce the feature "clang-driver", set if gcc driver is not used. 2012-12-11 07:06:09 +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 Remove old driver code to grab the iOS simulator version from the -D option. 2012-11-09 01:59:30 +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 clang/test/Driver/linker-opts.c: Fix XFAIL that I removed win32. 2012-12-11 07:23:52 +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 Driver: add support for new style multiarch in Ubuntu 13.04 2013-03-06 17:14:05 +00:00
linux-ld.c Check for warnings in a bunch of the linker invocations, and add one 2013-03-04 02:07:55 +00:00
lit.local.cfg Create clang/test/Driver/lit.local.cfg. 2013-01-25 05:09:37 +00:00
lto.c Driver: Support invoking Clang on .ll or .bc inputs. 2010-06-07 23:28:45 +00:00
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 [Mips] Add two new aliases for MIPS ABI names 32 (means o32 abi) and 64 2013-02-27 14:55:49 +00:00
mips-features.c [MIPS] Add -mxgot/-mno-xgot command line options 2012-12-01 18:27:21 +00:00
mips-float.c [Mips] Pass a combination of +soft-float and -mips16-hard-float flags to 2013-01-10 12:36:19 +00:00
mips-long-double.c Add missing spaces. This doesn't cause problems in practice because we only warn 2013-01-08 16:09:04 +00:00
mno-global-merge.c rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
modules.m Make modules.m test portable, now that autolinking is dependent on whether or not the target uses the integrated assembler. 2013-03-12 21:49:29 +00:00
modules.mm In the driver, -fmodules enables modules for C/Objective-C but one 2012-01-18 15:19:58 +00:00
modules_integrated_as.c [driver] Only enable -fmodules-autolink if we are using the integrated assembler. 2013-03-12 21:08:08 +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
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
no-integrated-as-win.c Go back to using the integrated assembler on windows ever when passed 2013-03-19 14:23:00 +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 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 Insulate this test from the whims of the random number generator. 2012-12-21 22:43:20 +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 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
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 [driver] Add the missing TY_PP_ObjCXX_Alias case to the isCXX function. 2012-11-16 22:31:39 +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
objc_default_synth.m Add a test that we are passing the -fobjc-default-synthesize flag for Apple and 2013-03-05 11:20:04 +00:00
openbsd.c Correct OpenBSD profiling test 2013-01-07 23:55:47 +00:00
option-aliases.c Driver: Change Option parsing to always create arguments referring to unaliased 2010-06-09 22:44:34 +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 clang/test/Driver/output-file-is-dir.c: This requires shell due to 'cd'. 2013-01-23 01:25:23 +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 Do not pass -pie flag to linker if -shared specified. This matches 2013-01-17 20:17:16 +00:00
ppc-features.cpp Add -mqpx and -mno-qpx feature flags to toggle use of the PPC QPX vector instruction set 2013-02-01 18:44:19 +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 Update tests to use %clang instead of 'clang', and forcibly disable use of ' 2009-12-15 22:01:24 +00:00
pth.c Make driver tests more resilient to output trees containing symlinks -- 2012-01-24 01:55:55 +00:00
qa_override.c clang/test/Driver/qa_override.c: Appease gcc-driver. 2013-02-21 23:17:45 +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
resource-dir.cpp Driver: -ccc-install-dir should affect cc1 -resource-dir 2013-03-12 20:17:58 +00:00
retain-comments-from-system-headers.c Add tests for r163778. 2012-09-13 17:25:51 +00:00
rewrite-legacy-objc.m block extended signatur option. Change previous option 2012-11-15 19:02:45 +00:00
rewrite-objc.m block extended signatur option. Change previous option 2012-11-15 19:02:45 +00:00
sanitizer-ld.c [Sanitizer] Change driver behavior when linking with -fsanitize=thread and -fsanitize=memory. TSan/MSan also provide their versions of new/delete and should use the same strategy as ASan. Share the code that sets linker flags for all sanitizers. 2013-02-27 11:14:55 +00:00
split-debug.c Split out the command handling for split debug info, we're going 2013-02-22 20:12:52 +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 Update tests to use %clang instead of 'clang', and forcibly disable use of ' 2009-12-15 22:01:24 +00:00
std.cpp Add -std=c++1y argument, for *highly* experimental C++14 support. 2012-10-17 23:07:52 +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-as.s Driver: Pass down the -march setting down to -cc1as on x86 too. 2013-02-22 20:55:17 +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 Use the -fsanitize=thread flag to unbreak buildbot. 2012-11-06 18:16:37 +00:00
unknown-arg.c Escape % in the TextDiagnosticBuffer so they aren't interpreted twice when fed into the diagnostic formatting machinery again. 2012-12-08 12:42:30 +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 Adding a test case for the working-directory fix 2012-02-21 00:56:50 +00:00
x86_64-nacl-defines.cpp clang/test/Driver/x86_64-nacl-defines.cpp: Specify filename generated. 2012-11-21 14:45:57 +00:00
x86_64-nacl-types.cpp 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
x86_features.c rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00