forked from OSchip/llvm-project
Driver/Darwin: These are command line options, not target features.
llvm-svn: 127820
This commit is contained in:
parent
1d733e2d7e
commit
033a4bc49e
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue