[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / Driver / biarch.c
blob51e173faa7e6b9fa7c57e2b889d6c82652d1093a
1 // RUN: %clang -target i386--netbsd -m32 %s -### 2>&1 | FileCheck -check-prefix=I386 %s
2 // RUN: %clang -target x86_64--netbsd -m32 %s -### 2>&1 | FileCheck -check-prefix=I386 %s
3 // I386: "-cc1" "-triple" "i386-unknown-netbsd"
5 // RUN: %clang -target i386--netbsd -m64 %s -### 2>&1 | FileCheck -check-prefix=X86_64 %s
6 // RUN: %clang -target x86_64--netbsd -m64 %s -### 2>&1 | FileCheck -check-prefix=X86_64 %s
7 // X86_64: "-cc1" "-triple" "x86_64-unknown-netbsd"
9 // r196538 set arm1176jzf-s as default CPU for ARMv6 on NetBSD
10 // RUN: %clang -target armv6--netbsd-eabihf -m32 %s -### 2>&1 | FileCheck -check-prefix=ARMV6 %s
11 // ARMV6: "-cc1" "-triple" "armv6kz-unknown-netbsd-eabihf"
13 // RUN: %clang -target sparcv9--netbsd -m32 %s -### 2>&1 | FileCheck -check-prefix=SPARC %s
14 // RUN: %clang -target sparc--netbsd -m32 %s -### 2>&1 | FileCheck -check-prefix=SPARC %s
15 // SPARC: "-cc1" "-triple" "sparc-unknown-netbsd"
17 // RUN: %clang -target sparcv9--netbsd -m64 %s -### 2>&1 | FileCheck -check-prefix=SPARCV9 %s
18 // RUN: %clang -target sparc--netbsd -m64 %s -### 2>&1 | FileCheck -check-prefix=SPARCV9 %s
19 // SPARCV9: "-cc1" "-triple" "sparcv9-unknown-netbsd"
21 // RUN: %clang -target sparc64--netbsd -m64 %s -### 2>&1 | FileCheck -check-prefix=SPARC64 %s
22 // SPARC64: "-cc1" "-triple" "sparc64-unknown-netbsd"
24 // RUN: %clang -target sparcel -o foo %s -### 2>&1 | FileCheck -check-prefix=SPARCEL %s
25 // SPARCEL: gcc{{(\.exe)?}}" "-EL" "-o" "foo"
27 // RUN: %clang -target mips64--netbsd -m32 %s -### 2>&1 | FileCheck -check-prefix=MIPS %s
28 // RUN: %clang -target mips--netbsd -m32 %s -### 2>&1 | FileCheck -check-prefix=MIPS %s
29 // MIPS: "-cc1" "-triple" "mips-unknown-netbsd"
31 // RUN: %clang -target mips64--netbsd -m64 %s -### 2>&1 | FileCheck -check-prefix=MIPS64 %s
32 // RUN: %clang -target mips--netbsd -m64 %s -### 2>&1 | FileCheck -check-prefix=MIPS64 %s
33 // MIPS64: "-cc1" "-triple" "mips64-unknown-netbsd"