зеркало из https://github.com/microsoft/clang.git
Driver/Darwin: These are command line options, not target features.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127820 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
7f6f8c8ab2
Коммит
0133917074
|
@ -594,10 +594,10 @@ void Clang::AddARMTargetArgs(const ArgList &Args,
|
|||
|
||||
// Kernel code has more strict alignment requirements.
|
||||
if (KernelOrKext) {
|
||||
CmdArgs.push_back("-target-feature");
|
||||
CmdArgs.push_back("-mllvm");
|
||||
CmdArgs.push_back("-arm-long-calls");
|
||||
|
||||
CmdArgs.push_back("-target-feature");
|
||||
CmdArgs.push_back("-mllvm");
|
||||
CmdArgs.push_back("-arm-strict-align");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
// RUN: -arch armv7 -mkernel -### -fsyntax-only %s 2> %t
|
||||
// RUN: FileCheck --check-prefix=CHECK-ARM < %t %s
|
||||
|
||||
// CHECK-ARM: "-target-feature" "-arm-long-calls"
|
||||
// CHECK-ARM: "-target-feature" "-arm-strict-align"
|
||||
// CHECK-ARM: "-mllvm" "-arm-long-calls"
|
||||
// CHECK-ARM: "-mllvm" "-arm-strict-align"
|
||||
// CHECK-ARM: "-fno-builtin"
|
||||
// CHECK-ARM: "-fno-rtti"
|
||||
// CHECK-ARM: "-fno-common"
|
||||
|
|
Загрузка…
Ссылка в новой задаче