[compiler-rt] r244243 - test: Use lld-link instead of lld-link2 as the LTO linker on Windows.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 6 11:37:55 PDT 2015


Author: pcc
Date: Thu Aug  6 13:37:54 2015
New Revision: 244243

URL: http://llvm.org/viewvc/llvm-project?rev=244243&view=rev
Log:
test: Use lld-link instead of lld-link2 as the LTO linker on Windows.

The old COFF linker has been removed and lld-link now refers to the new linker.

Modified:
    compiler-rt/trunk/test/lit.common.cfg

Modified: compiler-rt/trunk/test/lit.common.cfg
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/lit.common.cfg?rev=244243&r1=244242&r2=244243&view=diff
==============================================================================
--- compiler-rt/trunk/test/lit.common.cfg (original)
+++ compiler-rt/trunk/test/lit.common.cfg Thu Aug  6 13:37:54 2015
@@ -125,7 +125,7 @@ def is_linux_lto_supported():
   return True
 
 def is_windows_lto_supported():
-  return os.path.exists(os.path.join(config.llvm_tools_dir, 'lld-link2.exe'))
+  return os.path.exists(os.path.join(config.llvm_tools_dir, 'lld-link.exe'))
 
 if config.host_os == 'Darwin' and is_darwin_lto_supported():
   config.lto_supported = True
@@ -138,7 +138,7 @@ elif config.host_os == 'Linux' and is_li
 elif config.host_os == 'Windows' and is_windows_lto_supported():
   config.lto_supported = True
   config.lto_launch = []
-  config.lto_flags = ["-fuse-ld=lld-link2"]
+  config.lto_flags = ["-fuse-ld=lld"]
 else:
   config.lto_supported = False
 




More information about the llvm-commits mailing list