зеркало из https://github.com/microsoft/clang.git
Revert Sparc and SparcV9 to external assembler. Now that the CPU
handling is corrected, the primary reason for forcing IAS as default is gone and the remaining issues are still somewhat problematic in common situations. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@254199 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
a797c990d1
Коммит
4f0940af85
|
@ -2377,9 +2377,6 @@ bool Generic_GCC::IsIntegratedAssemblerDefault() const {
|
||||||
case llvm::Triple::ppc:
|
case llvm::Triple::ppc:
|
||||||
case llvm::Triple::ppc64:
|
case llvm::Triple::ppc64:
|
||||||
case llvm::Triple::ppc64le:
|
case llvm::Triple::ppc64le:
|
||||||
case llvm::Triple::sparc:
|
|
||||||
case llvm::Triple::sparcel:
|
|
||||||
case llvm::Triple::sparcv9:
|
|
||||||
case llvm::Triple::systemz:
|
case llvm::Triple::systemz:
|
||||||
return true;
|
return true;
|
||||||
default:
|
default:
|
||||||
|
|
|
@ -1,3 +1,17 @@
|
||||||
|
// Make sure Sparc does not use the integrated assembler by default.
|
||||||
|
|
||||||
|
// RUN: %clang -target sparc-linux -### -c %s 2>&1 \
|
||||||
|
// RUN: | FileCheck -check-prefix=NO-IAS %s
|
||||||
|
|
||||||
|
// RUN: %clang -target sparc-linux -fintegrated-as -### -c %s 2>&1 \
|
||||||
|
// RUN: | FileCheck -check-prefix=IAS %s
|
||||||
|
|
||||||
|
// RUN: %clang -target sparc-linux -fno-integrated-as -### -c %s 2>&1 \
|
||||||
|
// RUN: | FileCheck -check-prefix=NO-IAS %s
|
||||||
|
|
||||||
|
// IAS-NOT: "-no-integrated-as"
|
||||||
|
// NO-IAS: "-no-integrated-as"
|
||||||
|
|
||||||
// RUN: %clang -no-canonical-prefixes -target sparc--netbsd \
|
// RUN: %clang -no-canonical-prefixes -target sparc--netbsd \
|
||||||
// RUN: -no-integrated-as --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
// RUN: -no-integrated-as --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
||||||
// RUN: | FileCheck -check-prefix=SPARC %s
|
// RUN: | FileCheck -check-prefix=SPARC %s
|
||||||
|
|
|
@ -1,3 +1,17 @@
|
||||||
|
// Make sure SparcV9 does not use the integrated assembler by default.
|
||||||
|
|
||||||
|
// RUN: %clang -target sparcv9-linux -### -c %s 2>&1 \
|
||||||
|
// RUN: | FileCheck -check-prefix=NO-IAS %s
|
||||||
|
|
||||||
|
// RUN: %clang -target sparcv9-linux -fintegrated-as -### -c %s 2>&1 \
|
||||||
|
// RUN: | FileCheck -check-prefix=IAS %s
|
||||||
|
|
||||||
|
// RUN: %clang -target sparcv9-linux -fno-integrated-as -### -c %s 2>&1 \
|
||||||
|
// RUN: | FileCheck -check-prefix=NO-IAS %s
|
||||||
|
|
||||||
|
// IAS-NOT: "-no-integrated-as"
|
||||||
|
// NO-IAS: "-no-integrated-as"
|
||||||
|
|
||||||
// RUN: %clang -no-canonical-prefixes -target sparcv9--netbsd \
|
// RUN: %clang -no-canonical-prefixes -target sparcv9--netbsd \
|
||||||
// RUN: -no-integrated-as --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
// RUN: -no-integrated-as --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
||||||
// RUN: | FileCheck -check-prefix=SPARC %s
|
// RUN: | FileCheck -check-prefix=SPARC %s
|
||||||
|
|
Загрузка…
Ссылка в новой задаче