[clang] [clang][Driver] Allow -fuse-lld=lld-link when lto is enabled on *windows-msvc targets (PR #113966)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 2 18:25:40 PDT 2024


================
@@ -0,0 +1,9 @@
+// RUN: %clang --target=aarch64-pc-windows-msvc -O3 -flto -fuse-ld=lld -### %s 2>&1 | FileCheck %s
+// RUN: %clang --target=aarch64-pc-windows-msvc -O3 -flto=thin -fuse-ld=lld -### %s 2>&1 | FileCheck %s
+//
----------------
MaskRay wrote:

delete `^//$` lines

https://github.com/llvm/llvm-project/pull/113966


More information about the cfe-commits mailing list