summaryrefslogtreecommitdiffstats
path: root/llvm/tools/bugpoint/BugDriver.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-06-18 16:21:54 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-06-18 16:21:54 +0000
commit319d9752ee875104171d35f4a7f7caef33e0209a (patch)
tree61262aa7d447f5a4f59bdabeb97fb211efc38f7e /llvm/tools/bugpoint/BugDriver.cpp
parentbecba2bcff76d401bb668bb12b420a518e9b6338 (diff)
downloadbcm5719-llvm-319d9752ee875104171d35f4a7f7caef33e0209a.tar.gz
bcm5719-llvm-319d9752ee875104171d35f4a7f7caef33e0209a.zip
Remove PathV1.h use from BugDriver.cpp.
llvm-svn: 184203
Diffstat (limited to 'llvm/tools/bugpoint/BugDriver.cpp')
-rw-r--r--llvm/tools/bugpoint/BugDriver.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/tools/bugpoint/BugDriver.cpp b/llvm/tools/bugpoint/BugDriver.cpp
index 9cbad0bd16f..a5436ba4852 100644
--- a/llvm/tools/bugpoint/BugDriver.cpp
+++ b/llvm/tools/bugpoint/BugDriver.cpp
@@ -22,7 +22,6 @@
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/FileUtilities.h"
#include "llvm/Support/Host.h"
-#include "llvm/Support/PathV1.h"
#include "llvm/Support/SourceMgr.h"
#include "llvm/Support/raw_ostream.h"
#include <memory>
@@ -195,8 +194,8 @@ bool BugDriver::run(std::string &ErrMsg) {
// Make sure the reference output file gets deleted on exit from this
// function, if appropriate.
- sys::Path ROF(ReferenceOutputFile);
- FileRemover RemoverInstance(ROF.str(), CreatedOutput && !SaveTemps);
+ std::string ROF(ReferenceOutputFile);
+ FileRemover RemoverInstance(ROF, CreatedOutput && !SaveTemps);
// Diff the output of the raw program against the reference output. If it
// matches, then we assume there is a miscompilation bug and try to
OpenPOWER on IntegriCloud