summaryrefslogtreecommitdiff
path: root/tools/bugpoint
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
commit3b9eb80bd7c83ed819dfdc737d1b99a0bdaa3ff1 (patch)
treeee3003518a6ec556ba7d344ba692b0244ce67b6d /tools/bugpoint
parent9a23039e42ce494feaf4b5efa806494026329b9f (diff)
downloadllvm-3b9eb80bd7c83ed819dfdc737d1b99a0bdaa3ff1.tar.gz
llvm-3b9eb80bd7c83ed819dfdc737d1b99a0bdaa3ff1.tar.bz2
llvm-3b9eb80bd7c83ed819dfdc737d1b99a0bdaa3ff1.tar.xz
Remove PathV1.h use from BugDriver.cpp.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184203 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint')
-rw-r--r--tools/bugpoint/BugDriver.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/bugpoint/BugDriver.cpp b/tools/bugpoint/BugDriver.cpp
index 9cbad0bd16..a5436ba485 100644
--- a/tools/bugpoint/BugDriver.cpp
+++ b/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