mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
analyze no longer exists, don't offer to run it :)
llvm-svn: 29919
This commit is contained in:
parent
dc7bad1787
commit
d7fb3018ca
@ -77,18 +77,7 @@ void BugDriver::EmitProgressBytecode(const std::string &ID, bool NoFlyer) {
|
|||||||
std::cout << "Emitted bytecode to '" << Filename << "'\n";
|
std::cout << "Emitted bytecode to '" << Filename << "'\n";
|
||||||
if (NoFlyer || PassesToRun.empty()) return;
|
if (NoFlyer || PassesToRun.empty()) return;
|
||||||
std::cout << "\n*** You can reproduce the problem with: ";
|
std::cout << "\n*** You can reproduce the problem with: ";
|
||||||
|
std::cout << "opt " << Filename << " ";
|
||||||
unsigned PassType = PassesToRun[0]->getPassType();
|
|
||||||
for (unsigned i = 1, e = PassesToRun.size(); i != e; ++i)
|
|
||||||
PassType &= PassesToRun[i]->getPassType();
|
|
||||||
|
|
||||||
if (PassType & PassInfo::Analysis)
|
|
||||||
std::cout << "analyze";
|
|
||||||
else if (PassType & PassInfo::Optimization)
|
|
||||||
std::cout << "opt";
|
|
||||||
else
|
|
||||||
std::cout << "bugpoint";
|
|
||||||
std::cout << " " << Filename << " ";
|
|
||||||
std::cout << getPassesString(PassesToRun) << "\n";
|
std::cout << getPassesString(PassesToRun) << "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user