]> granicus.if.org Git - clang/commitdiff
clang/test/Driver/coverage-ld.c: Tweak expressions to match dosish pathsep on win32...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 24 Jun 2013 13:19:20 +0000 (13:19 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 24 Jun 2013 13:19:20 +0000 (13:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184726 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/coverage-ld.c

index c8910c5c0fea7d5532ff26984c9d14ec8937566d..cbb7dd4724105e3e48156807b943a1c2db5969b5 100644 (file)
@@ -7,7 +7,7 @@
 // RUN:   | FileCheck --check-prefix=CHECK-LINUX-I386 %s
 //
 // CHECK-LINUX-I386: "{{(.*[^-.0-9A-Z_a-z])?}}ld{{(.exe)?}}"
-// CHECK-LINUX-I386: "{{.*}}/Inputs/resource_dir/lib/linux/libclang_rt.profile-i386.a" {{.*}} "-lc"
+// CHECK-LINUX-I386: "{{.*}}/Inputs/resource_dir{{/|\\\\}}lib{{/|\\\\}}linux{{/|\\\\}}libclang_rt.profile-i386.a" {{.*}} "-lc"
 //
 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
 // RUN:     -target x86_64-unknown-linux --coverage \
@@ -16,4 +16,4 @@
 // RUN:   | FileCheck --check-prefix=CHECK-LINUX-X86-64 %s
 //
 // CHECK-LINUX-X86-64: "{{(.*[^-.0-9A-Z_a-z])?}}ld{{(.exe)?}}"
-// CHECK-LINUX-X86-64: "{{.*}}/Inputs/resource_dir/lib/linux/libclang_rt.profile-x86_64.a" {{.*}} "-lc"
+// CHECK-LINUX-X86-64: "{{.*}}/Inputs/resource_dir{{/|\\\\}}lib{{/|\\\\}}linux{{/|\\\\}}libclang_rt.profile-x86_64.a" {{.*}} "-lc"