/// identified by the script.
bool
LTOBugPoint::findTroubleMakers(SmallVector<std::string, 4> &TroubleMakers,
- std::string &Script) {
+ std::string &Script) {
// First, build native object files set.
bool bitcodeFileSeen = false;
else if (InputFile.isBitcodeFile()) {
bitcodeFileSeen = true;
if (getNativeObjectFile(FileName) == false)
- return false;
+ return false;
}
else
NativeInputFiles.push_back(FileName);
std::ofstream *Out = new std::ofstream(AsmFileName, std::ios::out);
switch (Target->addPassesToEmitFile(*CGPasses, *Out,
- TargetMachine::AssemblyFile, true)) {
+ TargetMachine::AssemblyFile, true)) {
case FileModel::MachOFile:
mce = AddMachOWriter(*CGPasses, *Out, *Target);
break;
CGPasses->doInitialization();
for (Module::iterator
- it = M->begin(), e = M->end(); it != e; ++it)
+ it = M->begin(), e = M->end(); it != e; ++it)
if (!it->isDeclaration())
CGPasses->run(*it);
CGPasses->doFinalization();