diff options
author | Brad Smith <brad@comstyle.com> | 2018-06-29 19:03:03 +0000 |
---|---|---|
committer | Brad Smith <brad@comstyle.com> | 2018-06-29 19:03:03 +0000 |
commit | 3d0e91afdc40c5934822bd84158f62261acd506a (patch) | |
tree | 6b384b16b1a70b3071c44c886e2547ec906d64f9 /clang/test/Driver/openbsd.c | |
parent | 38049a51bda3a7f453507c2cb42734b74ee7e6ae (diff) | |
download | bcm5719-llvm-3d0e91afdc40c5934822bd84158f62261acd506a.tar.gz bcm5719-llvm-3d0e91afdc40c5934822bd84158f62261acd506a.zip |
[mips][ias] Enable IAS by default for OpenBSD / FreeBSD mips64/mips64el.
Reviewers: atanasyan
Differential Revision: https://reviews.llvm.org/D48515
llvm-svn: 336004
Diffstat (limited to 'clang/test/Driver/openbsd.c')
-rw-r--r-- | clang/test/Driver/openbsd.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/test/Driver/openbsd.c b/clang/test/Driver/openbsd.c index 2bcd7037703..098ecc4a275 100644 --- a/clang/test/Driver/openbsd.c +++ b/clang/test/Driver/openbsd.c @@ -74,6 +74,13 @@ // CHECK-MIPS64EL: as{{.*}}" "-mabi" "64" "-EL" // CHECK-MIPS64EL-PIC: as{{.*}}" "-mabi" "64" "-EL" "-KPIC" +// Check that the integrated assembler is enabled for MIPS64 +// RUN: %clang -target mips64-unknown-openbsd -### -c %s 2>&1 \ +// RUN: | FileCheck -check-prefix=CHECK-MIPS64-AS %s +// RUN: %clang -target mips64el-unknown-openbsd -### -c %s 2>&1 \ +// RUN: | FileCheck -check-prefix=CHECK-MIPS64-AS %s +// CHECK-MIPS64-AS-NOT: "-no-integrated-as" + // Check linking against correct startup code when (not) using PIE // RUN: %clang -no-canonical-prefixes -target i686-pc-openbsd %s -### 2>&1 \ // RUN: | FileCheck -check-prefix=CHECK-PIE %s |