[PATCH] D11818: LLD: COFF: Remove lld-link2 alias.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 6 14:05:16 PDT 2015


ruiu created this revision.
ruiu added a reviewer: pcc.
ruiu added a subscriber: llvm-commits.
ruiu set the repository for this revision to rL LLVM.

This patch removes lld-link2 or "-flavor link2".

Repository:
  rL LLVM

http://reviews.llvm.org/D11818

Files:
  lib/Driver/UniversalDriver.cpp
  tools/lld/CMakeLists.txt

Index: tools/lld/CMakeLists.txt
===================================================================
--- tools/lld/CMakeLists.txt
+++ tools/lld/CMakeLists.txt
@@ -24,8 +24,3 @@
 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})
Index: lib/Driver/UniversalDriver.cpp
===================================================================
--- lib/Driver/UniversalDriver.cpp
+++ lib/Driver/UniversalDriver.cpp
@@ -88,8 +88,6 @@
       .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)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11818.31474.patch
Type: text/x-patch
Size: 1094 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150806/77f7671a/attachment.bin>


More information about the llvm-commits mailing list