projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
R600: Add ISA documents to the CompilerWriterInfo page
[oota-llvm.git]
/
tools
/
bugpoint
/
FindBugs.cpp
diff --git
a/tools/bugpoint/FindBugs.cpp
b/tools/bugpoint/FindBugs.cpp
index a291f9fb0f99b6e9d78f6b2cef8afc1c902a4d6c..e2941f6f43aea81251af67d2dfe3607bba2b0032 100644
(file)
--- a/
tools/bugpoint/FindBugs.cpp
+++ b/
tools/bugpoint/FindBugs.cpp
@@
-17,6
+17,7
@@
#include "BugDriver.h"
#include "ToolRunner.h"
#include "llvm/Pass.h"
#include "BugDriver.h"
#include "ToolRunner.h"
#include "llvm/Pass.h"
+#include "llvm/Support/FileSystem.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include <ctime>
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include <ctime>
@@
-103,7
+104,7
@@
bool BugDriver::runManyPasses(const std::vector<std::string> &AllPasses,
}
outs() << "\n*** diff'd output matches!\n";
}
outs() << "\n*** diff'd output matches!\n";
- sys::
Path(Filename).eraseFromDisk(
);
+ sys::
fs::remove(Filename
);
outs() << "\n\n";
num++;
outs() << "\n\n";
num++;