parent
70450c59a4
commit
749763eaf7
|
@ -839,13 +839,13 @@ void Clang::AddARMTargetArgs(const ArgList &Args,
|
||||||
true))
|
true))
|
||||||
CmdArgs.push_back("-no-implicit-float");
|
CmdArgs.push_back("-no-implicit-float");
|
||||||
|
|
||||||
// llvm does not support reserving registers in general. There is support
|
// llvm does not support reserving registers in general. There is support
|
||||||
// for reserving r9 on ARM though (defined as a platform-specific register
|
// for reserving r9 on ARM though (defined as a platform-specific register
|
||||||
// in ARM EABI).
|
// in ARM EABI).
|
||||||
if (Args.hasArg(options::OPT_ffixed_r9)) {
|
if (Args.hasArg(options::OPT_ffixed_r9)) {
|
||||||
CmdArgs.push_back("-backend-option");
|
CmdArgs.push_back("-backend-option");
|
||||||
CmdArgs.push_back("-arm-reserve-r9");
|
CmdArgs.push_back("-arm-reserve-r9");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// getARM64TargetCPU - Get the (LLVM) name of the ARM64 cpu we are targeting.
|
/// getARM64TargetCPU - Get the (LLVM) name of the ARM64 cpu we are targeting.
|
||||||
|
|
Loading…
Reference in New Issue