projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b4ffea
)
Don't leave a trail of bugpoint-execution-output-* breadcrumbs all over the place
author
Chris Lattner
<sabre@nondot.org>
Sat, 18 Oct 2003 21:02:51 +0000
(21:02 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 18 Oct 2003 21:02:51 +0000
(21:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9242
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/bugpoint/ExecutionDriver.cpp
patch
|
blob
|
history
diff --git
a/tools/bugpoint/ExecutionDriver.cpp
b/tools/bugpoint/ExecutionDriver.cpp
index 09983584a51256d4d3aec5d7a5e84d07bd2115ad..28ab9ff18da3a9f73bc9bee092113eecac190cea 100644
(file)
--- 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;
}