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(S) .CasesLower("ld", "ld.lld", "gnu", Gnu) .CaseLower("link", WinLink) - .CaseLower("darwin", Darwin) + .CasesLower("ld64", "ld64.lld", "darwin", Darwin) .Default(Invalid); }