]> granicus.if.org Git - clang/commit
[driver][darwin] Take the OS version specified in "-target" as the target
authorAlex Lorenz <arphaman@gmail.com>
Tue, 19 Dec 2017 19:05:04 +0000 (19:05 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Tue, 19 Dec 2017 19:05:04 +0000 (19:05 +0000)
commit257d24609e764e401cd8e727495a3e569f2f8f54
tree85dc91dd8e47c2b6f2cfec66e4f1666d4b42a26b
parentc0cdbb20fe24f48e22ae9ba0d0beee9a269ae313
[driver][darwin] Take the OS version specified in "-target" as the target
OS instead of inferring it from SDK / environment

The OS version is specified in -target should be used instead of the one in an
environment variable / SDK name.

rdar://35813850

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@321099 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains/Darwin.cpp
test/Driver/darwin-version.c
test/Driver/objc-weak.m
test/Driver/pic.c
test/Driver/unavailable_aligned_allocation.cpp