Mercurial > hg > CbC > CbC_llvm
view 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 (2021-07-18) |
parents | 1d019706d866 |
children |
line wrap: on
line source
// RUN: %clang -target x86_64-unknown-unknown -no-integrated-as -c \ // RUN: -x assembler %s -### 2>&1 | FileCheck -check-prefix=X86_64 %s // X86_64: {{.*as.*--64}} // RUN: %clang -target x86_64-unknown-unknown -c -x assembler %s -### -m32 \ // RUN: -no-integrated-as 2>&1 | FileCheck -check-prefix=X86_64-M32 %s // X86_64-M32: {{.*as.*--32}} // RUN: %clang -target i386-unknown-unknown -c -x assembler %s -### \ // RUN: -no-integrated-as 2>&1| FileCheck -check-prefix=I386 %s // I386: {{.*as.*--32}} // RUN: %clang -target i386-unknown-unknown -c -x assembler %s -### -m64 \ // RUN: -no-integrated-as 2>&1 | FileCheck -check-prefix=I386-M64 %s // I386-M64: {{.*as.*--64}} // RUN: %clang -target powerpc64-unknown-unknown -c -x assembler %s -### \ // RUN: -no-integrated-as 2>&1 | FileCheck -check-prefix=PPC64 %s // PPC64: {{.*as.*-a64}} // RUN: %clang -target powerpc-unknown-unknown -c -x assembler %s -### -m64 \ // RUN: -no-integrated-as 2>&1 | FileCheck -check-prefix=PPC-M64 %s // PPC-M64: {{.*as.*-a64}} // RUN: %clang -target powerpc64-unknown-unknown -c -x assembler %s -### -m32 \ // RUN: -no-integrated-as 2>&1 | FileCheck -check-prefix=PPC64-M32 %s // PPC64-M32: {{.*as.*-a32}} // RUN: %clang -target powerpc-unknown-unknown -c -x assembler %s -### 2>&1 \ // RUN: -no-integrated-as | FileCheck -check-prefix=PPC %s // PPC: {{.*as.*-a32}} // RUN: %clang -target sparc64-unknown-unknown -no-integrated-as -c -x assembler %s -### -m32 2>&1 \ // RUN: | FileCheck -check-prefix=SPARCV8 %s // SPARCV8: {{.*as.*-32}} // RUN: %clang -target sparc-unknown-unknown -no-integrated-as -c -x assembler %s -### -m64 2>&1 \ // RUN: | FileCheck -check-prefix=SPARCV9 %s // SPARCV9: {{.*as.*-64}}