-
Notifications
You must be signed in to change notification settings - Fork 12.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AIX] Also error on -G for link-only step
Error on -G on AIX for all modes(preprocess, assemble, compile, link). Differential Revision: https://reviews.llvm.org/D90063
- Loading branch information
1 parent
5a6e66e
commit 3d4aebb
Showing
3 changed files
with
30 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,28 @@ | ||
// RUN: %clang -target powerpc32-ibm-aix-xcoff -### -S -emit-llvm -G 0 2>&1 %s | \ | ||
// RUN: %clang -target powerpc-ibm-aix-xcoff -### -E -G 0 2>&1 %s | \ | ||
// RUN: FileCheck --check-prefix=CHECK32 %s | ||
// 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 | ||
// RUN: %clang -target powerpc64-ibm-aix-xcoff -### -S -emit-llvm -G 0 2>&1 %s | \ | ||
// RUN: FileCheck --check-prefix=CHECK64 %s | ||
// 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 | ||
|
||
// CHECK32: error: unsupported option '-G' for target 'powerpc32-ibm-aix-xcoff' | ||
// CHECK32: error: unsupported option '-G' for target 'powerpc-ibm-aix-xcoff' | ||
// CHECK64: error: unsupported option '-G' for target 'powerpc64-ibm-aix-xcoff' |