llvm-project/clang/test/Driver
Peter Collingbourne e44acadf6a Implement CFI for indirect calls via a member function pointer.
Similarly to CFI on virtual and indirect calls, this implementation
tries to use program type information to make the checks as precise
as possible.  The basic way that it works is as follows, where `C`
is the name of the class being defined or the target of a call and
the function type is assumed to be `void()`.

For virtual calls:
- Attach type metadata to the addresses of function pointers in vtables
  (not the functions themselves) of type `void (B::*)()` for each `B`
  that is a recursive dynamic base class of `C`, including `C` itself.
  This type metadata has an annotation that the type is for virtual
  calls (to distinguish it from the non-virtual case).
- At the call site, check that the computed address of the function
  pointer in the vtable has type `void (C::*)()`.

For non-virtual calls:
- Attach type metadata to each non-virtual member function whose address
  can be taken with a member function pointer. The type of a function
  in class `C` of type `void()` is each of the types `void (B::*)()`
  where `B` is a most-base class of `C`. A most-base class of `C`
  is defined as a recursive base class of `C`, including `C` itself,
  that does not have any bases.
- At the call site, check that the function pointer has one of the types
  `void (B::*)()` where `B` is a most-base class of `C`.

Differential Revision: https://reviews.llvm.org/D47567

llvm-svn: 335569
2018-06-26 02:15:47 +00:00
..
Inputs Add HIP toolchain 2018-05-30 00:53:50 +00:00
XRay [XRay][clang] Make -fxray-modes= additive 2018-04-13 05:59:57 +00:00
B-opt.c Fix tests with CLANG_DEFAULT_LINKER 2017-01-08 10:04:07 +00:00
O.c
Ofast.c
Wp-args.c
Xarch.c
Xlinker-args.c
aarch64-cpus.c [PATCH 2/2] [test] Add support for Samsung Exynos M4 (NFC) 2018-06-06 18:58:01 +00:00
aarch64-dotprod.c [ARM][AArch64] Cortex-A75 and Cortex-A55 tests 2017-08-21 08:52:45 +00:00
aarch64-features.c
aarch64-fix-cortex-a53-835769.c Remove -cc1 option "-backend-option". 2018-04-12 22:21:36 +00:00
aarch64-fixed-x18.c
aarch64-fixed-x20.c [AArch64] Support reserving x20 register 2018-06-12 20:00:50 +00:00
aarch64-mgeneral_regs_only.c
aarch64-outliner.c [MachineOutliner] Outline from linkonceodrs by default in LTO when -moutline is passed 2018-06-25 17:36:05 +00:00
aarch64-ras.c [ARM][AArch64] Cortex-A75 and Cortex-A55 tests 2017-08-21 08:52:45 +00:00
aarch64-rcpc.s [ARM][AArch64] Cortex-A75 and Cortex-A55 tests 2017-08-21 08:52:45 +00:00
aarch64-rdm.c [Driver][AArch64] Add tests for RDM feature. 2017-08-24 14:32:55 +00:00
altivec-asm.S
amdgcn-toolchain-pic.cl Add -no-canonical-prefixes to allow different build modes. 2018-02-15 13:50:07 +00:00
amdgpu-features.c AMDGPU: Remove amdgpu-debugger-reserve-regs feature 2018-06-21 20:27:47 +00:00
amdgpu-macros.cl AMDGPU: Add Vega12 and Vega20 2018-04-30 19:08:27 +00:00
amdgpu-mcpu.cl AMDGPU: Add Vega12 and Vega20 2018-04-30 19:08:27 +00:00
amdgpu-toolchain-opencl.cl [AMDGPU] Implement infrastructure to set options in AMDGPUToolChain 2017-09-05 10:24:38 +00:00
amdgpu-toolchain.c [DebugInfo] Support DWARF v5 source code embedding extension 2018-02-26 17:32:31 +00:00
analyze.c
analyzer-target-enabled-checkers.cpp [analyzer] Add checker modeling gtest APIs. 2016-12-19 22:50:31 +00:00
ananas.c ananas: Add shared library support 2018-01-09 09:18:14 +00:00
android-aarch64-link.cpp Use linker flag --fix-cortex-a53-843419 on Android ARM64 compilation. 2016-10-25 21:44:35 +00:00
android-ndk-standalone.cpp [Driver] Reland "Android triples are not aliases for other triples." 2018-04-25 21:26:06 +00:00
android-pie.c Don't use -pie in relocatable link. 2018-03-09 19:35:16 +00:00
android-standalone.cpp
apple-kext-mkernel.c Remove -cc1 option "-backend-option". 2018-04-12 22:21:36 +00:00
appletvos-version-min.c
arc-exceptions.m
arc.c
arch-armv7k.c
arch-specific-libdir-rpath.c [Driver] Wire up the -f[no-]rtlib-add-rpath flag and tests 2018-04-02 23:36:14 +00:00
arch-specific-libdir.c Fix arch-specific-libdir tests on Windows 2017-03-14 18:24:41 +00:00
arch.c
arclite-link.c Fix which Darwin versions have ObjC runtime with full subscripting support. 2018-02-26 23:10:23 +00:00
arm-abi.c Set ABIs correctly for OpenBSD/arm; soft float and aapcs-linux. 2017-02-28 03:20:26 +00:00
arm-alignment.c
arm-arch-darwin.c
arm-compiler-rt.c Revert "Driver: use the canonical static library naming" 2016-08-31 19:27:07 +00:00
arm-cortex-cpus.c [PATCH 2/2] [test] Add support for Samsung Exynos M4 (NFC) 2018-06-06 18:58:01 +00:00
arm-default-build-attributes.s Driver must return non-zero code on errors in command line 2017-05-24 14:57:17 +00:00
arm-dotprod.c [ARM] disable FPU features when using soft floating point. 2018-02-19 12:40:26 +00:00
arm-execute-only.c Remove unused CHECK lines leftover from r306928. 2018-03-30 18:39:28 +00:00
arm-features.c
arm-fixed-r9.c
arm-float-abi.c
arm-hwdiv.c
arm-ias-Wa.s
arm-implicit-it.s [ARM] Pass -mimplcit-it= to integrated assembler 2016-07-27 08:54:13 +00:00
arm-long-calls.c
arm-mfpu.c [ARM] disable FPU features when using soft floating point. 2018-02-19 12:40:26 +00:00
arm-multilibs.c
arm-no-movt.c
arm-no-neg-immediates.c [ARM] Add a driver option for +no-neg-immediates 2017-03-27 15:34:52 +00:00
arm-ras.c [ARM][AArch64] Cortex-A75 and Cortex-A55 tests 2017-08-21 08:52:45 +00:00
arm-restrict-it.c Remove -cc1 option "-backend-option". 2018-04-12 22:21:36 +00:00
arm-target-as-mthumb.s [ARM] For assembler files recognize -Xassembler or -Wa, -mthumb 2017-11-20 13:43:55 +00:00
arm-thumb-only-cores.c [Driver] Error if ARM mode was selected explicitly for M-profile CPUs. 2017-08-04 10:40:18 +00:00
arm-wchar_t-defaults.c Driver: default to `unsigned int` `wchar_t` for ARM 2017-10-29 06:01:14 +00:00
arm-xscale.c
arm64-as.s
arm64-darwinpcs.c
armv8-crc.c
as-default-dwarf.s
as-dwarf-cie.s
as-mcpu.c [Driver] Turns out the GNU assembler does support falkor/saphira. 2017-11-29 16:42:44 +00:00
as-options.s
asan.c hwasan: add -fsanitize=kernel-hwaddress flag 2018-04-13 18:05:21 +00:00
ast.c
at_file.c
at_file.c.args
at_file.c.args.utf16le
at_file_missing.c
at_file_win.c
at_file_win.c.args
autocomplete.c [OpenCL] Added -std/-cl-std=c++ 2018-04-12 14:17:04 +00:00
autolink_integrated_as.c
avr-mmcu.c [Driver] Add a missing -no-canonical-prefixes to test. 2017-04-20 19:06:24 +00:00
avr-toolchain.c No canonical-prefixes match in avr-toolchain.c. 2017-01-05 10:06:58 +00:00
baremetal.cpp For Windows, allow .exe extension in a test. 2017-10-06 17:12:28 +00:00
biarch.c
bindings.c
cc-log-diagnostics.c
cc-print-options.c
cc1-response-files.c Make '-disable-llvm-optzns' an alias for '-disable-llvm-passes'. 2016-12-23 00:23:01 +00:00
ccc-as-cpp.c
ccc-host-triple-no-integrated-as.c
cl-cc-flags.c Add default calling convention support for regcall. 2017-11-02 21:08:00 +00:00
cl-diagnostics.c Fix cl-diagnostics.c test by hardcoding the version of MSVC to mimic 2017-05-31 20:07:36 +00:00
cl-eh.cpp
cl-fallback.c clang-cl: Pass /Zc:threadSafeInit through to MSVC with /fallback (PR30948) 2016-11-09 00:56:42 +00:00
cl-include.c Attempt to fix cl-include.c on Windows. 2018-02-28 20:58:06 +00:00
cl-inputs.c
cl-link-at-file.c Update clang-cl driver for MSVC 2017. 2017-03-15 16:07:35 +00:00
cl-link.c [Driver] Don't force .exe suffix for lld 2017-06-06 02:06:28 +00:00
cl-options.c Remove redundant -fno-coverage-mapping added in r333761 (already added in r333423) 2018-06-01 15:02:43 +00:00
cl-outputs.c Driver must return non-zero code on errors in command line 2017-05-24 14:57:17 +00:00
cl-pch-errorhandling.cpp [clang-cl] Fix PCH tests to use x86_64 as target 2016-08-02 13:53:00 +00:00
cl-pch-search.cpp [NFC] fix trivial typos in comments 2018-01-29 05:15:18 +00:00
cl-pch-showincludes.cpp test: adjust the target for some Windows tests 2018-01-23 17:05:57 +00:00
cl-pch.c [clang-cl] Fix test that shouldn't be running on non-x86 2016-10-20 17:41:08 +00:00
cl-pch.cpp [clang-cl] Don't emit dllexport inline functions etc. from pch files (PR37801) 2018-06-25 13:23:49 +00:00
cl-response-file.c
cl-runtime-flags.c
cl-x86-flags.c Don't let test write to the source dir after r323426. 2018-01-25 21:49:03 +00:00
cl-zc.cpp [clang-cl] Ignore /Zc:ternary, clang behaves this way already 2017-05-31 14:50:28 +00:00
cl.c
claim-unused.c
clang-c-as-cxx.c
clang-exception-flags.cpp
clang-g-opts.c Driver/Darwin: Set the DWARF version based on the deployment target. 2016-10-17 19:36:18 +00:00
clang-offload-bundler.c Fix clang-offload-bundler test. 2016-10-11 16:06:32 +00:00
clang-offload-bundler.c.o [Driver][OpenMP][CUDA] Add capability to bundle object files in sections of the host binary format. 2016-08-24 15:39:07 +00:00
clang-s-opts.s
clang-translation.c [Driver] Disable uwtable by default in -ffreestanding mode 2017-09-12 22:51:53 +00:00
clang-translation.cppm Modules: Fix implicit output file for .cppm to .pcm instead of stdout 2018-06-14 23:09:06 +00:00
clang_cpp.c
clang_f_opts.c Implement proper support for `-falign-functions` 2018-04-19 23:14:57 +00:00
clang_f_opts.h
clang_wrapv_opts.c
cloudabi.c Don't enable PIE on i686-unknown-cloudabi. 2016-08-11 20:03:22 +00:00
cloudabi.cpp Don't enable PIE on i686-unknown-cloudabi. 2016-08-11 20:03:22 +00:00
code-model.c
codeview-column-info.c [Driver] Don't add -dwarf-column-info when using -gcodeview on non-msvc targets 2018-05-08 20:55:23 +00:00
color-diagnostics.c
compilation_database.c [clang] Get rid of "%T" expansions 2017-08-15 19:47:06 +00:00
complete-member-pointers.cpp Protect a clang-cl file path with --. 2018-05-30 04:08:34 +00:00
compress-noias.c Revert "Revert r305164/5/7." 2017-06-23 15:34:16 +00:00
compress.c Revert "Revert r305164/5/7." 2017-06-23 15:34:16 +00:00
config-file-errs.c Enable configuration files in clang 2018-01-01 13:27:01 +00:00
config-file.c [Driver] Don't warn about unused inputs in config files 2018-05-04 06:05:58 +00:00
config-file2.c Fix typos in clang 2018-04-06 15:14:32 +00:00
config-file3.c [Driver] Fix implicit config files from prefixed symlinks 2018-04-25 21:23:59 +00:00
config-file4.c This test fails if there is no integrated assembler, so change the -c option to -S as it is not important to the test and allows it to pass when there is no integrated assembler. 2018-05-01 23:32:09 +00:00
constructors.c Use -fuse-init-array if no gcc installation is found. 2017-10-26 23:26:29 +00:00
coroutines.c [coroutines] Rename driver flag -fcoroutines to -fcoroutines-ts 2016-10-02 03:31:58 +00:00
coroutines.cpp [coroutines] Rename driver flag -fcoroutines to -fcoroutines-ts 2016-10-02 03:31:58 +00:00
coverage-ld.c Fix tests with CLANG_DEFAULT_LINKER 2017-01-08 10:04:07 +00:00
coverage.c Fix coverage test on Windows bot 2017-11-17 21:55:23 +00:00
coverage_no_integrated_as.c Add -fprofile-dir= to clang. 2016-08-31 23:04:32 +00:00
cpath.c [clang] Get rid of "%T" expansions 2017-08-15 19:47:06 +00:00
cpp-precomp.c
crash-report-crashfile.m [Driver] Add compiler option to generate a reproducer 2017-04-12 21:46:20 +00:00
crash-report-header.h Re-apply r334418 "Enable crash recovery tests on Windows, globs work in the lit internal shell now" 2018-06-12 11:51:22 +00:00
crash-report-modules.m crash-report-modules.m: Shorten path length to make Windows bot happy 2018-06-13 06:48:40 +00:00
crash-report-null.test
crash-report-spaces.c Re-apply r334418 "Enable crash recovery tests on Windows, globs work in the lit internal shell now" 2018-06-12 11:51:22 +00:00
crash-report.c Re-apply r334418 "Enable crash recovery tests on Windows, globs work in the lit internal shell now" 2018-06-12 11:51:22 +00:00
cross-linux.c Fix tests with CLANG_DEFAULT_LINKER 2017-01-08 10:04:07 +00:00
cuda-arch-translation.cu [CUDA] Add amdgpu sub archs 2018-04-04 21:19:27 +00:00
cuda-bad-arch.cu [HIP] Diagnose unsupported host triple 2018-05-11 19:14:34 +00:00
cuda-bail-out.cu [Driver] Make clang/cc conforms to UNIX standard 2017-11-10 01:32:47 +00:00
cuda-bindings.cu [Driver][OpenMP] Add support to create jobs for unbundling actions. 2016-10-27 18:14:55 +00:00
cuda-constructor-alias.cu
cuda-detect-path.cu [CUDA] Detect installation in PATH 2018-01-31 08:26:51 +00:00
cuda-detect.cu [CUDA] Detect installation in PATH 2018-01-31 08:26:51 +00:00
cuda-dwarf-2.cu [NVPTX] Emit debug info in DWARF-2 by default for Cuda devices. 2018-04-18 16:31:09 +00:00
cuda-external-tools.cu [NVPTX] Emit debug info in DWARF-2 by default for Cuda devices. 2018-04-18 16:31:09 +00:00
cuda-macosx.cu [CUDA] Driver changes to support CUDA compilation on MacOS. 2016-11-18 00:41:22 +00:00
cuda-march.cu
cuda-no-pgo-or-coverage.cu [CUDA] Disable PGO and coverage instrumentation in NVPTX. 2018-01-24 17:41:02 +00:00
cuda-no-sanitizers.cu [CUDA] Fix faulty test from rL288448 2016-12-02 02:04:43 +00:00
cuda-no-stack-protector.cu [CUDA] Don't pass -stack-protector to NVPTX compilations. 2017-02-19 19:05:32 +00:00
cuda-not-found.cu [CUDA] Detect installation in PATH 2018-01-31 08:26:51 +00:00
cuda-options.cu [CUDA] Added --[no-]cuda-include-ptx=sm_XX|all option. 2018-04-10 18:38:22 +00:00
cuda-output-asm.cu Remove check for -o option in offloading actions builder. 2016-10-27 01:08:58 +00:00
cuda-phases.cu Add action builder for HIP 2018-05-30 00:49:10 +00:00
cuda-ptxas-path.cu [CUDA] Add --ptxas-path= flag. 2016-12-15 18:44:57 +00:00
cuda-simple.cu [CUDA] Updated CUDA tests that must run w/o CUDA installation. 2016-08-02 23:43:04 +00:00
cuda-unused-arg-warning.cu
cuda-version-check.cu [CUDA] Detect installation in PATH 2018-01-31 08:26:51 +00:00
cuda-windows.cu [Driver] Driver changes to support CUDA compilation on Windows. 2017-01-05 16:52:29 +00:00
cxa-atexit.cpp [Driver] Don't enable "-fregister-global-dtors-with-atexit" by default 2018-04-27 01:42:33 +00:00
darwin-arch-default.c
darwin-as.c
darwin-asan-nofortify.c
darwin-debug-flags.c Update Clang for D20147 ("DebugInfo: New metadata representation for global variables.") 2016-09-13 01:13:19 +00:00
darwin-dsymutil.c
darwin-embedded.c
darwin-infer-simulator-sdkroot.c [driver][darwin] Do not infer -simulator environment for OS version env vars 2018-04-25 22:23:26 +00:00
darwin-iphone-defaults.m IRGen: Add optnone attribute on function during O0 2017-05-29 05:38:20 +00:00
darwin-ld-dedup.c [Driver][Darwin] Pass -no_deduplicate to ld64 2016-10-21 01:49:14 +00:00
darwin-ld-demangle.c
darwin-ld-lto.c [clang] Get rid of "%T" expansions 2017-08-15 19:47:06 +00:00
darwin-ld-pthread.c Driver: Do not warn about unused -pthread when linking on darwin 2017-02-03 23:09:31 +00:00
darwin-ld.c [Driver] Export profiling symbols for -exported_symbols_list 2018-04-13 23:43:59 +00:00
darwin-max-type-align.c
darwin-multiarch-arm.c Fix the unit test darwin-multiarch-arm.c for windows 2016-11-14 17:09:39 +00:00
darwin-objc-defaults.m
darwin-objc-options.m
darwin-sanitizer-ld.c
darwin-sdk-vs-os-version.c Recommit [driver][macOS] Pick the system version for the 2017-07-07 10:41:19 +00:00
darwin-sdkroot.c Split test/Driver/darwin-sdkroot.c into two tests 2018-04-04 02:11:20 +00:00
darwin-simulator-macro.c [driver] Set the 'simulator' environment for Darwin when compiling for 2017-12-07 19:04:10 +00:00
darwin-stdlib.cpp XFAIL Driver/darwin-stdlib.cpp if CLANG_DEFAULT_CXX_STDLIB is set 2016-09-29 07:43:08 +00:00
darwin-verify-debug.c
darwin-version.c Fix typos in clang 2018-04-06 15:14:32 +00:00
darwin-xarch.c
debug-comp-dir.S
debug-main-file.S
debug-options-as.c
debug-options.c Remove -cc1 option "-backend-option". 2018-04-12 22:21:36 +00:00
debug-prefix-map.c
debug-unsupported.c
debug.c
default-image-name.c
default-toolchain.c
defsym.s [clang] Fix D26214: Move error handling out of MC and to the callers. 2016-12-06 02:49:16 +00:00
denormal-fp-math.c Guard flag –fdenormal-fp-math with –fno-fast-math. 2016-10-13 13:22:01 +00:00
diagnostics.c
disable-llvm.c Another fix for r291850 because there are apparently targets which add 2017-01-13 02:47:34 +00:00
dragonfly.c
dyld-prefix.c
dynamic-linker.c
eabi.c
elfiamcu-header-search.c
embed-bitcode.c Fix test/Driver/embed-bitcode.c on non-Darwin host by setting the target explicitly 2017-01-24 18:49:49 +00:00
emulated-tls.cpp [Driver] Pass -f[no-]emulated-tls and set up ExplicitEmulatedTLS 2018-03-01 22:26:19 +00:00
env.c
esan.c [EfficiencySanitizer] [MIPS64] Enables esan clang driver options for MIPS64 2016-09-07 12:23:15 +00:00
exceptions.m
fast-math.c [Driver, CodeGen] rename options to disable an FP cast optimization 2018-04-30 18:19:03 +00:00
fatal-warnings.c
fcomment-block-commands.c
flags.c Add flag to request Clang is ABI-compatible with older versions of itself 2017-08-26 01:04:35 +00:00
fno-escaping-block-tail-calls.c [Driver] Pass Default=false to hasFlag. 2018-03-10 05:55:21 +00:00
fno-rtti-data.cpp Driver: hoist `-fno-rtti-data` to a driver flag 2018-03-01 19:13:43 +00:00
fopenmp.c [Driver] Unify linking of OpenMP runtime. NFCI. 2017-04-19 13:55:39 +00:00
fortran.f95
fpack-struct.c
fparse-all-comments.c
fplugin.c
frame-pointer-elim.c ARM-Darwin: re-enable -momit-leaf-frame-pointer. 2017-01-27 17:53:42 +00:00
frame-pointer.c [RISCV] Fix logic to check if frame pointer should be used 2018-04-12 19:31:37 +00:00
freebsd-mips-as.c
freebsd.c Look for 32-bit libraries in /usr/lib32 for MIPS O32 on FreeBSD. 2018-02-12 22:22:01 +00:00
freebsd.cpp
fsanitize-blacklist.c Relax a FileCheck pattern to make it pass on Windows. 2018-05-07 21:40:53 +00:00
fsanitize-coverage.c hwasan: add -fsanitize=kernel-hwaddress flag 2018-04-13 18:05:21 +00:00
fsanitize-object-size.c [ubsan] Disable the object size check at -O0 2017-06-23 23:15:24 +00:00
fsanitize.c Implement CFI for indirect calls via a member function pointer. 2018-06-26 02:15:47 +00:00
fsjlj-exceptions.c
fubsan-strip-path-components.cpp
fuchsia.c [Driver][Fuchsia] Pass LTO flags to linker 2018-06-05 01:50:59 +00:00
fuchsia.cpp [Fuchsia] Enable static libc++, libc++abi, libunwind 2018-06-23 03:15:07 +00:00
function-alignment.c Implement proper support for `-falign-functions` 2018-04-19 23:14:57 +00:00
function-sections.c
fuse-ld-windows.c [Driver] Allow using a canonical form of '-fuse-ld=' when cross-compiling on Windows. 2018-02-27 02:51:30 +00:00
fuse-ld.c Vary Windows toolchain selection by -fuse-ld 2017-11-06 21:18:05 +00:00
fuzzer.c [libFuzzer] switch -fsanitize=fuzzer from trace-pc-guard to inline-8bit-counters 2017-09-01 18:34:36 +00:00
fveclib.c
gcc-toolchain.cpp
gcc-version-debug.c
gcc_forward.c [Driver] Don't forward -m[no-]unaligned-access options to GCC when assembling/linking 2018-04-11 14:20:37 +00:00
gfortran.f90 Driver must return non-zero code on errors in command line 2017-05-24 14:57:17 +00:00
global-isel.c [Driver] Add an -fexperimental-isel driver option to enable/disable GlobalISel. 2018-01-26 00:27:22 +00:00
gnu-runtime.m
gold-lto-new-pass-man.c Enabling new pass manager in LTO (and thinLTO) link step. 2017-10-05 01:50:48 +00:00
gold-lto-samplepgo.c Add -plugin-opt=sample-profile for thinLTO build. 2017-01-04 00:33:23 +00:00
gold-lto-sections.c Pass -ffunction-sections/-fdata-sections along to gold-plugin 2016-10-13 18:05:53 +00:00
gold-lto.c Revert "Revert "Revert "Revert "Fix LLVMgold plugin name/path for non-Linux."""" 2017-08-22 21:05:01 +00:00
hexagon-hvx.c Fix typos in clang 2018-04-06 15:14:32 +00:00
hexagon-long-calls.c Handle -mlong-calls on Hexagon 2016-08-30 13:57:50 +00:00
hexagon-memops.c [Hexagon] Add driver options for subtarget features 2018-05-15 18:15:59 +00:00
hexagon-nvj.c [Hexagon] Add driver options for subtarget features 2018-05-15 18:15:59 +00:00
hexagon-nvs.c [Hexagon] Add driver options for subtarget features 2018-05-15 18:15:59 +00:00
hexagon-packets.c [Hexagon] Clang side of r327302 in LLVM 2018-03-13 13:30:43 +00:00
hexagon-toolchain-elf.c [Hexagon] Add -ffixed-r19 driver option and translate it to +reserved-r19 2018-02-28 20:31:55 +00:00
hexagon-vectorize.c [Hexagon] Emit a warning when -fvectorize is given without -mhvx 2018-04-16 19:11:17 +00:00
hip-binding.hip [HIP] Fix unbundling 2018-06-06 19:44:10 +00:00
hip-inputs.hip [HIP] Set proper triple and offload kind for the toolchain 2018-05-11 19:21:39 +00:00
hip-toolchain.hip Add HIP toolchain 2018-05-30 00:53:50 +00:00
ident_md.c
immediate-options.c [Driver] Add option to print the resource directory 2017-04-04 21:46:50 +00:00
implicit-function-as-error.c
include-default-header.cl Fix up testcase to: 2017-03-15 23:41:58 +00:00
incompatible_sysroot.c
incremental-linker-compatible.c
index-header-map.c
inhibit-downstream-commands.c
inline-asm.c
instrprof-ld.c Fix tests with CLANG_DEFAULT_LINKER 2017-01-08 10:04:07 +00:00
integrated-as.c
integrated-as.s test: add explicit triples to the invocation 2016-12-26 04:00:54 +00:00
ios-simulator-arcruntime.c
ios-version-min.c
krait-cpu.c
lanai-toolchain.c
lanai-unknown-unknown.cpp Recommit r324107 again. 2018-02-07 22:15:33 +00:00
le32-toolchain.c
le32-unknown-nacl.cpp Recommit r324107 again. 2018-02-07 22:15:33 +00:00
le64-unknown-unknown.cpp Recommit r324107 again. 2018-02-07 22:15:33 +00:00
linker-opts.c [clang] Get rid of "%T" expansions 2017-08-15 19:47:06 +00:00
linux-as.c [PowerPC] Pass CPU to assembler with -no-integrated-as 2017-07-27 08:58:28 +00:00
linux-header-search.cpp [Driver] Update GCC libraries detection logic for Gentoo. 2018-04-07 19:59:58 +00:00
linux-ld.c [Driver] Generate .eh_frame_hdr for static executables too. 2018-02-21 22:36:51 +00:00
lit.local.cfg
lto-dwo.c Add an option to support debug fission on implicit ThinLTO. 2018-06-25 23:05:27 +00:00
lto-jobs.c [LTO] Add -flto-jobs=N to control backend parallelism 2016-09-23 20:38:09 +00:00
lto-plugin-darwin.c Degeneralize more tests. 2017-08-22 21:16:22 +00:00
lto-plugin-linux.c Degeneralize more tests. 2017-08-22 21:16:22 +00:00
lto-plugin-windows.c Degeneralize more tests. 2017-08-22 21:16:22 +00:00
lto-unit.c [PS4] Disable LTO unit features under ThinLTO, like for Darwin. 2017-07-13 21:25:47 +00:00
lto.c Revert "Revert "Revert "Revert "Fix LLVMgold plugin name/path for non-Linux."""" 2017-08-22 21:05:01 +00:00
lto.cu [CUDA] add REQUIRES fields for CUDA variants of LTO tests. 2018-03-22 16:47:41 +00:00
m_and_mm.c Ignore return value in test. 2017-06-16 19:29:20 +00:00
macho-embedded.c
masm.c Attempt to fix test/Driver/masm.c on the ARM bots. 2018-01-17 16:03:08 +00:00
masm.s
mbig-obj.c Use -### so the mbig-obj.c test passes when there is no registered x86 target 2017-01-04 18:50:51 +00:00
mg.c
mglobal-merge.c Remove -cc1 option "-backend-option". 2018-04-12 22:21:36 +00:00
miamcu-opt.c Support setting default value for -rtlib at build time 2016-07-27 08:15:54 +00:00
miamcu-opt.cpp Support setting default value for -rtlib at build time 2016-07-27 08:15:54 +00:00
mingw-libgcc.c [MinGW, CrossWindows] Allow passing -static together with -shared 2018-02-27 19:42:19 +00:00
mingw-msvcrt.c [test] Extend the Driver/mingw-msvcrt.c test with a -SAME check. NFC. 2018-02-27 08:35:35 +00:00
mingw-sysroot.cpp [test] Add a testcase for MinGW sysroot detections from SVN r330244. NFC. 2018-04-25 21:24:04 +00:00
mingw.cpp [GCC] Match a GCC version with a patch suffix without a third version component 2018-04-24 08:50:11 +00:00
mips-abi.c [mips] Add missing mips-registered-target to mips test. 2017-08-11 15:23:23 +00:00
mips-abicalls-error.c [mips] Improve handling of -fno-[pic/PIC] option 2018-05-07 14:30:49 +00:00
mips-abicalls-warning.c [mips] Improve handling of -fno-[pic/PIC] option 2018-05-07 14:30:49 +00:00
mips-as.c [mips] Improve handling of -fno-[pic/PIC] option 2018-05-07 14:30:49 +00:00
mips-cs.cpp Fix clang tests 2016-10-18 19:22:20 +00:00
mips-eleb.c
mips-features.c [mips] Improve handling of -fno-[pic/PIC] option 2018-05-07 14:30:49 +00:00
mips-float.c
mips-fsf.cpp Fix clang tests 2016-10-18 19:22:20 +00:00
mips-gpopt-warning.c [mips] Fix typo (missed space) in the warning message 2017-08-04 08:25:15 +00:00
mips-ias-Wa.s
mips-img-v2.cpp Fix clang tests 2016-10-18 19:22:20 +00:00
mips-img.cpp Fix clang tests 2016-10-18 19:22:20 +00:00
mips-indirect-branch.c [mips] Spectre variant two mitigation for MIPSR2 2018-02-21 00:05:05 +00:00
mips-integrated-as.s
mips-mabs-warning.c [mips] Introducing option -mabs=[legacy/2008] 2017-08-24 16:06:30 +00:00
mips-mti-linux.c Fix tests with CLANG_DEFAULT_LINKER 2017-01-08 10:04:07 +00:00
mips-mti.cpp
mips-reduced-toolchain.cpp
mipsel-nacl-defines.cpp Revert "Basic: match GCC behaviour for SuS macro" 2017-02-07 19:00:06 +00:00
modules-cache-path.m
modules-ts.cpp P0629R0: Switch to latest proposal for distinguishing module interface from implementation. 2017-04-21 22:39:18 +00:00
modules.m [Modules] Turn on system header validation for implicit modules 2018-04-18 06:07:49 +00:00
modules.mm
montavista-gcc-toolchain.c [Driver] Make -print-libgcc-file-name print compiler-rt lib when used 2016-10-10 12:23:40 +00:00
mprefer-vector-width.c [Driver][CodeGen] Add -mprefer-vector-width driver option and attribute during CodeGen. 2017-12-11 21:09:19 +00:00
mrecip.c
ms-bitfields.c
msan.c
msc-version.c Fix msc-version.c test to handle _MSC_VER=1910 2017-03-03 00:08:55 +00:00
msvc-compiler-rt.c
msvc-link.c
msvc-triple.c Add more tests for MSVC version handling. 2016-12-07 23:39:44 +00:00
msvc_forward.c
myriad-toolchain.c [Myriad] Remove invalidated -elf flag for MoviAsm 2018-01-08 20:36:08 +00:00
nacl-direct.c Adapt tests after making mcpu=generic the default for armv7-a and armv8-a. 2017-06-01 07:31:50 +00:00
netbsd.c Ensure that clang -pthread creates the right macro. -D_POSIX_THREADS 2017-01-16 14:07:24 +00:00
netbsd.cpp Extend NetBSD/AArch64 to cover Big Endian as well. 2017-01-09 11:22:14 +00:00
nios2-cpu.c Reapply "Frontend support for Nios2 target" 2017-06-27 09:48:24 +00:00
no-arc-exception-silence.m [Driver] Prevent no-arc-exception-silence.m test from writing output. 2017-01-25 12:55:53 +00:00
no-canonical-prefixes.c Don't let test/Driver/no-canonical-prefixes.c form a symlink cycle the second time it runs. 2018-06-18 18:50:35 +00:00
no-integrated-as-win.c
no-integrated-as.c
no-integrated-as.s
no-objc-arr.m
no-objc-default-synthesize-properties.m
no-sibling-calls.c
nodefaultlib.c
noexecstack.c
noinline.c
nostdincxx.cpp
nostdlib.c Reland r311836 - [Driver] Use arch type to find compiler-rt libraries (on Linux) 2017-08-28 20:29:52 +00:00
nostdlibinc.c
nostdlibxx.cpp Introduce -nostdlib++ flag to disable linking the C++ standard library. 2017-07-25 18:02:57 +00:00
nozlibcompress.c test: fix negative test case 2017-06-23 16:52:49 +00:00
objc++-cpp-output.mm
objc-cpp-output.m
objc-sdk-migration-options.m
objc-weak.m [driver][darwin] Take the OS version specified in "-target" as the target 2017-12-19 19:05:04 +00:00
offloading-interoperability.c Allow .exe extension to ld to fix test with mingw. 2016-08-01 10:14:54 +00:00
openbsd.c Also pass -pie back to the linker when linking on OpenBSD. 2017-07-30 21:13:59 +00:00
opencl.cl [OpenCL] Added -std/-cl-std=c++ 2018-04-12 14:17:04 +00:00
openmp-offload-gpu.c [NVPTX] Emit debug info in DWARF-2 by default for Cuda devices. 2018-04-18 16:31:09 +00:00
openmp-offload.c [test] Pass in fixed triple for openmp-offload.c 2017-10-04 13:54:09 +00:00
opt-record.c [clang] -foptimization-record-file= should imply -fsave-optimization-record 2017-12-19 17:16:45 +00:00
option-aliases.c
output-file-cleanup.c [Driver] Make clang/cc conforms to UNIX standard 2017-11-10 01:32:47 +00:00
output-file-is-dir.c
parse-progname.c [clang] Get rid of "%T" expansions 2017-08-15 19:47:06 +00:00
pch-deps.c
phases.c
pic.c [mips] Prevent PIC to be set to level 2 2018-04-16 10:21:24 +00:00
ppc-abi.c Use PIC relocation mode by default for PowerPC64 ELF 2016-12-15 00:02:57 +00:00
ppc-dependent-options.cpp [Power9] Builtins for ELF v.2 ABI conformance - front end portion 2016-09-27 10:45:22 +00:00
ppc-endian.c
ppc-f128-support-check.c [PowerPC] The __float128 type should only be available on Power9 2018-06-13 16:05:05 +00:00
ppc-features.cpp [PowerPC] Option for secure plt mode 2018-04-11 12:24:44 +00:00
prefixed-tools.c Fix tests with CLANG_DEFAULT_LINKER 2017-01-08 10:04:07 +00:00
preprocess-multiple.c
preprocessor.c
preserve-as-comments.c Replace preserve-as-comments CodeGen test with driver test 2016-07-28 00:36:34 +00:00
preserve-uselistorder.c
print-empty-prog-name.c Driver: fix an assertion with `-print-prog-name=` 2018-05-01 18:40:42 +00:00
print-libgcc-file-name-clangrt.c Reland r311836 - [Driver] Use arch type to find compiler-rt libraries (on Linux) 2017-08-28 20:29:52 +00:00
print-libgcc-file-name-libgcc.c [Driver] Make -print-libgcc-file-name print compiler-rt lib when used 2016-10-10 12:23:40 +00:00
ps4-analyzer-defaults.cpp
ps4-cpu-defaults.cpp
ps4-header-search.c
ps4-linker-non-win.c [clang] Get rid of "%T" expansions 2017-08-15 19:47:06 +00:00
ps4-linker-win.c [clang] Get rid of "%T" expansions 2017-08-15 19:47:06 +00:00
ps4-pic.c
ps4-runtime-flags.c
ps4-sdk-root.c
pth.c
qa_override.c
redundant-args.c
redzone.c
relax.c
relax.s
reloc-model.c [Driver] Don't crash on invalid values of -mrelocation-model=. 2017-04-01 21:07:07 +00:00
renderscript.rs
response-file-extra-whitespace.c Use printf instead of "echo -ne". 2016-10-26 03:38:48 +00:00
response-file.c Fix broken test. We can't assume that 2MB of args is enough to require a response file. 2017-04-13 00:46:50 +00:00
retain-comments-from-system-headers.c
rewrite-legacy-objc.m Add a command line option 'fregister_global_dtors_with_atexit' to 2018-04-17 18:41:52 +00:00
rewrite-map-files.c Driver: avoid failing in the backend 2016-09-26 04:48:22 +00:00
rewrite-map-in-diagnostics.c Revert 320391: Certain targets are failing, pulling back to diagnose. 2017-12-11 18:14:51 +00:00
rewrite-objc.m Add a command line option 'fregister_global_dtors_with_atexit' to 2018-04-17 18:41:52 +00:00
riscv-abi.c [RISCV] Add the RISCV target and compiler driver 2018-01-11 13:36:56 +00:00
riscv-arch.c [RISCV] More validations on the input value of -march= 2018-04-25 22:42:38 +00:00
riscv-features.c [RISCV] Add -mrelax/-mno-relax flags to enable/disable RISCV linker relaxation 2018-05-29 00:44:15 +00:00
riscv-gnutools.c Revert "Revert rC322769: [RISCV] Propagate -mabi and -march values to GNU assembler." 2018-01-31 18:11:09 +00:00
riscv32-toolchain.c [RISCV][NFC] Use more appropriate label for CHECK lines 2018-05-14 09:14:43 +00:00
riscv64-toolchain.c Recommit r324107 again. 2018-02-07 22:15:33 +00:00
ropi-rwpi.c [ARM] Command-line options for embedded position-independent code 2016-08-08 15:28:40 +00:00
rtti-options.cpp Do not enable RTTI with -fexceptions, for PS4 2018-05-18 23:32:01 +00:00
sanitize_unwind_tables.c Hardware-assisted AddressSanitizer (clang part). 2017-12-09 01:32:07 +00:00
sanitizer-ld.c [Driver] Make scudo compatible with -fsanitize-minimal-runtime 2018-06-22 14:31:30 +00:00
save-stats.c Fix some tests that were failing on Windows 2018-04-20 15:33:44 +00:00
save-temps.c
show-option-names.c [Driver] Use -fsyntax-only in test/Driver/show-option-names.c 2016-10-11 18:38:33 +00:00
solaris-header-search.cpp test/Driver: Add some --stdlib=platform, NFC. 2018-01-23 18:12:12 +00:00
solaris-ld.c Fix test Driver/solaris-ld.c for Windows. 2018-01-24 00:05:01 +00:00
solaris-opts.c
sparc-as.c [Sparc] Use the leon arch for Leon3's when using an external assembler 2018-05-24 06:16:02 +00:00
sparc-float.c
sparcv9-as.c
split-debug.c Reland r332885, "CodeGen, Driver: Start using direct split dwarf emission in clang." 2018-05-22 18:52:37 +00:00
split-debug.h Driver must return non-zero code on errors in command line 2017-05-24 14:57:17 +00:00
split-debug.s Reland r332885, "CodeGen, Driver: Start using direct split dwarf emission in clang." 2018-05-22 18:52:37 +00:00
split-stack-ld.c
stack-arg-probe.c Support for the mno-stack-arg-probe flag 2018-02-23 13:47:36 +00:00
stack-protector.c [Darwin] Enable -fstack-protector (back) by default with -ffreestanding 2017-09-05 23:50:58 +00:00
stack-size-section.c [Driver] Add flag enabling the function stack size section that was added in r319430 2018-01-08 13:42:26 +00:00
stackrealign.c
std.c
std.cpp [c++2a] Add option -std=c++2a to enable support for potential/transitional C++2a features 2017-07-16 00:23:04 +00:00
symbol-rewriter.c
sysroot-flags.c Revert rL301998: "Fix a bug that -isysroot is completely ignored on Unix" 2017-05-03 06:02:45 +00:00
sysroot.c Fix clang tests 2016-10-18 19:22:20 +00:00
systemz-as.s
systemz-features.cpp
systemz-march.c [SystemZ] Add support for IBM z14 processor (1/3) 2017-07-17 17:45:57 +00:00
target-abi-cc1as.s
target-as.s
target-override.c Put target deduced from executable name at the start of argument list 2017-09-20 15:22:27 +00:00
target-triple-deployment.c
target.c
thinlto.c Revert "Revert "Revert "Revert "Fix LLVMgold plugin name/path for non-Linux."""" 2017-08-22 21:05:01 +00:00
thinlto.cu [CUDA] add REQUIRES fields for CUDA variants of LTO tests. 2018-03-22 16:47:41 +00:00
thinlto_backend.c [ThinLTO] Pass -save-temps to LTO backend for distributed ThinLTO builds 2018-04-17 16:39:25 +00:00
thread-model.c
tsan.c
types.c [RISCV] Enable __int128_t and __uint128_t through clang flag 2018-02-25 03:58:23 +00:00
unavailable_aligned_allocation.cpp [driver][darwin] Take the OS version specified in "-target" as the target 2017-12-19 19:05:04 +00:00
unix-conformance.c [Driver] Make clang/cc conforms to UNIX standard 2017-11-10 01:32:47 +00:00
unknown-arg.c [Driver] Temporarily remove test for LLVM findNearest 2018-05-19 12:44:02 +00:00
unknown-gcc-arch.c
unknown-std.S Stop asserting when a meaningless -std= flag is passed for a non-compilation 2017-02-14 23:41:38 +00:00
unknown-std.c Correct line endings that got mixed up in r320089; NFC. 2017-12-07 23:04:11 +00:00
unknown-std.cl [OpenCL] Added -std/-cl-std=c++ 2018-04-12 14:17:04 +00:00
unknown-std.cpp Add --cuda-path to mock a CUDA Toolkit installation to avoid 2017-12-12 18:33:39 +00:00
unsupported-faltivec.c Remove the -faltivec alias option and replace it with -maltivec everywhere. 2017-03-21 22:06:18 +00:00
unsupported-option.c [Driver] Suggest correctly spelled driver options 2018-01-06 00:25:40 +00:00
unsupported-target-arch.c Fix crash with unsupported architectures in Linux/Gnu target triples. 2016-12-01 11:02:59 +00:00
verify_pch.m
vfsoverlay.c
via-file-asm.c
visibility.cpp
warning-options.cpp [clang] Get rid of "%T" expansions 2017-08-15 19:47:06 +00:00
warning-options_pedantic.cpp
wasm-toolchain.c [WebAssembly] Don't pass -ffunction-section/-fdata-sections 2018-01-31 18:55:22 +00:00
wasm-toolchain.cpp [WebAssembly] Don't pass -ffunction-section/-fdata-sections 2018-01-31 18:55:22 +00:00
wasm32-unknown-unknown.cpp
wasm64-unknown-unknown.cpp
watchos-version-min.c
whole-program-vtables.c Use -- to prevent the driver from confusing paths with flags, should fix Mac bot. 2017-09-13 21:49:17 +00:00
win-macho-unwind.c
windows-arm-minimal-arch.c
windows-cross.c [MinGW, CrossWindows] Allow passing -static together with -shared 2018-02-27 19:42:19 +00:00
windows-exceptions.cpp [Driver] Stop passing -fseh-exceptions for x86_64-windows-msvc 2018-06-06 23:09:02 +00:00
windows-pic.cpp Driver: warn on -fPIC/-fpic/-fPIE/-fpie on Windows 2016-12-26 03:35:24 +00:00
windows-thumb.s [ARM] Pass thumb as architecture to the underlying tools, when targeting windows 2016-07-27 14:12:20 +00:00
windows-wildcard-expansion.c
woa-fp.c
woa-restrict-it.c Remove -cc1 option "-backend-option". 2018-04-12 22:21:36 +00:00
working-directory-and-abs.c
working-directory.c
x86-march.c [X86] Introduce archs: goldmont-plus & tremont 2018-04-16 08:10:10 +00:00
x86-target-features.c [x86] invpcid intrinsic 2018-05-25 06:34:42 +00:00
x86_64-nacl-defines.cpp Revert "Basic: match GCC behaviour for SuS macro" 2017-02-07 19:00:06 +00:00
x86_features.c
x86_m16.c
xcore-opts.c