summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/darwin-sdk-vs-os-version.c
Commit message (Collapse)AuthorAgeFilesLines
* Recommit [driver][macOS] Pick the system version for theAlex Lorenz2017-07-071-0/+10
| | | | | | | | | | | | | | | | | | | | deployment target if the SDK is newer than the system This commit reverts the revert commit r305891. Now the change from r305678 should be correct because `llvm::sys::getProcessTriple` now returns the correct macOS version of the system after the LLVM change r307372. Original commit message: 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 llvm-svn: 307388
* Revert r305678: [driver][macOS] Pick the system version for theAlex Lorenz2017-06-211-10/+0
| | | | | | | | | | | | | 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. llvm-svn: 305891
* Move the test from r305678 to a separte file with 'REQUIRES: system-darwin'Alex Lorenz2017-06-191-0/+10
Otherwise it will fail on non-macOS systems. llvm-svn: 305685
OpenPOWER on IntegriCloud