annotate clang/test/Driver/unknown-gcc-arch.c @ 222:81f6424ef0e3 llvm-original

LLVM original branch
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 18 Jul 2021 22:10:01 +0900
parents 1d019706d866
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // RUN: %clang -target x86_64-unknown-unknown -no-integrated-as -c \
anatofuz
parents:
diff changeset
2 // RUN: -x assembler %s -### 2>&1 | FileCheck -check-prefix=X86_64 %s
anatofuz
parents:
diff changeset
3 // X86_64: {{.*as.*--64}}
anatofuz
parents:
diff changeset
4
anatofuz
parents:
diff changeset
5 // RUN: %clang -target x86_64-unknown-unknown -c -x assembler %s -### -m32 \
anatofuz
parents:
diff changeset
6 // RUN: -no-integrated-as 2>&1 | FileCheck -check-prefix=X86_64-M32 %s
anatofuz
parents:
diff changeset
7 // X86_64-M32: {{.*as.*--32}}
anatofuz
parents:
diff changeset
8
anatofuz
parents:
diff changeset
9 // RUN: %clang -target i386-unknown-unknown -c -x assembler %s -### \
anatofuz
parents:
diff changeset
10 // RUN: -no-integrated-as 2>&1| FileCheck -check-prefix=I386 %s
anatofuz
parents:
diff changeset
11 // I386: {{.*as.*--32}}
anatofuz
parents:
diff changeset
12
anatofuz
parents:
diff changeset
13 // RUN: %clang -target i386-unknown-unknown -c -x assembler %s -### -m64 \
anatofuz
parents:
diff changeset
14 // RUN: -no-integrated-as 2>&1 | FileCheck -check-prefix=I386-M64 %s
anatofuz
parents:
diff changeset
15 // I386-M64: {{.*as.*--64}}
anatofuz
parents:
diff changeset
16
anatofuz
parents:
diff changeset
17 // RUN: %clang -target powerpc64-unknown-unknown -c -x assembler %s -### \
anatofuz
parents:
diff changeset
18 // RUN: -no-integrated-as 2>&1 | FileCheck -check-prefix=PPC64 %s
anatofuz
parents:
diff changeset
19 // PPC64: {{.*as.*-a64}}
anatofuz
parents:
diff changeset
20
anatofuz
parents:
diff changeset
21 // RUN: %clang -target powerpc-unknown-unknown -c -x assembler %s -### -m64 \
anatofuz
parents:
diff changeset
22 // RUN: -no-integrated-as 2>&1 | FileCheck -check-prefix=PPC-M64 %s
anatofuz
parents:
diff changeset
23 // PPC-M64: {{.*as.*-a64}}
anatofuz
parents:
diff changeset
24
anatofuz
parents:
diff changeset
25
anatofuz
parents:
diff changeset
26 // RUN: %clang -target powerpc64-unknown-unknown -c -x assembler %s -### -m32 \
anatofuz
parents:
diff changeset
27 // RUN: -no-integrated-as 2>&1 | FileCheck -check-prefix=PPC64-M32 %s
anatofuz
parents:
diff changeset
28 // PPC64-M32: {{.*as.*-a32}}
anatofuz
parents:
diff changeset
29
anatofuz
parents:
diff changeset
30 // RUN: %clang -target powerpc-unknown-unknown -c -x assembler %s -### 2>&1 \
anatofuz
parents:
diff changeset
31 // RUN: -no-integrated-as | FileCheck -check-prefix=PPC %s
anatofuz
parents:
diff changeset
32 // PPC: {{.*as.*-a32}}
anatofuz
parents:
diff changeset
33
anatofuz
parents:
diff changeset
34 // RUN: %clang -target sparc64-unknown-unknown -no-integrated-as -c -x assembler %s -### -m32 2>&1 \
anatofuz
parents:
diff changeset
35 // RUN: | FileCheck -check-prefix=SPARCV8 %s
anatofuz
parents:
diff changeset
36 // SPARCV8: {{.*as.*-32}}
anatofuz
parents:
diff changeset
37
anatofuz
parents:
diff changeset
38 // RUN: %clang -target sparc-unknown-unknown -no-integrated-as -c -x assembler %s -### -m64 2>&1 \
anatofuz
parents:
diff changeset
39 // RUN: | FileCheck -check-prefix=SPARCV9 %s
anatofuz
parents:
diff changeset
40 // SPARCV9: {{.*as.*-64}}