[PATCH] D38290: Add a ld64.lld alias for the MACHO LLD target
Martell Malone via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Oct 15 10:41:32 PDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL315865: MACHO: ld64.lld alias for the MACHO LLD target (authored by martell).
Changed prior to commit:
https://reviews.llvm.org/D38290?vs=116801&id=119087#toc
Repository:
rL LLVM
https://reviews.llvm.org/D38290
Files:
lld/trunk/tools/lld/CMakeLists.txt
lld/trunk/tools/lld/lld.cpp
Index: lld/trunk/tools/lld/CMakeLists.txt
===================================================================
--- lld/trunk/tools/lld/CMakeLists.txt
+++ lld/trunk/tools/lld/CMakeLists.txt
@@ -17,7 +17,7 @@
RUNTIME DESTINATION bin)
if(NOT LLD_SYMLINKS_TO_CREATE)
- set(LLD_SYMLINKS_TO_CREATE lld-link ld.lld)
+ set(LLD_SYMLINKS_TO_CREATE lld-link ld.lld ld64.lld)
endif()
foreach(link ${LLD_SYMLINKS_TO_CREATE})
Index: lld/trunk/tools/lld/lld.cpp
===================================================================
--- lld/trunk/tools/lld/lld.cpp
+++ lld/trunk/tools/lld/lld.cpp
@@ -45,7 +45,7 @@
return StringSwitch<Flavor>(S)
.CasesLower("ld", "ld.lld", "gnu", Gnu)
.CaseLower("link", WinLink)
- .CaseLower("darwin", Darwin)
+ .CasesLower("ld64", "ld64.lld", "darwin", Darwin)
.Default(Invalid);
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38290.119087.patch
Type: text/x-patch
Size: 848 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171015/79dc1945/attachment-0001.bin>
More information about the cfe-commits
mailing list