mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-10-10 21:04:56 +00:00
Enable IAS for FreeBSD SPARC64.
llvm-svn: 357878
This commit is contained in:
parent
e4f95e8e39
commit
0e5ccd9cec
@ -2547,7 +2547,8 @@ bool Generic_GCC::IsIntegratedAssemblerDefault() const {
|
||||
case llvm::Triple::sparc:
|
||||
case llvm::Triple::sparcel:
|
||||
case llvm::Triple::sparcv9:
|
||||
if (getTriple().isOSSolaris() || getTriple().isOSOpenBSD())
|
||||
if (getTriple().isOSFreeBSD() || getTriple().isOSOpenBSD() ||
|
||||
getTriple().isOSSolaris())
|
||||
return true;
|
||||
return false;
|
||||
default:
|
||||
|
@ -184,9 +184,11 @@
|
||||
// RUN: | FileCheck -check-prefix=CHECK-MIPS64-CPU %s
|
||||
// CHECK-MIPS64-CPU: "-target-cpu" "mips3"
|
||||
|
||||
// Check that the integrated assembler is enabled for MIPS64
|
||||
// Check that the integrated assembler is enabled for MIPS64/SPARC64
|
||||
// RUN: %clang -target mips64-unknown-freebsd -### -c %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=CHECK-MIPS64-AS %s
|
||||
// RUN: | FileCheck -check-prefix=CHECK-IAS %s
|
||||
// RUN: %clang -target mips64el-unknown-freebsd -### -c %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=CHECK-MIPS64-AS %s
|
||||
// CHECK-MIPS64-AS-NOT: "-no-integrated-as"
|
||||
// RUN: | FileCheck -check-prefix=CHECK-IAS %s
|
||||
// RUN: %clang -target sparc64-unknown-freebsd -### -c %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=CHECK-IAS %s
|
||||
// CHECK-IAS-NOT: "-no-integrated-as"
|
||||
|
Loading…
Reference in New Issue
Block a user