]> granicus.if.org Git - clang/commit
Revert r305678: [driver][macOS] Pick the system version for the
authorAlex Lorenz <arphaman@gmail.com>
Wed, 21 Jun 2017 10:27:24 +0000 (10:27 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Wed, 21 Jun 2017 10:27:24 +0000 (10:27 +0000)
commit1299cb573f444dad1d6925dad23a68c7b15308b6
treea1c7fe26acce6b433a390ad6cea90e92fea80e7c
parent864bf1d491d904c009254e31be643a3af8122ef7
Revert r305678: [driver][macOS] Pick the system version for the
deployment target if the SDK is newer than the system

This commit also reverts follow-up commits r305680 and r305685 that have
buildbot fixes.

The change in r305678 wasn't correct because it relied on
`llvm::sys::getProcessTriple`, which uses a pre-configured OS version. We should
lookup the actual macOS version of the system on which the compiler is running.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@305891 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains/Darwin.cpp
test/Driver/darwin-sdk-vs-os-version.c [deleted file]