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://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=1a28a2b76d16913fe38f47032d31620a55dcce2e;p=oota-llvm.git 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 --- diff --git a/tools/bugpoint/ExecutionDriver.cpp b/tools/bugpoint/ExecutionDriver.cpp index 09983584a51..28ab9ff18da 100644 --- a/tools/bugpoint/ExecutionDriver.cpp +++ b/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; }