From 1a28a2b76d16913fe38f47032d31620a55dcce2e 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9242 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/bugpoint/ExecutionDriver.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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; } -- 2.34.1