From: Chris Lattner Date: Sat, 18 Oct 2003 21:02:51 +0000 (+0000) Subject: Don't leave a trail of bugpoint-execution-output-* breadcrumbs all over the place X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=759b9931fefbea5d6070ce7cb67744031c041d09;p=platform%2Fupstream%2Fllvm.git Don't leave a trail of bugpoint-execution-output-* breadcrumbs all over the place llvm-svn: 9242 --- diff --git a/llvm/tools/bugpoint/ExecutionDriver.cpp b/llvm/tools/bugpoint/ExecutionDriver.cpp index 0998358..28ab9ff 100644 --- a/llvm/tools/bugpoint/ExecutionDriver.cpp +++ b/llvm/tools/bugpoint/ExecutionDriver.cpp @@ -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; }