]> granicus.if.org Git - clang/commit
[driver][macOS] Pick the system version for the deployment target
authorAlex Lorenz <arphaman@gmail.com>
Mon, 19 Jun 2017 10:57:27 +0000 (10:57 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Mon, 19 Jun 2017 10:57:27 +0000 (10:57 +0000)
commitcf092e8c65bbd3abcf4f254e2ad54db83d9eaeb7
tree8c16c2db2b2db2c8790892fcac414a2d3f247e37
parent66bdcfb16d66c5de79d1e06cb163670a3464adce
[driver][macOS] Pick the system version for the deployment target
if the SDK is newer than the system

This commit improves the driver by making sure that it picks the system version
for the deployment target when the version of the macOS SDK is newer than the
system version.

rdar://29449467

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@305678 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains/Darwin.cpp
test/Driver/darwin-sdkroot.c