teak-llvm/clang/test/Driver/Inputs
Alex Lorenz 0a264f3928 [darwin] parse the SDK settings from SDKSettings.json if it exists and
pass in the -target-sdk-version to the compiler and backend

This commit adds support for reading the SDKSettings.json file in the Darwin
driver. This file is used by the driver to determine the SDK's version, and it
uses that information to pass it down to the compiler using the new
-target-sdk-version= option. This option is then used to set the appropriate
SDK Version module metadata introduced in r349119.

Note: I had to adjust the two ast tests as the SDKROOT environment variable
on macOS caused SDK version to be picked up for the compilation of source file
but not the AST.

rdar://45774000

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

llvm-svn: 349380
2018-12-17 19:19:15 +00:00
..
ami_linux_tree Add a .keep file to prevent svn from skipping over an empty folder. 2018-07-24 06:49:27 +00:00
B_opt_tree
baremetal_arm/include/c++ Don't defer to the GCC driver for linking arm-baremetal 2017-05-25 15:42:13 +00:00
basic_android_ndk_tree [Driver] Reland again again: Default Android toolchains to libc++. 2018-11-05 20:57:46 +00:00
basic_android_tree
basic_cross_linux_tree/usr
basic_freebsd64_tree
basic_freebsd_tree
basic_hurd_tree Add Hurd target to Clang driver (2/2) 2018-11-29 03:49:14 +00:00
basic_linux_libcxx_tree/usr
basic_linux_libcxxv2_tree/usr
basic_linux_libstdcxx_libcxxv2_tree/usr
basic_linux_tree Reland r311836 - [Driver] Use arch type to find compiler-rt libraries (on Linux) 2017-08-28 20:29:52 +00:00
basic_myriad_tree Add renamed .o files that were omitted by "git llvm push" command 2017-12-19 16:34:13 +00:00
basic_netbsd_tree/usr/lib
basic_riscv32_tree [RISCV] Add driver for riscv32-unknown-elf baremetal target 2018-07-31 14:21:46 +00:00
cl-libs
config Enable configuration files in clang 2018-01-01 13:27:01 +00:00
config2 Enable configuration files in clang 2018-01-01 13:27:01 +00:00
cray_suse_gcc_tree [Driver] Support g++ headers in include/g++ 2018-11-13 21:38:45 +00:00
CUDA/usr/local/cuda [CUDA] Detect installation in PATH 2018-01-31 08:26:51 +00:00
CUDA_80/usr/local/cuda
CUDA_90/usr/local/cuda [CUDA] Print an error if you try to compile with < sm_30 on CUDA 9. 2017-10-25 21:32:06 +00:00
CUDA-macosx/usr/local/cuda [CUDA] Driver changes to support CUDA compilation on MacOS. 2016-11-18 00:41:22 +00:00
CUDA-nolibdevice/usr/local/cuda [CUDA] Detect installation in PATH 2018-01-31 08:26:51 +00:00
CUDA-symlinks [CUDA] Detect installation in PATH 2018-01-31 08:26:51 +00:00
CUDA-windows/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v8.0 [Driver] Driver changes to support CUDA compilation on Windows. 2017-01-05 16:52:29 +00:00
debian_6_mips64_tree
debian_6_mips_tree
debian_8_sparc64_tree
debian_8_sparc_multilib_tree
debian_multiarch_tree
debian_reduced_mips_tree
fake_install_tree
fedora_18_tree
fedora_21_tree/usr
freescale_ppc64_tree
freescale_ppc_tree
fuse_ld_windows [Driver] Allow using a canonical form of '-fuse-ld=' when cross-compiling on Windows. 2018-02-27 02:51:30 +00:00
gcc_version_parsing1
gcc_version_parsing2
gcc_version_parsing3
gcc_version_parsing4
gcc_version_parsing5
gentoo_linux_gcc_4.6.2_tree/usr
gentoo_linux_gcc_4.6.4_tree/usr
gentoo_linux_gcc_4.9.3_tree/usr
gentoo_linux_gcc_4.9.x_tree [Driver] Update GCC libraries detection logic for Gentoo. 2018-04-07 19:59:58 +00:00
gentoo_linux_gcc_multi_version_tree [Driver] Fix finding multilib gcc install on Gentoo (with gcc-config) 2016-12-12 15:07:43 +00:00
hexagon_tree/Tools Add a dummy file in each subdirectory in test/Driver/Inputs/hexagon_tree 2016-10-17 18:04:05 +00:00
hip_dev_lib [HIP] Remove unused irif bitcode from test 2018-10-11 19:52:32 +00:00
hip_multiple_inputs Add HIP toolchain 2018-05-30 00:53:50 +00:00
libomptarget [OpenMP] Add flag for linking runtime bitcode library 2018-03-13 23:19:52 +00:00
MacOSX10.14.sdk [darwin] parse the SDK settings from SDKSettings.json if it exists and 2018-12-17 19:19:15 +00:00
mingw_arch_tree/usr
mingw_clang_tree/mingw32
mingw_mingw_builds_tree/mingw32
mingw_mingw_org_tree/mingw
mingw_msys2_tree/msys64/mingw32
mingw_opensuse_tree/usr
mingw_ubuntu_posix_tree/usr [GCC] Match a GCC version with a patch suffix without a third version component 2018-04-24 08:50:11 +00:00
mingw_ubuntu_tree/usr [test] Fix a typo in a test directory name. NFC. 2018-04-24 08:49:57 +00:00
mips_cs_tree
mips_fsf_tree
mips_img_tree
mips_img_v2_tree
mips_mti_linux
mips_mti_tree
module
montavista_i686_tree/usr/lib/gcc/i686-montavista-linux/4.2.0
multiarch_freebsd64_tree
multilib_32bit_linux_tree
multilib_64bit_linux_tree
multilib_arm_linux_tree/usr/include/arm-linux-gnueabi
multilib_armeb_linux_tree/usr/include/armeb-linux-gnueabi
multilib_armebhf_linux_tree/usr/include/armeb-linux-gnueabihf
multilib_armhf_linux_tree/usr/include/arm-linux-gnueabihf
multilib_riscv_linux_sdk Revert rC322769: [RISCV] Propagate -mabi and -march values to GNU assembler. 2018-01-18 06:13:25 +00:00
openembedded_aarch64_linux_tree/usr [OpenEmbedded] Fix lib paths for OpenEmbedded targets 2018-07-30 19:44:13 +00:00
openembedded_arm_linux_tree/usr [OpenEmbedded] Fix lib paths for OpenEmbedded targets 2018-07-30 19:44:13 +00:00
opensuse_42.2_aarch64_tree/usr/lib64 [Driver] Add openSuse AArch64 Triple 2017-01-10 21:13:08 +00:00
opensuse_tumbleweed_armv6hl_tree/usr/lib Add support for openSUSE ARM Triples 2017-04-21 12:26:43 +00:00
opensuse_tumbleweed_armv7hl_tree/usr/lib Add support for openSUSE ARM Triples 2017-04-21 12:26:43 +00:00
prefixed_tools_tree
resource_dir [Darwin Driver] Fix Simulator builtins and test cases 2018-08-15 22:50:06 +00:00
resource_dir_with_arch_subdir/lib/linux Add arch-specific directory to search path 2017-03-03 23:20:49 +00:00
resource_dir_with_per_target_subdir [Driver] Support XRay on Fuchsia 2018-11-22 02:36:47 +00:00
scei-ps4_tree/target
solaris_sparc_tree/usr [Solaris] gcc toolchain handling revamp 2018-01-23 12:23:52 +00:00
solaris_x86_tree/usr [Solaris] gcc toolchain handling revamp 2018-01-23 12:23:52 +00:00
suse_10.3_ppc64_tree
ubuntu_11.04_multiarch_tree
ubuntu_12.04_LTS_multiarch_tree
ubuntu_13.04_multiarch_tree
ubuntu_14.04_multiarch_tree
ubuntu_14.04_multiarch_tree2
Windows Vary Windows toolchain selection by -fuse-ld 2017-11-06 21:18:05 +00:00
x86-64_ubuntu_13.10
cc1-response.txt
config-1.cfg Enable configuration files in clang 2018-01-01 13:27:01 +00:00
config-2.cfg Enable configuration files in clang 2018-01-01 13:27:01 +00:00
config-2a.cfg Enable configuration files in clang 2018-01-01 13:27:01 +00:00
config-3.cfg Enable configuration files in clang 2018-01-01 13:27:01 +00:00
config-4.cfg [Driver] Don't warn about unused inputs in config files 2018-05-04 06:05:58 +00:00
config-5.cfg Enable configuration files in clang 2018-01-01 13:27:01 +00:00
config-6.cfg Enable configuration files in clang 2018-01-01 13:27:01 +00:00
empty.cfg [ConfigFiles] Update argument strings when merging argrument lists 2018-04-26 06:28:47 +00:00
file.ll
file.prof
gen-response.c
header0.h
header1.h
header2.h
header3.h
header4.h
in.so [DRIVER][OFFLOAD] Do not invoke unbundler on unsupported file types. 2018-09-28 16:17:59 +00:00
pchfile.cpp
pchfile.h
rewrite-1.map
rewrite-2.map
rewrite.map
wildcard1.c
wildcard2.c