llvm-project/clang/test/Driver
Filipe Cabecinhas ec5d0e6423 Improve our handling of rtti/sanitize=vptr/sanitize=undefined
This patch removes the huge blob of code that is dealing with
rtti/exceptions/sanitizers and replaces it with:

A ToolChain function which, for a given set of Args, figures out if rtti
should be:
  - enabled
  - disabled implicitly
  - disabled explicitly

A change in the way SanitizerArgs figures out what sanitizers to enable
(or if it should error out, or warn);

And a check for exceptions/rtti interaction inside addExceptionArgs.

The RTTIMode algorithm is:
  - If -mkernel, -fapple-kext, or -fno-rtti are passed, rtti was disabled explicitly;
  - If -frtti was passed or we're not targetting the PS4, rtti is enabled;
  - If -fexceptions or -fcxx-exceptions was passed and we're targetting
    the PS4, rtti was enabled implicitly;
  - If we're targetting the PS4, rtti is disabled implicitly;
  - Otherwise, rtti is enabled;

Since the only flag needed to pass to -cc1 is -fno-rtti if we want to
disable it, there's no problem in saying rtti is enabled if we're
compiling C code, so we don't look at the input file type.

addExceptionArgs now looks at the RTTIMode and warns that rtti is being
enabled implicitly if targetting the PS4 and exceptions are on. It also
errors out if, targetting the PS4, -fno-rtti was passed, and exceptions
were turned on.

SanitizerArgs now errors out if rtti was disabled explicitly and the vptr
sanitizer was enabled implicitly, but just turns off vptr if rtti is
disabled but -fsanitize=undefined was passed.

Also fixed tests, removed duplicate name from addExceptionArgs comment,
and added one or two surrounding lines when running clang-format.
This changes test/Driver/fsanitize.c to make it not expect a warning when
passed -fsanitize=undefined -fno-rtti, but expect vptr to not be on.

Removed all users and definition of SanitizerArgs::sanitizesVptr().

Reviewers: samsonov

Subscribers: llvm-commits, samsonov, rsmith

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

llvm-svn: 229801
2015-02-19 01:04:49 +00:00
..
Inputs test: attempt to make test more hermetic 2014-10-25 20:49:12 +00:00
B-opt.c Fix Driver tests that I broke on Windows in r214924 2014-08-05 22:39:07 +00:00
O.c Options: Use AliasArgs for -O -> -O2 translation. 2013-08-01 16:21:57 +00:00
Ofast.c [driver] Test that last option wins between -Ofast and -O2. 2013-04-24 18:43:57 +00:00
Wp-args.c Fix option typo. 2013-10-27 14:46:16 +00:00
Xarch.c Replace 'grep foo | count 0' with 'not grep foo'. 2013-07-04 15:22:16 +00:00
Xlinker-args.c Typically linker options are protected with -Xlinker or -Wl, 2014-07-16 21:16:16 +00:00
aarch64-cpus.c Teaches the Clang driver to accept Cortex-A72 2015-02-04 13:31:56 +00:00
aarch64-features.c [ARM64] Plumb in the -mfpu= flag. 2014-04-16 15:33:56 +00:00
aarch64-fix-cortex-a53-835769.c [AArch64] Enable A53 erratum workaround (835769) by default for Android targets 2014-10-16 16:35:14 +00:00
aarch64-fixed-x18.c Allows Clang to use LLVM's fixes-x18 option 2015-01-25 23:17:48 +00:00
aarch64-mgeneral_regs_only.c [ARM64] Plumb in the -mfpu= flag. 2014-04-16 15:33:56 +00:00
altivec-asm.S [PPC64LE] Run some existing Altivec tests on powerpc64le as well 2014-06-13 18:30:06 +00:00
analyze.c
android-standalone.cpp [ARM64] Port remaining relevant AArch64 clang tests over to ARM64 2014-04-30 10:52:05 +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
arc.c Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
arch.c Add support for passing '-target armv8' through the Driver. 2013-06-26 17:19:48 +00:00
arclite-link.c
arm-abi.c Reinstate aapcs as the default arm abi. 2014-12-18 02:08:51 +00:00
arm-alignment.c Emit diagnostic for -munaligned-access on v6m 2014-10-07 15:11:32 +00:00
arm-arch-darwin.c Refactor duplicate functions 2013-12-12 13:27:11 +00:00
arm-cortex-cpus.c [ARM] Add missing M/R class CPUs 2015-02-18 10:34:48 +00:00
arm-darwin-builtin.c Remove the -ccc-no-clang option. 2012-10-31 01:21:20 +00:00
arm-fixed-r9.c Fix typo in ARM reserved-r9 test case 2014-10-11 10:34:18 +00:00
arm-hwdiv.c ARM: be more flexible about how --mhwdiv is accepted. 2014-03-26 14:09:48 +00:00
arm-long-calls.c Driver: correct the backend option spelling 2014-06-18 16:52:24 +00:00
arm-mfpu.c Correction to -mfu=neon-vfpv4 to pass the correct backend feature name 2014-12-18 16:31:18 +00:00
arm-restrict-it.c Add test case for r194593 2013-11-13 21:40:17 +00:00
arm64-as.s [Driver][ARM64] Add a testcase for r206227. 2014-04-22 18:29:43 +00:00
arm64-darwinpcs.c ARM64: initial clang support commit. 2014-03-29 15:09:45 +00:00
armv8-crc.c ARM: Add -m[no-]crc to dis/enable CRC subtargetfeature from clang 2013-10-29 09:47:51 +00:00
asan.c Kill -faddress-sanitizer, -fthread-sanitizer and -fcatch-undefined-behavior flags. 2014-03-20 10:48:29 +00:00
ast.c Reapply "Change -save-temps to emit unoptimized bitcode files." 2014-12-21 07:00:00 +00:00
at_file.c Expand test/Driver/at_file.c test to check that PR16209 is fixed. 2013-07-23 17:26:56 +00:00
at_file.c.args Expand test/Driver/at_file.c test to check that PR16209 is fixed. 2013-07-23 17:26:56 +00:00
at_file.c.args.utf16le Expand test/Driver/at_file.c test to check that PR16209 is fixed. 2013-07-23 17:26:56 +00:00
at_file_missing.c test/Driver: Check that @ arguments that aren't files are handled 2013-12-06 22:57:13 +00:00
autolink_integrated_as.c [Modules] Convert module specific -fno-modules-autolink into -fno-autolink. 2013-04-16 18:21:19 +00:00
biarch.c Only override the target architecture on -m32 and friends if it is 2014-09-10 21:25:37 +00:00
bindings.c Revert r211866, r211895 and r211995, "Driver: use GNU::Link for the Generic_GCC toolchain". It broke users of Generic_GCC, cygwin and mingw32. 2014-06-29 16:00:11 +00:00
bitrig.c Bitrig's standard C++ standard library changed from libstdc++ to libc++. 2014-05-01 23:24:24 +00:00
cc-log-diagnostics.c
cc-print-options.c
cc1-response-files.c Fix PR17239 by changing the semantics of the RemainingArgsClass Option kind 2014-08-22 19:29:30 +00:00
ccc-as-cpp.c Turn Driver::CCCIsCXX and CCCIsCPP into a single Mode enum, 2013-07-18 20:29:38 +00:00
ccc-host-triple-no-integrated-as.c
cl-eh.cpp Re-land r228258 and make clang-cl's /EHs- disable -fexceptions again 2015-02-05 18:56:03 +00:00
cl-fallback.c Driver: Handle /GR- in a compatible way with MSVC 2014-07-01 22:24:56 +00:00
cl-inputs.c clang-cl: Warn when a /TC or /TP argument is unused 2014-09-12 21:44:24 +00:00
cl-link-at-file.c Fix PR17239 by changing the semantics of the RemainingArgsClass Option kind 2014-08-22 19:29:30 +00:00
cl-link.c [ASan/Win] Fix PR20918 -- SEH handler doesn't work with the MD runtime 2014-09-12 14:01:30 +00:00
cl-options.c clang-cl: Map /wd4996 to -Wno-deprecated-declarations 2015-02-17 23:28:19 +00:00
cl-outputs.c clang-cl: Allow /Fo without an argument (PR21589) 2014-11-17 19:16:36 +00:00
cl-runtime-flags.c clang-cl: Don't warn about overriding /MD with /MT, /Fo with another /Fo, etc. 2013-09-18 22:26:39 +00:00
cl-x86-flags.c Fix test/Driver/cl-x86-flags.c by providing explicit --target 2014-07-23 17:09:26 +00:00
cl-zc.cpp clang-cl: Various changes to /Zc: handling. 2014-12-23 22:55:34 +00:00
cl.c Remove the -cxx-abi command-line flag. 2014-01-14 19:35:09 +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
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 specify dwarf version for Solaris 2014-10-16 05:55:24 +00:00
clang-s-opts.s Remove -Werror from test. 2015-01-03 00:28:47 +00:00
clang-translation.c Add ppc64/power8 as a target 2014-06-26 13:34:10 +00:00
clang_cpp.c FileCheck-ify some clang grep tests that use double quotes 2013-04-10 21:10:39 +00:00
clang_f_opts.c Fix tests so they work when the linker is gcc 2015-02-12 03:37:55 +00:00
clang_f_opts.h
clang_wrapv_opts.c
code-model.c Driver: parse -mcmodel earlier 2014-05-08 02:28:32 +00:00
color-diagnostics.c Add -fansi-escape-codes option 2013-09-11 00:38:02 +00:00
compress.c Fix up compression related test cases 2014-04-01 00:27:28 +00:00
constructors.c Fix clash of gcc toolchains in driver regression tests. 2015-01-05 17:07:42 +00:00
coverage-ld.c [clang] Use -android environment for all compiler-rt libs. 2015-01-28 23:23:36 +00:00
coverage_no_integrated_as.c Alright, just XFAIL all these for Windows. 2014-10-10 17:20:10 +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
crash report spaces.c Driver: Quote the command in crash reproduction scripts. 2014-10-21 18:03:08 +00:00
crash-report-modules.m Driver: Quote the command in crash reproduction scripts. 2014-10-21 18:03:08 +00:00
crash-report-null.test Driver: Tighten up crash report tests 2014-10-21 05:13:09 +00:00
crash-report.c Driver: Quote the command in crash reproduction scripts. 2014-10-21 18:03:08 +00:00
cross-linux.c Fix Driver tests that I broke on Windows in r214924 2014-08-05 22:39:07 +00:00
darwin-arch-default.c Call powerpc-darwin external tools with -arch ppc. 2014-08-28 21:23:05 +00:00
darwin-as.c darwin asm driver: suppress -Q for -no-integrated-as on darwin<11 2013-12-10 22:51:25 +00:00
darwin-asan-nofortify.c Kill -faddress-sanitizer, -fthread-sanitizer and -fcatch-undefined-behavior flags. 2014-03-20 10:48:29 +00:00
darwin-debug-flags.c IR: Make metadata typeless in assembly, clang side 2014-12-15 19:10:08 +00:00
darwin-dsymutil.c Reapply "Change -save-temps to emit unoptimized bitcode files." 2014-12-21 07:00:00 +00:00
darwin-embedded.c MachO embedded: default to soft float without issuing warning 2014-01-23 15:00:01 +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-demangle.c CMake: Set HOST_LINK_VERSION on Darwin (PR21268) 2014-11-13 00:35:23 +00:00
darwin-ld.c -iframework option should be forwarded to linker 2015-02-06 18:08:29 +00:00
darwin-max-type-align.c Introduce f[no-]max-unknown-pointer-align=[number] option 2014-08-05 18:37:48 +00:00
darwin-objc-defaults.m Objective-C driver. Do not use legacy dispatch for 2014-02-05 17:13:42 +00:00
darwin-objc-gc.m
darwin-objc-options.m Fix assertion failure left over from changes to move away from "darwin" triples. 2013-12-05 19:38:42 +00:00
darwin-sanitizer-ld.c Fix the test failure on Windows introduced by r221279. 2014-11-04 23:38:57 +00:00
darwin-sdkroot.c Revert "More robust deployment target parsing on darwin" 2015-01-14 18:22:29 +00:00
darwin-verify-debug.c Reapply "Change -save-temps to emit unoptimized bitcode files." 2014-12-21 07:00:00 +00:00
darwin-version.c Update darwin-version tests 2015-02-04 18:10:38 +00:00
darwin-xarch.c
debug-comp-dir.S [driver] Implement the -fdebug-compilation-dir in a way that is compatible with 2013-04-26 20:49:50 +00:00
debug-main-file.S clang/test/Driver: Remove the feature "clang-driver" in three tests since they might work as expected since their first commit. 2013-08-20 12:16:35 +00:00
debug-options-as.c clang/test/Driver: Remove the feature "clang-driver" since gcc-as has not been used with -integrated-as since r177360. 2013-08-20 12:16:42 +00:00
debug-options.c Treat -g1 as -gline-tables-only 2014-10-21 19:20:21 +00:00
debug-unsupported.c Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
debug.c [driver] Implement the -fdebug-compilation-dir in a way that is compatible with 2013-04-26 20:49:50 +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 Flail at trying to appease various linuxy buildbots. 2013-04-11 23:25:27 +00:00
dyld-prefix.c [x32] Adding X32 target support to driver, including TargetInfo,DescriptionString, flags, paths lookup, etc. Cover changes with new tests. The author of the patch is Pavel Chupin (@pavel.v.chupin). 2014-07-10 15:27:19 +00:00
env.c Fix clash of gcc toolchains in driver regression tests. 2015-01-05 17:07:42 +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 -fno-signed-zeros optimization flag (PR20870) 2015-01-23 16:40:50 +00:00
fatal-warnings.c Convert MC command line flag for fatal assembler warnings into a proper 2014-08-26 18:40:25 +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 Add a new -mimplicit-float option for symmetry with -mno-implicit-float. 2013-04-11 18:53:25 +00:00
fortran.f95 Reapply "Change -save-temps to emit unoptimized bitcode files." 2014-12-21 07:00:00 +00:00
fpack-struct.c Fix FileCheck --check-prefix lines. 2013-08-12 12:51:05 +00:00
fparse-all-comments.c Add testcases for -fparse-all-comments 2013-04-10 16:31:58 +00:00
frame-pointer-elim.c Fix a typo 2015-01-31 23:25:54 +00:00
frame-pointer.c [mips] Enable frame-pointer elimination for -O1 and above. 2013-10-16 17:13:08 +00:00
freebsd-mips-as.c [Driver][Mips] Fix test cases - make ABI name and target triple consistent. 2014-06-30 08:10:01 +00:00
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 Fix tests so they work when the linker is gcc 2015-02-12 03:37:55 +00:00
fsanitize.c Improve our handling of rtti/sanitize=vptr/sanitize=undefined 2015-02-19 01:04:49 +00:00
function-sections.c Fix handling of -fno-function-sections, -fno-data-sections in clang driver. 2014-02-03 11:11:37 +00:00
fuse-ld.c clang/test/Driver/fuse-ld.c: Really fix to match dos path. 2014-06-27 01:32:59 +00:00
gcc-toolchain.cpp Accept both / and \\ to fix the windows bots. 2013-06-24 22:07:15 +00:00
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 Pass -pie to linker when generating executable on Android 2014-04-29 10:25:20 +00:00
hexagon-toolchain-elf.c Fix clash of gcc toolchains in hexagon driver regression tests. 2014-11-07 17:48:03 +00:00
hexagon-toolchain.c Fix clash of gcc toolchains in hexagon driver regression tests. 2014-11-07 17:48:03 +00:00
ident_md.c IR: Make metadata typeless in assembly, clang side 2014-12-15 19:10:08 +00:00
immediate-options.c Turn Driver::CCCIsCXX and CCCIsCPP into a single Mode enum, 2013-07-18 20:29:38 +00:00
implicit-function-as-error.c ARM64: initial clang support commit. 2014-03-29 15:09:45 +00:00
index-header-map.c
inhibit-downstream-commands.c Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
inline-asm.c Adding option -fno-inline-asm to disallow inline asm 2015-01-16 23:05:28 +00:00
instrprof-ld.c [Profile] Always build profile runtime library with -fPIC. 2014-11-14 00:16:26 +00:00
integrated-as.c Remove unused diagnostic + dead test for it. 2014-03-31 16:55:01 +00:00
integrated-as.s Pass -gdwarf-N options to integrated assembler 2014-05-19 13:39:13 +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
krait-cpu.c Added support for mcpu krait 2013-12-06 22:43:17 +00:00
le32-toolchain.c Pass -fno-math-builtin from the Clang driver to -cc1 for the l32 arch. 2013-07-24 18:20:14 +00:00
le32-unknown-nacl.cpp Make test/Driver hermetic 2014-09-14 23:42:15 +00:00
le64-unknown-unknown.cpp Make test/Driver hermetic 2014-09-14 23:42:15 +00:00
linker-opts.c Support LIBRARY_PATH on all Darwin targets. 2014-07-29 20:17:52 +00:00
linux-as.c Revert changes in r218863, r218864 2014-10-03 09:11:41 +00:00
linux-header-search.cpp Avoid testing for a particular choice of resource dir. 2015-01-28 14:19:08 +00:00
linux-ld.c For the --be8 flag, check explicitly for pre-v7 / pre-v6m cores. 2015-01-28 23:30:39 +00:00
lit.local.cfg Move remaining %clang_cc1 tests out of test/Driver 2013-11-16 06:20:17 +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 Replace 'grep foo | count 0' with 'not grep foo'. 2013-07-04 15:22:16 +00:00
macho-embedded.c MachO: perform ARM ABI detection even for non-Darwin triples. 2014-05-22 12:54:30 +00:00
masm.c Make this test target independent. 2014-05-13 20:16:43 +00:00
mg.c Port test/Driver/mg.c to use FileCheck instead of fgrep 2015-02-04 18:34:26 +00:00
mips-abi.c [Driver][Mips] Support one more MIPS CPU name - octeon. 2014-07-04 12:37:04 +00:00
mips-as.c Partially revert r215204 - [mips] Add -mabicalls/-mno-abicalls to the driver 2014-08-08 18:39:01 +00:00
mips-cs.cpp [Driver] Support -muclibc / -mglibc command line options for a couple 2014-08-13 14:34:14 +00:00
mips-eleb.c [mips] Correct the invocation of GAS in several cases. 2014-07-16 11:52:23 +00:00
mips-features.c [mips] Invert the abicalls feature bit to be noabicalls so that it's possible for -mno-abicalls to take effect. 2014-08-08 15:47:17 +00:00
mips-float.c [Mips] Do not adjust float-abi flags in case of MIPS16 mode. This code 2013-11-19 12:22:38 +00:00
mips-fsf.cpp [Driver] Support -muclibc / -mglibc command line options for a couple 2014-08-13 14:34:14 +00:00
mips-img.cpp [mips][mips64r6] Add support for mips-img-linux-gnu GCC toolchains 2014-07-10 14:40:57 +00:00
mips-integrated-as.s [mips] Pass ABI name via -target-abi instead of target-features 2015-01-30 17:35:23 +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 [Mips] Allocate NaClTargetInfo for MIPSEL NaCl 2013-09-21 01:27:01 +00:00
mno-global-merge.c Revert new test from 213993. 2014-07-26 00:51:28 +00:00
modules-cache-path.m Make the default module cache user-specific 2015-02-03 19:28:37 +00:00
modules.m Remove "REQUIRES:shell" from tests. They work for me. 2014-11-04 13:41:33 +00:00
modules.mm Enable both C and C++ modules with -fmodules, by switching -fcxx-modules to 2014-09-30 23:10:19 +00:00
montavista-gcc-toolchain.c Accept both / and \\ to fix the windows bots. 2013-06-24 22:07:15 +00:00
msc-version.c Driver: bifurcate extended and basic MSC versioning 2014-07-16 03:13:50 +00:00
msvc_forward.c Fix forwarding -l to MSVC's link.exe 2014-09-16 19:22:00 +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 For NetBSD, use the same settings for PPC64 as for PPC when it comes to 2014-08-13 14:17:32 +00:00
no-canonical-prefixes.c Do not rely on bin/ path prefix in tests. 2014-08-17 19:11:18 +00:00
no-integrated-as-win.c Tidy up the no-external-assembler diag 2013-11-22 08:27:46 +00:00
no-integrated-as.c clang: forward -no-integrated-as from the driver 2014-02-22 23:37:58 +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 Produce an error for unknown -f options. 2013-09-25 19:07:08 +00:00
no-sibling-calls.c
nodefaultlib.c Insulate this test from the whims of the random number generator. 2012-12-21 22:43:20 +00:00
noexecstack.c Use -target instead of triple and use FileCheck. 2013-10-27 13:59:51 +00:00
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 Fix up compression related test cases 2014-04-01 00:27:28 +00:00
objc++-cpp-output.mm Use -emit-llvm for the following tests to stop them from failing for Hexagon: 2013-04-16 15:55:41 +00:00
objc-cpp-output.m Use -emit-llvm for the following tests to stop them from failing for Hexagon: 2013-04-16 15:55:41 +00:00
openbsd.c The assembler is now enabled by default. 2015-01-14 08:23:49 +00:00
option-aliases.c Use -### instead of -ccc-print-options. 2013-09-03 13:26:49 +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 Simplify test so that it is more portable. 2013-04-13 22:26:02 +00:00
parse-progname.c Try to fix parse-progname.c test on Darwin 2014-10-17 20:55:54 +00:00
pch-deps.c [Modules] Emit the module file paths as dependencies of the PCH when we are building one. 2014-03-14 03:07:38 +00:00
phases.c Reapply "Change -save-temps to emit unoptimized bitcode files." 2014-12-21 07:00:00 +00:00
pic.c Do not force "-static" for aarch64 iOS kernel/kext assembly code. 2015-02-10 06:33:04 +00:00
ppc-abi.c [PowerPC] Support ELFv1/ELFv2 ABI selection via -mabi= option 2014-07-28 13:17:52 +00:00
ppc-features.cpp [PowerPC] Remove the --no-tls-optimize workaround from the clang driver 2015-02-10 20:36:08 +00:00
prefixed-tools.c Fix Driver tests that I broke on Windows in r214924 2014-08-05 22:39:07 +00:00
preprocess-multiple.c Add driver test for multiple preprocessor inputs 2014-02-24 08:17:02 +00:00
preprocessor.c
ps4-cpu-defaults.cpp Shuffle tests around to more appropriate files 2015-01-30 18:25:48 +00:00
pth.c clang/test/Driver/pth.c: Fix r184942, a regexp like "\\\\" is redundant here. Should be matched to single \ with '\\'. 2013-06-26 15:03:20 +00:00
qa_override.c Remove support for the QA_OVERRIDE_GCC3_OPTIONS environment variable. 2014-02-23 00:11:56 +00:00
r600-mcpu.cl R600: Handle amdgcn triple 2015-01-06 20:34:47 +00:00
redundant-args.c
redzone.c
response-file.c Teach Clang how to use response files when calling other tools 2014-09-15 17:45:39 +00:00
retain-comments-from-system-headers.c
rewrite-legacy-objc.m Revert "Driver: Objective-C should respect -fno-exceptions" 2014-12-09 00:12:30 +00:00
rewrite-map-in-diagnostics.c clang/test/Driver/rewrite-map-in-diagnostics.c: This depends on crash-recovery. 2015-01-25 23:10:21 +00:00
rewrite-objc.m Introduce f[no-]max-unknown-pointer-align=[number] option 2014-08-05 18:37:48 +00:00
rtti-options.cpp Improve our handling of rtti/sanitize=vptr/sanitize=undefined 2015-02-19 01:04:49 +00:00
sanitize_unwind_tables.c Enable generation of unwind tables when building with sanitizers. 2014-02-14 08:56:25 +00:00
sanitizer-ld.c Revert r218541 - Don't link in sanitizer runtimes if -nostdlib/-nodefaultlibs is provided. 2014-10-23 00:46:10 +00:00
save-temps.c PR 17421: Implemented -save-temps={obj|cwd} option 2015-02-02 22:41:48 +00:00
sparc-float.c Handle SPARC float command line parameters for SPARCv9. 2014-08-19 21:50:15 +00:00
split-debug.c clang/test/Driver: Some tests don't REQUIRE asserts any more. Remove them. 2014-10-12 06:44:05 +00:00
split-debug.s clang/test/Driver: Some tests don't REQUIRE asserts any more. Remove them. 2014-10-12 06:44:05 +00:00
stack-protector.c Test fixes and improvements. 2014-06-01 13:45:09 +00:00
stackrealign.c
std.c Add driver flags -ftrigraphs, -fno-trigraphs. 2014-12-23 22:32:37 +00:00
std.cpp Add -std=c++1z flag for C++17 features. 2014-06-16 15:16:56 +00:00
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] Address review comments for r219679 2014-10-14 16:46:45 +00:00
systemz-march.c Fix test to actually check things. 2013-07-19 17:49:21 +00:00
target-as.s clang/test/Driver: Remove the feature "clang-driver" in three tests since they might work as expected since their first commit. 2013-08-20 12:16:35 +00:00
target-triple-deployment.c ARM64: initial clang support commit. 2014-03-29 15:09:45 +00:00
target.c Don't use the gcc driver for assembling. 2013-11-23 16:40:57 +00:00
thread-model.c CFE Knob for: Add a thread-model knob for lowering atomics on baremetal & single threaded systems 2014-10-03 21:57:44 +00:00
tsan.c SanitizerArgs: add ability to filter/diagnose unsupported sanitizers. 2013-11-01 18:16:25 +00:00
unknown-arg.c Produce an error for unknown -f options. 2013-09-25 19:07:08 +00:00
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 Add a CC1 option -verify-pch 2014-02-05 22:21:15 +00:00
vfsoverlay.c Add a driver option -ivfsoverlay 2014-02-25 18:23:47 +00:00
via-file-asm.c Fix via-file-asm test failure on windows 2013-12-10 00:54:30 +00:00
visibility.cpp Fix broken CHECK lines 2014-02-16 07:29:41 +00:00
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
windows-arm-minimal-arch.c Driver: add target definition for Windows on ARM 2014-04-04 20:31:19 +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 Expand the wildcard expansion test to also cover '?' 2014-07-16 16:14:09 +00:00
woa-restrict-it.c Driver: force restricted IT blocks for Windows on ARM 2014-05-18 06:42:02 +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 clang/test/Driver/working-directory.c: Exclude msys bash rather than tweaking expressions. 2013-09-04 09:37:12 +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 Add missing quotes for -###. 2013-07-23 15:20:22 +00:00
x86_features.c Fix test. 2013-10-03 19:18:22 +00:00
x86_m16.c Add -m16 option for using x86-*-*-code16 triple 2014-01-21 17:19:44 +00:00
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