[clang] [clang][test] Fix flaky linker checks in msvc-link.c (PR #228657)

via cfe-commits cfe-commits at lists.llvm.org
Sat Oct 3 09:53:49 PDT 2026


================
@@ -61,9 +61,8 @@
 
 // RUN: %clang --target=i686-pc-windows-msvc -g -fuse-ld= -### %s 2>&1 | FileCheck --check-prefix=DEBUG-LINK %s
 // RUN: %clang --target=i686-pc-windows-msvc -g -fuse-ld=link -### %s 2>&1 | FileCheck --check-prefix=DEBUG-LINK %s
-// DEBUG-LINK: link.exe"
+// DEBUG-LINK: "{{([^"]*[/\\])?}}link.exe"
----------------
Nerixyz wrote:

Oh, I thought the default linker was also used in the `-fuse-ld` case.

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


More information about the cfe-commits mailing list