mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
Don't crash if there are no passes in the PassesToRun list
llvm-svn: 11612
This commit is contained in:
parent
2a293313ca
commit
3d405dc9c4
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user