[clang] 34d5523 - [Driver][MSVC] Loosen regex for binary name in test (#200015)
via cfe-commits
cfe-commits at lists.llvm.org
Wed May 27 10:47:47 PDT 2026
Author: Justin Bogner
Date: 2026-05-27T17:47:40Z
New Revision: 34d5523eaa8f72c3eb56137ac13789d70640a49c
URL: https://github.com/llvm/llvm-project/commit/34d5523eaa8f72c3eb56137ac13789d70640a49c
DIFF: https://github.com/llvm/llvm-project/commit/34d5523eaa8f72c3eb56137ac13789d70640a49c.diff
LOG: [Driver][MSVC] Loosen regex for binary name in test (#200015)
`lld-link` will often be installed as `lld-link.exe` on windows. We need
to make sure this test passes either way.
Added:
Modified:
clang/test/Driver/msvc-link.c
Removed:
################################################################################
diff --git a/clang/test/Driver/msvc-link.c b/clang/test/Driver/msvc-link.c
index e3c3f980f8b51..5cb1653bf4db9 100644
--- a/clang/test/Driver/msvc-link.c
+++ b/clang/test/Driver/msvc-link.c
@@ -66,6 +66,6 @@
// RUN: %clang --target=i686-pc-windows-msvc -gdwarf-4 -fuse-ld= -### %s 2>&1 | FileCheck --check-prefix=DEBUG-LLD %s
// RUN: %clang --target=i686-pc-windows-msvc -gdwarf-5 -fuse-ld= -### %s 2>&1 | FileCheck --check-prefix=DEBUG-LLD %s
// RUN: %clang --target=i686-pc-windows-msvc -gdwarf-6 -fuse-ld= -### %s 2>&1 | FileCheck --check-prefix=DEBUG-LLD %s
-// DEBUG-LLD: lld-link"
+// DEBUG-LLD: lld-link{{(\.exe)?}}"
// DEBUG-LLD-SAME: "-debug"
// DEBUG-LLD-NOT: link.exe
More information about the cfe-commits
mailing list