From 759b9931fefbea5d6070ce7cb67744031c041d09 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 18 Oct 2003 21:02:51 +0000 Subject: [PATCH] Don't leave a trail of bugpoint-execution-output-* breadcrumbs all over the place llvm-svn: 9242 --- llvm/tools/bugpoint/ExecutionDriver.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/llvm/tools/bugpoint/ExecutionDriver.cpp b/llvm/tools/bugpoint/ExecutionDriver.cpp index 09983584a512..28ab9ff18da3 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; }