From: Peter Collingbourne Date: Thu, 6 Aug 2015 18:37:54 +0000 (+0000) Subject: test: Use lld-link instead of lld-link2 as the LTO linker on Windows. X-Git-Tag: studio-1.4~674 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=01101b7b5f215e40af0ad71495b32bb8508f4f07;p=platform%2Fupstream%2Fllvm.git 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. llvm-svn: 244243 --- diff --git a/compiler-rt/test/lit.common.cfg b/compiler-rt/test/lit.common.cfg index a204348..074865d 100644 --- a/compiler-rt/test/lit.common.cfg +++ b/compiler-rt/test/lit.common.cfg @@ -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_linux_lto_supported(): 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