Driver/Darwin: These are command line options, not target features.

llvm-svn: 127820
This commit is contained in:
Daniel Dunbar 2011-03-17 18:29:04 +00:00
parent 1d733e2d7e
commit 033a4bc49e
2 changed files with 4 additions and 4 deletions

View File

@ -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");
}
}

View File

@ -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"