2020-10-27 04:23:30 +08:00
|
|
|
// RUN: %clang -target powerpc-ibm-aix-xcoff -### -E -G 0 2>&1 %s | \
|
2020-10-22 04:50:36 +08:00
|
|
|
// RUN: FileCheck --check-prefix=CHECK32 %s
|
2020-10-27 04:23:30 +08:00
|
|
|
// RUN: %clang -target powerpc-ibm-aix-xcoff -### -S -emit-llvm -G 0 2>&1 %s | \
|
|
|
|
// RUN: FileCheck --check-prefix=CHECK32 %s
|
|
|
|
// RUN: %clang -target powerpc-ibm-aix-xcoff -### -c -G 0 2>&1 %s | \
|
|
|
|
// RUN: FileCheck --check-prefix=CHECK32 %s
|
|
|
|
// RUN: %clang -target powerpc-ibm-aix-xcoff -### -c \
|
|
|
|
// RUN: %S/Inputs/aix_ppc_tree/dummy0.s -G 0 2>&1 | \
|
|
|
|
// RUN: FileCheck --check-prefix=CHECK32 %s
|
|
|
|
// RUN: %clang -target powerpc-ibm-aix-xcoff -### -o dummy.so \
|
|
|
|
// RUN: %S/Inputs/aix_ppc_tree/dummy0.o -G 0 2>&1 | \
|
|
|
|
// RUN: FileCheck --check-prefix=CHECK32 %s
|
|
|
|
|
|
|
|
// RUN: %clang -target powerpc64-ibm-aix-xcoff -### -E -G 0 2>&1 %s | \
|
|
|
|
// RUN: FileCheck --check-prefix=CHECK64 %s
|
2020-10-22 04:50:36 +08:00
|
|
|
// RUN: %clang -target powerpc64-ibm-aix-xcoff -### -S -emit-llvm -G 0 2>&1 %s | \
|
|
|
|
// RUN: FileCheck --check-prefix=CHECK64 %s
|
2020-10-27 04:23:30 +08:00
|
|
|
// RUN: %clang -target powerpc64-ibm-aix-xcoff -### -c -G 0 2>&1 %s | \
|
|
|
|
// RUN: FileCheck --check-prefix=CHECK64 %s
|
|
|
|
// RUN: %clang -target powerpc64-ibm-aix-xcoff -### -c \
|
|
|
|
// RUN: %S/Inputs/aix_ppc_tree/dummy0.s -G 0 2>&1 | \
|
|
|
|
// RUN: FileCheck --check-prefix=CHECK64 %s
|
|
|
|
// RUN: %clang -target powerpc64-ibm-aix-xcoff -### -o dummy.so \
|
|
|
|
// RUN: %S/Inputs/aix_ppc_tree/dummy0.o -G 0 2>&1 | \
|
|
|
|
// RUN: FileCheck --check-prefix=CHECK64 %s
|
2020-10-22 04:50:36 +08:00
|
|
|
|
2020-10-27 04:23:30 +08:00
|
|
|
// CHECK32: error: unsupported option '-G' for target 'powerpc-ibm-aix-xcoff'
|
2020-10-22 04:50:36 +08:00
|
|
|
// CHECK64: error: unsupported option '-G' for target 'powerpc64-ibm-aix-xcoff'
|