diff options
author | Eric Miotto <emiotto@apple.com> | 2024-01-19 13:32:32 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-19 16:32:32 -0500 |
commit | 9175dd9cbcad01a47acea9f1b99a0c96bf1a9a29 (patch) | |
tree | 9558a78cc0513a0096447acf53c5c14a8c63f4e4 /llvm/lib/ProfileData | |
parent | 4482fd846af849f399f915accca58d1c904243ef (diff) | |
download | llvm-9175dd9cbcad01a47acea9f1b99a0c96bf1a9a29.zip llvm-9175dd9cbcad01a47acea9f1b99a0c96bf1a9a29.tar.gz llvm-9175dd9cbcad01a47acea9f1b99a0c96bf1a9a29.tar.bz2 |
[CMake] Detect properly new linker introduced in Xcode 15 (#77806)
As explained in [1], this linker is functionally equivalent to the
classic one (`ld64`) for build system purposes -- in particular to
enable the use of order files to link `clang`. For this reason, in
addition to fixing the detection rename `LLVM_LINKER_IS_LD64` to
`LLVM_LINKER_IS_APPLE` to make the result of such detection more
clear -- this should not cause any issue to downstream users, from
a quick search in SourceGraph [2], only Swift uses the value of
this variable (which I will take care of updating in due time).
[1]: https://developer.apple.com/documentation/xcode-release-notes/xcode-15-release-notes#Linking
[2]: https://sourcegraph.com/search?q=context:global+LLVM_LINKER_IS_LD64+lang:cmake+fork:no+-file:AddLLVM.cmake+-file:clang/tools/driver/CMakeLists.txt&patternType=standard&sm=1&groupBy=repo
rdar://120740222
Diffstat (limited to 'llvm/lib/ProfileData')
0 files changed, 0 insertions, 0 deletions