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 | 759b9931fefbea5d6070ce7cb67744031c041d09 (patch) | |
tree | bbdbb09bde182a17d68f54fad26556dff4832a21 /llvm/tools/bugpoint/ExecutionDriver.cpp | |
parent | 9d7eeb6f9631c438088c6313f6030a219ec1e2b7 (diff) | |
download | bcm5719-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.cpp | 4 |
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; } |