mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-01 17:32:36 +00:00
analyze no longer exists, don't offer to run it :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29919 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f91e4f86c2
commit
a4be053d7d
@ -77,18 +77,7 @@ void BugDriver::EmitProgressBytecode(const std::string &ID, bool NoFlyer) {
|
||||
std::cout << "Emitted bytecode to '" << Filename << "'\n";
|
||||
if (NoFlyer || PassesToRun.empty()) return;
|
||||
std::cout << "\n*** You can reproduce the problem with: ";
|
||||
|
||||
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 << "opt " << Filename << " ";
|
||||
std::cout << getPassesString(PassesToRun) << "\n";
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user