]> granicus.if.org Git - clang/commitdiff
There might be an 'ld' without any path prefix.
authorChandler Carruth <chandlerc@gmail.com>
Sat, 1 Oct 2011 01:03:45 +0000 (01:03 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sat, 1 Oct 2011 01:03:45 +0000 (01:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140913 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/linux-ld.c

index bb50a6558f37deda9caf29df787bc8e3b8c81e2c..4ad676726f5215bb02ba79c474027c009c3c595b 100644 (file)
@@ -2,8 +2,8 @@
 //
 // RUN: %clang -no-canonical-prefixes -ccc-host-triple i386-unknown-linux %s -### -o %t.o 2>&1 \
 // RUN:   | FileCheck --check-prefix=CHECK-LD-32 %s
-// CHECK-LD-32: "{{.*}}/ld" {{.*}} "-L/lib/../lib32" "-L/usr/lib/../lib32"
+// CHECK-LD-32: "{{.*}}ld" {{.*}} "-L/lib/../lib32" "-L/usr/lib/../lib32"
 //
 // RUN: %clang -no-canonical-prefixes -ccc-host-triple x86_64-unknown-linux %s -### -o %t.o 2>&1 \
 // RUN:   | FileCheck --check-prefix=CHECK-LD-64 %s
-// CHECK-LD-64: "{{.*}}/ld" {{.*}} "-L/lib/../lib64" "-L/usr/lib/../lib64"
+// CHECK-LD-64: "{{.*}}ld" {{.*}} "-L/lib/../lib64" "-L/usr/lib/../lib64"