aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-12-07 02:31:03 +0000
committerChris Lattner <sabre@nondot.org>2003-12-07 02:31:03 +0000
commit1b747167daf07a98f0ec33144b257c987c60e11d (patch)
tree9dea8b110f20fede3563efc89f9386def99781dc /tools
parent1dcf7bc6a900791b3c702e344c6a8ee32b2187f8 (diff)
downloadexternal_llvm-1b747167daf07a98f0ec33144b257c987c60e11d.zip
external_llvm-1b747167daf07a98f0ec33144b257c987c60e11d.tar.gz
external_llvm-1b747167daf07a98f0ec33144b257c987c60e11d.tar.bz2
Do not leave a bunch of crud lying around
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10307 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/bugpoint/ExtractFunction.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/bugpoint/ExtractFunction.cpp b/tools/bugpoint/ExtractFunction.cpp
index 0a56ceb..1c7f046 100644
--- a/tools/bugpoint/ExtractFunction.cpp
+++ b/tools/bugpoint/ExtractFunction.cpp
@@ -24,6 +24,7 @@
#include "llvm/Transforms/Utils/Cloning.h"
#include "llvm/Target/TargetData.h"
#include "Support/CommandLine.h"
+#include "Support/FileUtilities.h"
using namespace llvm;
namespace llvm {
@@ -129,6 +130,7 @@ Module *BugDriver::performFinalCleanups(Module *M, bool MayModifySemantics) {
<< Filename << "'!\n";
exit(1);
}
+ removeFile(Filename);
}
return M;
}