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 9d7eeb6f96
commit 759b9931fe
1 changed files with 4 additions and 0 deletions

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