hanchenye-llvm-project/clang/test/Driver
Aaron Puchert e1dc495e63 [Clang] Harmonize Split DWARF options with llc
Summary:
With Split DWARF the resulting object file (then called skeleton CU)
contains the file name of another ("DWO") file with the debug info.
This can be a problem for remote compilation, as it will contain the
name of the file on the compilation server, not on the client.

To use Split DWARF with remote compilation, one needs to either

* make sure only relative paths are used, and mirror the build directory
  structure of the client on the server,
* inject the desired file name on the client directly.

Since llc already supports the latter solution, we're just copying that
over. We allow setting the actual output filename separately from the
value of the DW_AT_[GNU_]dwo_name attribute in the skeleton CU.

Fixes PR40276.

Reviewers: dblaikie, echristo, tejohnson

Reviewed By: dblaikie

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

llvm-svn: 363496
2019-06-15 15:38:51 +00:00
..
Inputs [Driver] Change layout of per-target runtimes to resemble multiarch 2019-05-27 23:23:50 +00:00
XRay NFC, make XFAIL work on macOS correctly for test/Driver/XRay/xray-instrument-os.c 2019-05-09 20:35:41 +00:00
B-opt.c [Driver] Verify GCCInstallation is valid 2019-05-21 21:21:35 +00:00
O.c
Ofast.c
Wp-args.c
Xarch.c [clang-cl] Provide separate flags for all the /O variants 2018-09-25 14:10:26 +00:00
Xlinker-args.c
aarch64-call-saved-x-register.c [AArch64] Support adding X[8-15,18] registers as CSRs. 2018-09-25 16:48:40 +00:00
aarch64-cpus.c [clang] Add support for Exynos M5 (NFC) 2019-03-22 18:44:09 +00:00
aarch64-dotprod.c [AArch64] Add support for Cortex-A76 and Cortex-A76AE 2019-02-25 15:11:31 +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-call-saved-x-register.c [AArch64] Support adding X[8-15,18] registers as CSRs. 2018-09-25 16:48:40 +00:00
aarch64-fixed-x-register.c [AArch64] Support reserving arbitrary general purpose registers 2019-02-13 17:28:47 +00:00
aarch64-mgeneral_regs_only.c
aarch64-mte.c [AArch64][v8.5A] Test clang option for the Memory Tagging Extension 2018-10-02 09:38:59 +00:00
aarch64-outliner.c [MachineOutliner] Properly pass -moutline along to the toolchain 2018-07-06 22:24:56 +00:00
aarch64-predres.c [NFC][Clang] Add driver tests for sb and predres 2019-01-25 14:57:22 +00:00
aarch64-rand.c [AArch64][v8.5A] Test optional Armv8.5-A random number extension 2018-09-27 14:20:59 +00:00
aarch64-ras.c
aarch64-rcpc.s
aarch64-rdm.c
aarch64-security-options.c [NFC][Clang][Aarch64] Add missing test file 2018-11-07 11:42:02 +00:00
aarch64-ssbs.c [AArch64] Add command-line option for SSBS 2018-12-03 14:40:37 +00:00
addrsig.c [Driver] Default to -fno-addrsig on Android. 2019-01-08 22:33:59 +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] gfx1010 wave32 clang support 2019-06-13 23:47:59 +00:00
amdgpu-macros.cl [AMDGPU] gfx1011/gfx1012 clang support 2019-06-14 00:33:59 +00:00
amdgpu-mcpu.cl [AMDGPU] gfx1011/gfx1012 clang support 2019-06-14 00:33:59 +00:00
amdgpu-toolchain-opencl.cl
amdgpu-toolchain.c AMDGPU: Use AMDGPU toolchain for other OSes 2019-06-14 13:39:57 +00:00
amdgpu-visibility.cl Add -fapply-global-visibility-to-externs for -cc1 2019-01-28 17:12:19 +00:00
analyze.c
analyzer-target-enabled-checkers.cpp
ananas.c
android-aarch64-link.cpp set default max-page-size to 4KB in lld for Android Aarch64 2018-11-29 18:52:22 +00:00
android-gcc-toolchain.c [Driver] fix broken test 2018-10-22 21:25:53 +00:00
android-ndk-standalone.cpp [Driver] Reland again again: Default Android toolchains to libc++. 2018-11-05 20:57:46 +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
arch.c
arclite-link-external-toolchain.c [clang][driver] Weaken the test from 359353 to appease Windows bots 2019-04-26 22:58:31 +00:00
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
arm-alignment.c
arm-arch-darwin.c
arm-compiler-rt.c
arm-cortex-cpus.c [FIX] Change test to read file instead 2019-05-09 11:23:00 +00:00
arm-default-build-attributes.s
arm-dotprod.c [AArch64] Add support for Cortex-A76 and Cortex-A76AE 2019-02-25 15:11:31 +00:00
arm-execute-only.c Remove unused CHECK lines leftover from r306928. 2018-03-30 18:39:28 +00:00
arm-features.c [AArch64][ARM] Context sensitive meaning of crypto 2018-10-04 07:38:53 +00:00
arm-fixed-r9.c
arm-float-abi.c [Driver] Fix float ABI default for Android ARMv8. 2019-02-21 21:13:03 +00:00
arm-hwdiv.c
arm-ias-Wa.s [ADT] Normalize empty triple components 2018-08-08 22:23:57 +00:00
arm-implicit-it.s
arm-long-calls.c
arm-mfpu.c [ARM] Fix bugs introduced by the fp64/d32 rework. 2019-06-07 12:42:54 +00:00
arm-multilibs.c
arm-no-movt.c
arm-no-neg-immediates.c
arm-ras.c
arm-restrict-it.c Remove -cc1 option "-backend-option". 2018-04-12 22:21:36 +00:00
arm-sb.c [NFC][Clang] Add driver tests for sb and predres 2019-01-25 14:57:22 +00:00
arm-target-as-mthumb.s [ADT] Normalize empty triple components 2018-08-08 22:23:57 +00:00
arm-thumb-only-cores.c
arm-wchar_t-defaults.c
arm-xscale.c
arm64-as.s
arm64-darwinpcs.c
armv8-crc.c
armv8.1m.main.c [ARM] Fix bugs introduced by the fp64/d32 rework. 2019-06-07 12:42:54 +00:00
armv8.1m.main.s [ARM] Allow "-march=foo+fp" to vary with foo 2019-06-05 13:12:01 +00:00
as-default-dwarf.s
as-dwarf-cie.s Change llvm-{objdump,readobj} -long-option to --long-option or well-known short options in tests. NFC 2019-05-01 09:30:45 +00:00
as-mcpu.c
as-options.s
asan.c [Clang] Disable new PM for tests that use optimization level -O1, -O2 and -O3 2019-06-05 03:17:11 +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 Initial support for vectorization using MASSV (IBM MASS vector library) 2019-06-05 01:57:57 +00:00
autolink_integrated_as.c
avr-link-mcu-family-unimplemented.c [AVR] Automatically link CRT and libgcc from the system avr-gcc 2019-05-19 09:54:14 +00:00
avr-link-no-mcu-specified.c [AVR] Automatically link CRT and libgcc from the system avr-gcc 2019-05-19 09:54:14 +00:00
avr-link-nostdlib-nodefaultlibs.c [AVR] Automatically link CRT and libgcc from the system avr-gcc 2019-05-19 09:54:14 +00:00
avr-mmcu.c
avr-toolchain.c
baremetal.cpp [ADT] Normalize empty triple components 2018-08-08 22:23:57 +00:00
biarch.c [ADT] Normalize empty triple components 2018-08-08 22:23:57 +00:00
bindings.c
cc-log-diagnostics.c
cc-print-options.c
cc1-response-files.c
ccc-as-cpp.c
ccc-host-triple-no-integrated-as.c
cf-runtime-abi.c Driver,CodeGen: introduce support for Swift CFString layout 2018-10-24 23:28:28 +00:00
check-time-trace.cpp Make sure a test from r363036 does not write into a working directory 2019-06-11 12:05:03 +00:00
cl-cc-flags.c Fix test not to use UNSUPPORTED as a FileCheck prefix. 2019-05-20 14:57:18 +00:00
cl-diagnostics.c
cl-eh.cpp
cl-fallback.c
cl-idl.cpp [clang-cl] Treat inputs as C++ with /E, like MSVC 2018-12-26 21:04:08 +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
cl-link.c
cl-options.c Driver: support `/Zc:char8_t` and `/Zc:char8_t-` 2019-05-28 18:26:00 +00:00
cl-outputs.c
cl-pch-errorhandling.cpp
cl-pch-search.cpp [clang-cl, PCH] Implement support for MS-style PCH through headers 2018-07-05 17:22:13 +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
cl-pch.cpp [clang-cl, PCH] Support for /Yc and /Yu without filename and #pragma hdrstop 2018-09-11 17:10:44 +00:00
cl-response-file.c
cl-runtime-flags.c
cl-showfilenames.c Try harder to fix test/Driver/cl-showfilenames.c 2018-10-13 22:22:03 +00:00
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] Alias /Zc:alignedNew[-] to -f[no-]aligned-allocation 2019-01-15 21:24:55 +00:00
cl.c
claim-unused.c
clang-c-as-cxx.c
clang-exception-flags.cpp
clang-g-opts.c [Driver][Darwin] Use Host Triple to infer target os version 2018-07-03 04:15:49 +00:00
clang-offload-bundler.c [CommandLine] Change help output to prefix long options with `--` instead of `-`. NFC . Part 3 of 5 2019-05-03 17:47:29 +00:00
clang-offload-bundler.c.o
clang-s-opts.s
clang-translation.c [AArch64] Support selecting TPIDR_EL[1-3] as the thread base 2019-03-29 13:32:41 +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 Order File Instrumentation: add clang support for -forder-file-instrumentation 2019-03-04 20:30:30 +00:00
clang_f_opts.h
clang_wrapv_opts.c
cloudabi.c
cloudabi.cpp
code-model.c [AArch64] Add Tiny Code Model for AArch64 2018-08-22 11:34:28 +00:00
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
compiler-rt-unwind.c This test assumes that -rtlib defaults to libgcc. But that isn't true in the face of -DCLANG_DEFAULT_RTLIB=compiler-rt. 2019-03-21 23:30:50 +00:00
complete-member-pointers.cpp Protect a clang-cl file path with --. 2018-05-30 04:08:34 +00:00
compress-noias.c [cc1as] Change -compress-debug-sections= to use -- 2019-05-11 01:14:50 +00:00
compress.c [cc1as] Change -compress-debug-sections= to use -- 2019-05-11 01:14:50 +00:00
config-file-errs.c
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 Request init/fini array on FreeBSD 12 and later 2018-06-29 19:18:17 +00:00
coroutines.c
coroutines.cpp
coverage-ld.c
coverage.c
coverage_no_integrated_as.c [CMake] Use normalized Windows target triples 2018-08-09 02:16:18 +00:00
cpath.c
cpp-precomp.c
crash-diagnostics-dir.c [Driver] Create non-existent directory for -fcrash-diagnostics-dir 2019-05-04 00:55:14 +00:00
crash-report-crashfile.m
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 Disable clang crash-report-modules.m test on Windows again 2018-07-20 22:36:33 +00:00
crash-report-null.test [CMake] Use normalized Windows target triples 2018-08-09 02:16:18 +00:00
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
cspgo-lto.c Fix invocation of Gold plugin with LTO after r355331 2019-03-13 23:54:52 +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
cuda-bindings.cu
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] Relax lit test condition after r352798. 2019-02-01 11:36:23 +00:00
cuda-dwarf-2.cu [CUDA][OPENMP][NVPTX]Improve logic of the debug info support. 2018-12-12 14:52:27 +00:00
cuda-external-tools.cu [HIP] Support early finalization of device code for -fno-gpu-rdc 2018-10-02 17:48:54 +00:00
cuda-macosx.cu [CUDA] Fix two failed test cases using --cuda-path-ignore-env 2018-09-26 07:07:48 +00:00
cuda-march.cu
cuda-no-pgo-or-coverage.cu [ADT] Normalize empty triple components 2018-08-08 22:23:57 +00:00
cuda-no-sanitizers.cu [ADT] Normalize empty triple components 2018-08-08 22:23:57 +00:00
cuda-no-stack-protector.cu [ADT] Normalize empty triple components 2018-08-08 22:23:57 +00:00
cuda-not-found.cu [CUDA] Detect installation in PATH 2018-01-31 08:26:51 +00:00
cuda-options.cu [Driver] Move the "-o OUT -x TYPE SRC.c" flags to the end of -cc1 2019-05-23 18:35:43 +00:00
cuda-output-asm.cu [ADT] Normalize empty triple components 2018-08-08 22:23:57 +00:00
cuda-phases.cu [HIP] Fix device only compilation 2018-11-14 04:47:31 +00:00
cuda-ptxas-path.cu
cuda-simple.cu [CUDA] add support for the new kernel launch API in CUDA-9.2+. 2019-01-31 21:34:03 +00:00
cuda-unsupported-debug-options.cu Fix tests after rC357150 2019-03-28 08:41:17 +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
cxa-atexit.cpp [hexagon] restore -fuse-cxa-atexit by default 2018-08-17 03:53:51 +00:00
darwin-arch-default.c
darwin-as.c
darwin-asan-nofortify.c Revert r337635 "[Driver] Sanitizer support based on runtime library presence" 2018-07-31 21:57:35 +00:00
darwin-debug-flags.c
darwin-dsymutil.c
darwin-embedded.c
darwin-fapple-link-rtlib.c [Darwin] Introduce a new flag, -fapple-link-rtlib that forces linking of the builtins library. 2019-05-10 23:24:20 +00:00
darwin-header-search-libcxx.cpp Add back --sysroot support for darwin header search. 2019-05-22 20:39:51 +00:00
darwin-header-search-libstdcxx.cpp Mark tests from r361278 as unsupported on Windows. 2019-05-22 12:07:52 +00:00
darwin-header-search-system.cpp Add back --sysroot support for darwin header search. 2019-05-22 20:39:51 +00:00
darwin-infer-simulator-sdkroot.c Add REQUIRES: native to a test that assumes it 2018-08-01 13:41:11 +00:00
darwin-iphone-defaults.m
darwin-ld-dedup.c
darwin-ld-demangle.c
darwin-ld-lto.c Fix the tests from r350970 2019-01-29 20:13:02 +00:00
darwin-ld-pthread.c
darwin-ld.c Make -mno-outline pass -enable-machine-outliner=never to ld in LTO 2019-03-26 21:22:42 +00:00
darwin-max-type-align.c
darwin-multiarch-arm.c
darwin-objc-defaults.m
darwin-objc-options.m
darwin-sanitizer-ld.c Revert r337635 "[Driver] Sanitizer support based on runtime library presence" 2018-07-31 21:57:35 +00:00
darwin-sdk-version.c Make test/Driver/darwin-sdk-version.c pass if the host triple is 32-bit 2019-01-03 00:17:02 +00:00
darwin-sdk-vs-os-version.c
darwin-sdkroot.c Split test/Driver/darwin-sdkroot.c into two tests 2018-04-04 02:11:20 +00:00
darwin-simulator-macro.c
darwin-stdlib.cpp [clang][Darwin] Refactor header search path logic into the driver 2019-05-21 17:48:04 +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 DebugInfo: Default to standalone debug when tuning for LLDB 2019-04-16 00:16:29 +00:00
debug-prefix-map.S Support -fdebug-prefix-map for assembler source (pass to cc1as). This 2018-07-10 15:15:24 +00:00
debug-prefix-map.c
debug-unsupported.c
debug.c
default-image-name.c
default-toolchain.c
defsym.s
denormal-fp-math.c
diagnostics.c
disable-llvm.c
dragonfly.c
dyld-prefix.c
dynamic-linker.c
eabi.c
elfiamcu-header-search.c
embed-bitcode.c
embed-bitcode.s Change llvm-{objdump,readobj} -long-option to --long-option or well-known short options in tests. NFC 2019-05-01 09:30:45 +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
exceptions.m
fast-math.c [Android] Default to -fno-math-errno 2018-08-22 17:43:05 +00:00
fatal-warnings.c
fcomment-block-commands.c
fembed-bitcode.c [Driver] Render target options (e.g. -fuse-init-array) for -fembed-bitcode 2019-05-30 02:30:04 +00:00
flags.c
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 [MinGW] Link to correct openmp library 2018-10-23 06:33:22 +00:00
fortran.f95
fpack-struct.c
fparse-all-comments.c
fplugin.c
frame-pointer-elim.c Enable frame pointer elimination for OpenBSD on powerpc. 2019-04-19 18:41:40 +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 [mips] Use more conservative default CPUs for MIPS on FreeBSD. 2018-06-26 19:48:05 +00:00
freebsd.c IAS is now enabled for all OS on MIPS64 2019-04-08 00:03: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 [MSan] add KMSAN support to Clang driver 2018-09-07 09:21:09 +00:00
fsanitize-object-size.c [Driver] Conform warn_drv_object_size_disabled_O0 to DefaultWarnNoError 2018-07-12 19:53:15 +00:00
fsanitize.c [asan] Add gcc 8's driver option -fsanitize=pointer-compare and -fsanitize=pointer-substract. 2019-04-12 14:14:58 +00:00
fsjlj-exceptions.c
fubsan-strip-path-components.cpp
fuchsia.c [Clang] Rename -split-dwarf-file to -split-dwarf-output 2019-06-15 14:07:43 +00:00
fuchsia.cpp [Driver] Change layout of per-target runtimes to resemble multiarch 2019-05-27 23:23:50 +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
fuzzer.c Revert r337635 "[Driver] Sanitizer support based on runtime library presence" 2018-07-31 21:57:35 +00:00
fveclib.c Initial support for vectorization using MASSV (IBM MASS vector library) 2019-06-05 01:57:57 +00:00
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
gcodeview-ghash.c Add missing test for r347072 -gcodeview-ghash 2018-11-16 23:17:11 +00:00
gfortran.f90
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
gold-lto-samplepgo.c
gold-lto-sections.c
gold-lto.c
header-module.cpp Reapply "Fix regression in behavior of clang -x c++-header -fmodule-name=XXX" 2018-11-05 12:46:02 +00:00
hexagon-hvx.c [Hexagon] Add support for Hexagon V66 2018-12-05 21:38:35 +00:00
hexagon-long-calls.c
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 support for Hexagon V66 2018-12-05 21:38:35 +00:00
hexagon-vectorize.c Revert r345170 [along with its llvm counterpart r345169] as it makes Halide builds timeout. 2018-10-27 04:51:09 +00:00
hip-binding.hip [HIP] Do not unbundle object files for -fno-gpu-rdc 2019-03-05 16:07:56 +00:00
hip-device-libs.hip [HIP] Use -mlink-builtin-bitcode to link device library 2019-04-12 16:23:31 +00:00
hip-inputs.hip [HIP] Set proper triple and offload kind for the toolchain 2018-05-11 19:21:39 +00:00
hip-link-shared-library.hip [HIP] Do not unbundle object files for -fno-gpu-rdc 2019-03-05 16:07:56 +00:00
hip-output-file-name.hip [HIP] Support early finalization of device code for -fno-gpu-rdc 2018-10-02 17:48:54 +00:00
hip-toolchain-features.hip Partial revert of r353952: [HIP] Handle compile -m options and propagate into LLC 2019-02-28 17:08:26 +00:00
hip-toolchain-mllvm.hip Move options to separate checks that do not need to immediately follow the previous option. NFCI 2019-03-19 19:34:15 +00:00
hip-toolchain-no-rdc.hip [Driver] Move the "-o OUT -x TYPE SRC.c" flags to the end of -cc1 2019-05-23 18:35:43 +00:00
hip-toolchain-rdc.hip [HIP] Use -mlink-builtin-bitcode to link device library 2019-04-12 16:23:31 +00:00
hurd.c Add Hurd target to Clang driver (2/2) 2018-11-29 03:49:14 +00:00
ident_md.c
immediate-options.c clang -dumpversion returns 4.2.1 for legacy reason, update it 2019-03-25 18:06:20 +00:00
implicit-function-as-error.c
include-default-header.cl [OpenCL] Improved testing of default header. 2019-03-19 13:04:17 +00:00
incompatible_sysroot.c
incremental-linker-compatible.c
index-header-map.c
indirect-tls-seg-refs.c [X86][Tests] Make sure tls-direct-seg-refs tests only run where supported 2018-10-18 14:44:25 +00:00
inhibit-downstream-commands.c [CMake] Use normalized Windows target triples 2018-08-09 02:16:18 +00:00
inline-asm.c
instrprof-ld.c [Driver][Windows] Add dependent lib argument for profile instr generate 2019-05-14 14:01:40 +00:00
integrated-as.c [Driver] Default Android toolchains to noexecstack. 2019-03-28 18:08:28 +00:00
integrated-as.s Allow forwarding -fdebug-compilation-dir to cc1as 2018-12-06 18:50:39 +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 [Clang][NewPM] Don't bail out if the target machine is empty 2019-05-06 23:24:17 +00:00
le64-unknown-unknown.cpp Recommit r324107 again. 2018-02-07 22:15:33 +00:00
linker-opts.c [CMake] Use normalized Windows target triples 2018-08-09 02:16:18 +00:00
linux-as.c [Driver] Default Android toolchains to noexecstack. 2019-03-28 18:08:28 +00:00
linux-header-search.cpp [Driver] Support g++ headers in include/g++ 2018-11-13 21:38:45 +00:00
linux-ld.c [Driver] -static-pie: add -z text 2019-05-30 01:55:43 +00:00
linux-per-target-runtime-dir.c [Driver] Change layout of per-target runtimes to resemble multiarch 2019-05-27 23:23:50 +00:00
lit.local.cfg Enable .hip files for test/Driver 2018-07-24 01:03:44 +00:00
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-plugin-darwin.c
lto-plugin-linux.c
lto-plugin-windows.c
lto-unit.c
lto.c
lto.cu [CUDA] add REQUIRES fields for CUDA variants of LTO tests. 2018-03-22 16:47:41 +00:00
m_and_mm.c
macho-embedded.c
malign_double.c [Driver] Pass -malign-double from the driver to the cc1 command line 2019-03-21 20:07:24 +00:00
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
mg.c
mglobal-merge.c Remove -cc1 option "-backend-option". 2018-04-12 22:21:36 +00:00
miamcu-opt.c [ADT] Normalize empty triple components 2018-08-08 22:23:57 +00:00
miamcu-opt.cpp
mingw-libgcc.c [MinGW, CrossWindows] Allow passing -static together with -shared 2018-02-27 19:42:19 +00:00
mingw-lto.c [MinGW] Allow using LTO when lld is used as linker 2018-10-12 20:15:51 +00:00
mingw-msvcrt.c [MinGW] Treat any -lucrt* as replacing -lmsvcrt 2018-07-10 10:46:45 +00:00
mingw-sanitizers.c [MinGW] Allow using ASan 2018-10-01 20:53:25 +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-windowsapp.c [MinGW] Skip adding default win32 api libraries if -lwindowsapp is specified 2018-07-10 10:46:51 +00:00
mingw.cpp [MinGW] Predefine UNICODE if -municode is specified during compilation 2018-08-06 19:48:44 +00:00
mips-abi.c [driver][mips] Adjust target triple's environment accordingly to provided ABI name 2018-10-16 10:19:06 +00:00
mips-abicalls-error.c Replace the UTF-8 characters in the error message. 2018-11-18 22:30:58 +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
mips-eleb.c
mips-features.c [mips] Add '-mrelax-pic-calls', '-mno-relax-pic-calls' 2019-01-18 19:54:51 +00:00
mips-float.c
mips-fsf.cpp
mips-gpopt-warning.c
mips-ias-Wa.s
mips-img-v2.cpp
mips-img.cpp
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-mti-linux.c Try to fix this clang driver test case after r340709. 2018-08-27 08:49:20 +00:00
mips-mti.cpp
mips-reduced-toolchain.cpp
mipsel-nacl-defines.cpp
modules-cache-path.m
modules-ts.cpp
modules.cpp Modify test to use -S instead of -c so that it works when an external assembler is used that is not present. 2019-04-16 22:52:05 +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
mprefer-vector-width.c
mrecip.c
ms-bitfields.c
msan.c [Clang] Disable new PM for tests that use optimization level -O1, -O2 and -O3 2019-06-05 03:17:11 +00:00
msc-version.c
msp430-hwmult.c [MSP430] Provide a toolchain description 2019-01-15 19:44:05 +00:00
msp430-mmcu.c [MSP430] Provide a toolchain description 2019-01-15 19:44:05 +00:00
msp430-toolchain.c [MSP430] Fix msp430-toolchain.c on Windows (added in r351228) 2019-01-16 13:28:30 +00:00
msvc-compiler-rt.c
msvc-link.c Reland r341390 clang-cl: Pass /Brepro to linker if it was passed to the compiler 2018-09-07 12:47:02 +00:00
msvc-triple.c
msvc_forward.c
myriad-toolchain.c
nacl-direct.c [ADT] Normalize empty triple components 2018-08-08 22:23:57 +00:00
netbsd.c Use Secure PLT as default on NetBSD/PowerPC. 2019-02-27 21:46:01 +00:00
netbsd.cpp [ADT] Normalize empty triple components 2018-08-08 22:23:57 +00:00
no-arc-exception-silence.m
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 [MSP430] Provide a toolchain description 2019-01-15 19:44:05 +00:00
no-integrated-as.s [CMake] Use normalized Windows target triples 2018-08-09 02:16:18 +00:00
no-objc-arr.m
no-objc-default-synthesize-properties.m
no-sibling-calls.c
nodefaultlib.c [Driver][Gnu] Support -nolibc flag 2019-02-17 02:42:48 +00:00
noexecstack.c
noinline.c
nolibc.c [Driver][Gnu] Support -nolibc flag 2019-02-17 02:42:48 +00:00
nostdincxx.cpp Replace lit feature keyword 'non-ms-sdk' with 'ms-sdk'; eliminate 2019-05-10 13:40:17 +00:00
nostdlib.c
nostdlibinc.c
nostdlibxx.cpp [Driver] Also obey -nostdlib++ when rewriting -lstdc++. 2018-12-18 23:29:35 +00:00
nozlibcompress.c Replace 'REQUIRES: nozlib' with '!zlib' because we don't need two ways 2019-05-10 18:32:53 +00:00
objc++-cpp-output.mm
objc-convert-messages-to-runtime-calls.m Convert some ObjC msgSends to runtime calls. 2018-12-08 05:13:50 +00:00
objc-cpp-output.m
objc-sdk-migration-options.m
objc-weak.m
offloading-interoperability.c Revise test case due to the change from CUDA 10+. 2019-05-31 15:29:55 +00:00
openbsd.c IAS is now enabled for all OS on MIPS64 2019-04-08 00:03:01 +00:00
openbsd.cpp Some improvements to the OpenBSD driver. 2018-10-11 16:13:44 +00:00
opencl.cl [OpenCL] Added -std/-cl-std=c++ 2018-04-12 14:17:04 +00:00
openmp-offload-gpu.c [OpenMP][Clang] Support for target math functions 2019-05-08 15:52:33 +00:00
openmp-offload.c [Driver] Move the "-o OUT -x TYPE SRC.c" flags to the end of -cc1 2019-05-23 18:35:43 +00:00
openmp-unsupported-debug-options.c Fix tests after rC357150 2019-03-28 08:41:17 +00:00
opt-record.c Reland "[Remarks] Add -foptimization-record-passes to filter remark emission" 2019-03-12 21:22:27 +00:00
option-aliases.c
output-file-cleanup.c test/Driver/output-file-cleanup.c: delete non-readable temporary file 2018-09-14 21:36:35 +00:00
output-file-is-dir.c
parse-progname.c [ADT] Normalize empty triple components 2018-08-08 22:23:57 +00:00
pch-deps.c
phases.c
pic.c [Driver] Explicitly request platform rtlib in the Driver pic test 2019-05-01 16:52:45 +00:00
ppc-abi.c [PowerPC] Make no-PIC default to match GCC - CLANG 2018-12-18 15:08:03 +00:00
ppc-dependent-options.cpp
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
ppc-inlineasm-sf.c [PowerPC] Fix issue with inline asm - soft float mode 2019-04-02 11:00:09 +00:00
prefixed-tools.c
preprocess-multiple.c
preprocessor.c
preserve-as-comments.c
preserve-uselistorder.c
print-effective-triple.c [Driver] -print-target-triple and -print-effective-triple options 2018-08-16 00:22:03 +00:00
print-empty-prog-name.c Driver: fix an assertion with `-print-prog-name=` 2018-05-01 18:40:42 +00:00
print-file-name.c Fix test added in r361903 to work on Windows. 2019-05-29 09:20:01 +00:00
print-libgcc-file-name-clangrt.c
print-libgcc-file-name-libgcc.c
print-multi-directory.c [test] Use --sysroot instead of -B in print-multi-directory.c 2018-10-03 18:24:05 +00:00
print-supported-cpus.c Fixed the --print-supported-cpus test 2019-06-14 23:34:40 +00:00
print-target-triple.c [Driver] -print-target-triple and -print-effective-triple options 2018-08-16 00:22:03 +00:00
ps4-analyzer-defaults.cpp
ps4-cpu-defaults.cpp
ps4-header-search.c
ps4-linker-non-win.c
ps4-linker-win.c
ps4-pic.c
ps4-runtime-flags.c
ps4-sdk-root.c
qa_override.c
redundant-args.c
redzone.c
relax.c
relax.s
reloc-model.c
renderscript.rs
response-file-extra-whitespace.c
response-file.c
retain-comments-from-system-headers.c
rewrite-legacy-objc.m [darwin] remove version number check when enabling -fobjc-subscripting-legacy-runtime 2018-12-06 02:44:23 +00:00
rewrite-map-files.c
rewrite-map-in-diagnostics.c
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] Pass -target-abi to -cc1as 2019-03-26 08:01:18 +00:00
riscv-arch.c Revert "[RISCV] Mark unit tests as "requires: riscv-registered-target"" 2018-12-05 19:19:38 +00:00
riscv-features.c [RISCV] Default enable RISCV linker relaxation 2019-02-17 16:05:51 +00:00
riscv-gnutools.c Revert "[RISCV] Mark unit tests as "requires: riscv-registered-target"" 2018-12-05 19:19:38 +00:00
riscv32-toolchain.c [RISCV][NFC] s/riscv32-linux-unknown-elf/riscv32-unknown-linux-gnu in test/Driver/riscv32-toolchain.c 2019-04-04 13:51:41 +00:00
riscv64-toolchain.c [RISCV] Collect library directories and triples for riscv64 triple too 2019-04-04 14:18:26 +00:00
ropi-rwpi.c [ADT] Normalize empty triple components 2018-08-08 22:23:57 +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 Remove esan. 2019-03-11 20:23:40 +00:00
sanitizer-ld.c Remove esan. 2019-03-11 20:23:40 +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
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 [Clang] Harmonize Split DWARF options with llc 2019-06-15 15:38:51 +00:00
split-debug.h
split-debug.s [Clang] Rename -split-dwarf-file to -split-dwarf-output 2019-06-15 14:07:43 +00:00
split-lto-unit.c [LTO] Add option to enable LTOUnit splitting, and disable unless needed 2019-01-11 18:32:07 +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
stack-size-section.c
stackrealign.c
std.c
std.cpp
symbol-partition.c Relax test so that the clang binary doesn't need to be named "clang". 2019-06-07 20:26:47 +00:00
symbol-rewriter.c
sysroot-flags.c
sysroot.c
systemz-as.s
systemz-features.cpp
systemz-march.c
target-abi-cc1as.s
target-as.s
target-override.c
target-triple-deployment.c [Driver][Darwin] Use Host Triple to infer target os version 2018-07-03 04:15:49 +00:00
target.c
thinlto.c
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 [Clang] Disable new PM for tests that use optimization level -O1, -O2 and -O3 2019-06-05 03:17:11 +00:00
types.c Reland the rest of "Add AIX Target Info" 2019-03-14 21:54:30 +00:00
unavailable_aligned_allocation.cpp Revert "[clang] Aligned allocation is actually supported in macosx 10.13" 2019-04-15 19:08:52 +00:00
unix-conformance.c
unknown-arg.c lld-link, clang: Treat non-existent input files as possible spellos for option flags 2019-05-23 17:58:33 +00:00
unknown-gcc-arch.c
unknown-std.S
unknown-std.c Add a new language mode for C2x; enable [[attribute]] support by default in C2x. 2019-05-14 12:09:55 +00:00
unknown-std.cl [OpenCL] Added -std/-cl-std=c++ 2018-04-12 14:17:04 +00:00
unknown-std.cpp
unsupported-faltivec.c
unsupported-option.c lld-link, clang: Treat non-existent input files as possible spellos for option flags 2019-05-23 17:58:33 +00:00
unsupported-target-arch.c
verbose-output-quoting.c Add 'REQUIRES: shell' to verbose-output-quoting.c 2019-04-24 10:12:30 +00:00
verify_pch.m
vfsoverlay.c
via-file-asm.c
visibility.cpp
warning-options.cpp
warning-options_pedantic.cpp
wasm-toolchain.c [WebAssembly] Cleanup toolchain test files. NFC. 2019-06-10 16:18:04 +00:00
wasm-toolchain.cpp [WebAssembly] Modernize include path handling 2019-06-13 09:42:43 +00:00
wasm32-unknown-unknown.cpp [WebAssembly] clang-format (NFC) 2018-08-31 20:57:00 +00:00
wasm64-unknown-unknown.cpp [WebAssembly] clang-format (NFC) 2018-08-31 20:57:00 +00:00
watchos-version-min.c
whole-program-vtables.c
win-macho-unwind.c
windows-arm-minimal-arch.c [ADT] Normalize empty triple components 2018-08-08 22:23:57 +00:00
windows-cross.c [MinGW, CrossWindows] Allow passing -static together with -shared 2018-02-27 19:42:19 +00:00
windows-exceptions.cpp [MinGW] Use SEH by default on AArch64 2019-05-06 21:19:01 +00:00
windows-pic.cpp
windows-thumb.s
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 [Driver] Fix -working-directory issues 2019-05-28 22:21:47 +00:00
x86-march.c [X86] -march=cooperlake (clang) 2019-06-07 08:53:37 +00:00
x86-target-features.c [X86] Add ENQCMD instructions 2019-06-06 08:28:42 +00:00
x86_64-nacl-defines.cpp
x86_features.c
x86_m16.c
xcore-opts.c