mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-28 14:10:41 +00:00
Remove PathV1.h use from BugDriver.cpp.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184203 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9a23039e42
commit
3b9eb80bd7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user