diff options
author | Simon Atanasyan <simon@atanasyan.com> | 2017-08-10 15:42:31 +0000 |
---|---|---|
committer | Simon Atanasyan <simon@atanasyan.com> | 2017-08-10 15:42:31 +0000 |
commit | c717041e847db8bd7dfee61ee2a00c3653704651 (patch) | |
tree | 3c77c43069407e25b1188a7ccc20066c6c88fb58 | |
parent | c038841e8be7ad7ffec4d07c0175a5f037b554a7 (diff) | |
download | bcm5719-llvm-c717041e847db8bd7dfee61ee2a00c3653704651.tar.gz bcm5719-llvm-c717041e847db8bd7dfee61ee2a00c3653704651.zip |
[mips] Group all `-mabicalls` related checks in the single place. NFC
llvm-svn: 310615
-rw-r--r-- | clang/test/Driver/mips-abicalls-warning.c | 6 | ||||
-rw-r--r-- | clang/test/Driver/mips-longcalls-warning.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/clang/test/Driver/mips-abicalls-warning.c b/clang/test/Driver/mips-abicalls-warning.c index 6bfa961b727..848a5bfce52 100644 --- a/clang/test/Driver/mips-abicalls-warning.c +++ b/clang/test/Driver/mips-abicalls-warning.c @@ -1,3 +1,9 @@ // REQUIRES: mips-registered-target // RUN: %clang -### -c -target mips64-mti-elf -fno-PIC -mabicalls %s 2>&1 | FileCheck %s // CHECK: warning: ignoring '-mabicalls' option as it cannot be used with non position-independent code and the N64 ABI + +// RUN: %clang -### -c -target mips-mti-elf -mlong-calls %s 2>&1 | FileCheck -check-prefix=LONGCALL-IMP %s +// LONGCALL-IMP: warning: ignoring '-mlong-calls' option as it is not currently supported with the implicit usage of -mabicalls + +// RUN: %clang -### -c -target mips-mti-elf -mlong-calls -mabicalls %s 2>&1 | FileCheck -check-prefix=LONGCALL-EXP %s +// LONGCALL-EXP: warning: ignoring '-mlong-calls' option as it is not currently supported with -mabicalls diff --git a/clang/test/Driver/mips-longcalls-warning.c b/clang/test/Driver/mips-longcalls-warning.c deleted file mode 100644 index c19d6d8c0c9..00000000000 --- a/clang/test/Driver/mips-longcalls-warning.c +++ /dev/null @@ -1,6 +0,0 @@ -// REQUIRES: mips-registered-target -// RUN: %clang -### -c -target mips-mti-elf -mlong-calls %s 2>&1 | FileCheck -check-prefix=IMPLICIT %s -// IMPLICIT: warning: ignoring '-mlong-calls' option as it is not currently supported with the implicit usage of -mabicalls - -// RUN: %clang -### -c -target mips-mti-elf -mlong-calls -mabicalls %s 2>&1 | FileCheck -check-prefix=EXPLICIT %s -// EXPLICIT: warning: ignoring '-mlong-calls' option as it is not currently supported with -mabicalls |