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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9242 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-10-18 21:02:51 +00:00
parent 0b4ffea866
commit 1a28a2b76d

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;
}