[lld] r244358 - COFF: Remove lld-link2 alias.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 7 14:02:36 PDT 2015


Author: ruiu
Date: Fri Aug  7 16:02:36 2015
New Revision: 244358

URL: http://llvm.org/viewvc/llvm-project?rev=244358&view=rev
Log:
COFF: Remove lld-link2 alias.

Modified:
    lld/trunk/lib/Driver/UniversalDriver.cpp
    lld/trunk/tools/lld/CMakeLists.txt

Modified: lld/trunk/lib/Driver/UniversalDriver.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Driver/UniversalDriver.cpp?rev=244358&r1=244357&r2=244358&view=diff
==============================================================================
--- lld/trunk/lib/Driver/UniversalDriver.cpp (original)
+++ lld/trunk/lib/Driver/UniversalDriver.cpp Fri Aug  7 16:02:36 2015
@@ -88,8 +88,6 @@ static Flavor strToFlavor(StringRef str)
       .Case("gnu2", Flavor::gnu_ld2)
       .Case("link", Flavor::win_link)
       .Case("lld-link", Flavor::win_link)
-      .Case("link2", Flavor::win_link)
-      .Case("lld-link2", Flavor::win_link)
       .Case("darwin", Flavor::darwin_ld)
       .Case("core", Flavor::core)
       .Case("ld", Flavor::gnu_ld)

Modified: lld/trunk/tools/lld/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/tools/lld/CMakeLists.txt?rev=244358&r1=244357&r2=244358&view=diff
==============================================================================
--- lld/trunk/tools/lld/CMakeLists.txt (original)
+++ lld/trunk/tools/lld/CMakeLists.txt Fri Aug  7 16:02:36 2015
@@ -24,8 +24,3 @@ endif()
 set(dst "${LLVM_RUNTIME_OUTPUT_INTDIR}/lld-link${CMAKE_EXECUTABLE_SUFFIX}")
 add_custom_command(TARGET lld POST_BUILD
   COMMAND ${CMAKE_COMMAND} -E ${command} ${src} ${dst})
-
-# FIXME: Remove once the lld-link2 alias is gone.
-set(dst2 "${LLVM_RUNTIME_OUTPUT_INTDIR}/lld-link2${CMAKE_EXECUTABLE_SUFFIX}")
-add_custom_command(TARGET lld POST_BUILD
-  COMMAND ${CMAKE_COMMAND} -E ${command} ${src} ${dst2})




More information about the llvm-commits mailing list