summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorAlexandre Ganea <alexandre.ganea@ubisoft.com>2019-11-29 11:28:49 -0500
committerAlexandre Ganea <alexandre.ganea@ubisoft.com>2019-11-29 11:28:49 -0500
commit3b0b7536a3182c1c69ade2bee80cdf954813a059 (patch)
treeca1c7f5ef047d4965c5bd389461294fcd9910d35 /clang/test
parent471d06020a6a12c621131c508e58878890db3906 (diff)
downloadbcm5719-llvm-3b0b7536a3182c1c69ade2bee80cdf954813a059.tar.gz
bcm5719-llvm-3b0b7536a3182c1c69ade2bee80cdf954813a059.zip
On Windows, fix fuse-ld.c test when lld is provided explictly in -DCMAKE_LINKER
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/Driver/fuse-ld.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Driver/fuse-ld.c b/clang/test/Driver/fuse-ld.c
index 4b2ec7b1bb2..13e709ccfdf 100644
--- a/clang/test/Driver/fuse-ld.c
+++ b/clang/test/Driver/fuse-ld.c
@@ -79,13 +79,13 @@
// RUN: %clang %s -### -fuse-ld=lld \
// RUN: -target i686-unknown-windows-msvc 2>&1 \
// RUN: | FileCheck %s --check-prefix CHECK-WINDOWS-MSVC-LLD
-// CHECK-WINDOWS-MSVC-LLD: "{{.*}}lld-link"
+// CHECK-WINDOWS-MSVC-LLD: "{{.*}}lld-link{{\.exe"|"}}
// CHECK-WINDOWS-MSVC-LLD-SAME: "-out:{{.*}}"
// RUN: %clang %s -### -fuse-ld=lld-link \
// RUN: -target i686-unknown-windows-msvc 2>&1 \
// RUN: | FileCheck %s --check-prefix CHECK-WINDOWS-MSVC-LLD-LINK
-// CHECK-WINDOWS-MSVC-LLD-LINK: "{{.*}}lld-link"
+// CHECK-WINDOWS-MSVC-LLD-LINK: "{{.*}}lld-link{{\.exe"|"}}
// CHECK-WINDOWS-MSVC-LLD-LINK-SAME: "-out:{{.*}}"
// RUN: %clang %s -### -fuse-ld=bfd \
OpenPOWER on IntegriCloud