[all-commits] [llvm/llvm-project] 8fc5f0: [clang][driver][darwin] use the deployment target ...
Alex Lorenz via All-commits
all-commits at lists.llvm.org
Fri Apr 30 19:02:45 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8fc5f07fc0aee95ff9f79e91035d115690177dc1
https://github.com/llvm/llvm-project/commit/8fc5f07fc0aee95ff9f79e91035d115690177dc1
Author: Alex Lorenz <arphaman at gmail.com>
Date: 2021-04-30 (Fri, 30 Apr 2021)
Changed paths:
M clang/lib/Driver/ToolChains/Darwin.cpp
M clang/test/Driver/darwin-ld-platform-version-macos.c
Log Message:
-----------
[clang][driver][darwin] use the deployment target version as the SDK version
when passing -platform_version to the linker
The use of a valid SDK version is preferred over an empty SDK version
(0.0.0) as the system's runtime might expect the linked binary to contain
a valid SDK version in order for the binary to work correctly
rdar://66795188
More information about the All-commits
mailing list