diff options
-rw-r--r-- | tools/bugpoint/OptimizerDriver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bugpoint/OptimizerDriver.cpp b/tools/bugpoint/OptimizerDriver.cpp index 1d86828..d21b5b5 100644 --- a/tools/bugpoint/OptimizerDriver.cpp +++ b/tools/bugpoint/OptimizerDriver.cpp @@ -53,7 +53,7 @@ void BugDriver::EmitProgressBytecode(const std::string &ID, bool NoFlyer) { } std::cout << "Emitted bytecode to '" << Filename << "'\n"; - if (NoFlyer) return; + if (NoFlyer || PassesToRun.empty()) return; std::cout << "\n*** You can reproduce the problem with: "; unsigned PassType = PassesToRun[0]->getPassType(); |