Don't leave a trail of bugpoint-execution-output-* breadcrumbs all over the place

llvm-svn: 9242
This commit is contained in:
Chris Lattner 2003-10-18 21:02:51 +00:00
parent 8aa9d7a872
commit 23628ef2fb

View File

@ -195,7 +195,11 @@ bool BugDriver::diffProgram(const std::string &BytecodeFile,
}
FilesDifferent = true;
}
// Remove the generated output.
removeFile(Output);
// Remove the bytecode file if we are supposed to.
if (RemoveBytecode) removeFile(BytecodeFile);
return FilesDifferent;
}