summaryrefslogtreecommitdiffstats
path: root/llvm/tools/bugpoint/ExecutionDriver.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-10-18 21:02:51 +0000
committerChris Lattner <sabre@nondot.org>2003-10-18 21:02:51 +0000
commit759b9931fefbea5d6070ce7cb67744031c041d09 (patch)
treebbdbb09bde182a17d68f54fad26556dff4832a21 /llvm/tools/bugpoint/ExecutionDriver.cpp
parent9d7eeb6f9631c438088c6313f6030a219ec1e2b7 (diff)
downloadbcm5719-llvm-759b9931fefbea5d6070ce7cb67744031c041d09.tar.gz
bcm5719-llvm-759b9931fefbea5d6070ce7cb67744031c041d09.zip
Don't leave a trail of bugpoint-execution-output-* breadcrumbs all over the place
llvm-svn: 9242
Diffstat (limited to 'llvm/tools/bugpoint/ExecutionDriver.cpp')
-rw-r--r--llvm/tools/bugpoint/ExecutionDriver.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/tools/bugpoint/ExecutionDriver.cpp b/llvm/tools/bugpoint/ExecutionDriver.cpp
index 09983584a51..28ab9ff18da 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;
}
OpenPOWER on IntegriCloud