[PATCH] D82696: [darwin][driver] isMacosxVersionLT should check against the minimum supported OS version
Alex Lorenz via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 26 17:21:11 PDT 2020
arphaman created this revision.
arphaman added reviewers: steven_wu, dexonsmith.
Herald added subscribers: llvm-commits, ributzka, jkorous, hiraditya.
Herald added a project: LLVM.
This change ensures that the Darwin driver doesn't add unsupported libraries to the link invocation when linking the Apple Silicon macOS slice.
I also refactored the library adding logic in a pre-commit: https://github.com/llvm/llvm-project/commit/2b00cacb2835d11cab6f71466604b7b1bdd46a8d.
rdar://61011136
https://reviews.llvm.org/D82696
Files:
clang/lib/Driver/ToolChains/Darwin.h
clang/test/Driver/macos-apple-silicon-slice-link-libs.cpp
llvm/include/llvm/ADT/Triple.h
llvm/lib/Support/Triple.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82696.273868.patch
Type: text/x-patch
Size: 4744 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200627/b913db84/attachment-0001.bin>
More information about the cfe-commits
mailing list