aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2019-02-13 07:50:21 +0000
committerMartin Storsjo <martin@martin.st>2019-02-13 07:50:21 +0000
commit2c0f24fef1395f865c5816d6c76a1fb60b83f1ff (patch)
tree90febffc75236ca1902e17387e3af6a09eb67f6f
parent490362a8f79196cff904d4516f7c70ee6a89bba2 (diff)
downloadclang-2c0f24fef1395f865c5816d6c76a1fb60b83f1ff.tar.gz
[test] Fix the test from SVN r353917 when running without lld available
These tests still relies on the default linker not to be overridden via e.g. CLANG_DEFAULT_LINKER in cmake. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@353922 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Driver/instrprof-ld.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Driver/instrprof-ld.c b/test/Driver/instrprof-ld.c
index e0729e23fc..1fefa9cfff 100644
--- a/test/Driver/instrprof-ld.c
+++ b/test/Driver/instrprof-ld.c
@@ -122,10 +122,10 @@
// CHECK-WINDOWS-X86-64: "{{.*}}link{{(.exe)?}}"
// CHECK-WINDOWS-X86-64: "{{.*}}clang_rt.profile-x86_64.lib"
//
-// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 -fuse-ld=lld \
+// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
// RUN: -target x86_64-mingw32 -fprofile-instr-generate \
// RUN: -resource-dir=%S/Inputs/resource_dir \
// RUN: | FileCheck --check-prefix=CHECK-MINGW-X86-64 %s
//
-// CHECK-MINGW-X86-64: "{{(.*[^-.0-9A-Z_a-z])?}}ld.lld{{(.exe)?}}"
+// CHECK-MINGW-X86-64: "{{(.*[^-.0-9A-Z_a-z])?}}ld{{(.exe)?}}"
// CHECK-MINGW-X86-64: "{{.*}}/Inputs/resource_dir{{/|\\\\}}lib{{/|\\\\}}windows{{/|\\\\}}libclang_rt.profile-x86_64.a"