On Sun, Dec 01, 2013 at 02:56:11AM -0500, Brad Smith wrote:
> Index: test/Driver/openbsd.c
> ===================================================================
> --- test/Driver/openbsd.c     (revision 196036)
> +++ test/Driver/openbsd.c     (working copy)
> @@ -17,6 +17,10 @@
>  // RUN:   | FileCheck --check-prefix=CHECK-LD-T %s
>  // RUN: %clang -no-canonical-prefixes -target i686-pc-openbsd -Z %s -### 
> 2>&1 \
>  // RUN:   | FileCheck --check-prefix=CHECK-LD-Z %s
> +// RUN: %clang -no-canonical-prefixes -target mips64-openbsd %s -### 2>&1 \
> +// RUN:   | FileCheck --check-prefix=CHECK-MIPS64-LD %s
> +// RUN: %clang -no-canonical-prefixes -target mips64el-openbsd %s -### 2>&1 \
> +// RUN:   | FileCheck --check-prefix=CHECK-MIPS64EL-LD %s
>  // CHECK-LD-R: clang{{.*}}" "-cc1" "-triple" "i686-pc-openbsd"
>  // CHECK-LD-R: ld{{.*}}" "-e" "__start" "--eh-frame-hdr" "-Bdynamic" 
> "-dynamic-linker" "{{.*}}ld.so" "-o" "a.out" "{{.*}}crt0.o" 
> "{{.*}}crtbegin.o" "-L{{.*}}" "-r" "{{.*}}.o" "-lgcc" "-lc" "-lgcc" 
> "{{.*}}crtend.o"
>  // CHECK-LD-S: clang{{.*}}" "-cc1" "-triple" "i686-pc-openbsd"
> @@ -25,3 +29,27 @@
>  // CHECK-LD-T: ld{{.*}}" "-e" "__start" "--eh-frame-hdr" "-Bdynamic" 
> "-dynamic-linker" "{{.*}}ld.so" "-o" "a.out" "{{.*}}crt0.o" 
> "{{.*}}crtbegin.o" "-L{{.*}}" "-t" "{{.*}}.o" "-lgcc" "-lc" "-lgcc" 
> "{{.*}}crtend.o"
>  // CHECK-LD-Z: clang{{.*}}" "-cc1" "-triple" "i686-pc-openbsd"
>  // CHECK-LD-Z: ld{{.*}}" "-e" "__start" "--eh-frame-hdr" "-Bdynamic" 
> "-dynamic-linker" "{{.*}}ld.so" "-o" "a.out" "{{.*}}crt0.o" 
> "{{.*}}crtbegin.o" "-L{{.*}}" "-Z" "{{.*}}.o" "-lgcc" "-lc" "-lgcc" 
> "{{.*}}crtend.o"
> +// CHECK-MIPS64-LD: clang{{.*}}" "-cc1" "-triple" "mips64-openbsd"

This part fails to match here -- the output is mips64--openbsd.

Joerg
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to