diff options
author | Chris Lattner <sabre@nondot.org> | 2003-10-18 21:02:51 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-10-18 21:02:51 +0000 |
commit | 1a28a2b76d16913fe38f47032d31620a55dcce2e (patch) | |
tree | 72eb06d12eb24351aa1aacb6b3c4c6a4bea83b9d /tools | |
parent | 0b4ffea8665025988a3a5da2106070de561adeb2 (diff) | |
download | llvm-1a28a2b76d16913fe38f47032d31620a55dcce2e.tar.gz llvm-1a28a2b76d16913fe38f47032d31620a55dcce2e.tar.bz2 llvm-1a28a2b76d16913fe38f47032d31620a55dcce2e.tar.xz |
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
Diffstat (limited to 'tools')
-rw-r--r-- | tools/bugpoint/ExecutionDriver.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/bugpoint/ExecutionDriver.cpp b/tools/bugpoint/ExecutionDriver.cpp index 09983584a5..28ab9ff18d 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; } |