If nobody minds, I'm using LTO to produce faster binaries. Switch fast codegen

off in libLTO.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65310 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nick Lewycky 2009-02-23 07:41:55 +00:00
parent b0000c376c
commit a9183c8020

View File

@ -420,7 +420,7 @@ bool LTOCodeGenerator::generateAssemblyCode(raw_ostream& out,
MachineCodeEmitter* mce = NULL;
switch (_target->addPassesToEmitFile(*codeGenPasses, out,
TargetMachine::AssemblyFile, true)) {
TargetMachine::AssemblyFile, false)) {
case FileModel::MachOFile:
mce = AddMachOWriter(*codeGenPasses, out, *_target);
break;
@ -435,7 +435,7 @@ bool LTOCodeGenerator::generateAssemblyCode(raw_ostream& out,
return true;
}
if (_target->addPassesToEmitFileFinish(*codeGenPasses, mce, true)) {
if (_target->addPassesToEmitFileFinish(*codeGenPasses, mce, false)) {
errMsg = "target does not support generation of this file type";
return true;
}