summaryrefslogtreecommitdiffstats
path: root/lldb/source/Host/posix/PipePosix.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2017-03-21 04:01:04 +0000
committerZachary Turner <zturner@google.com>2017-03-21 04:01:04 +0000
commitbfe8bcbc43ccd45d4d32d0c5b6acc22d43ff330d (patch)
tree5ff5e415e11a606c7fcb67746733309d3592932d /lldb/source/Host/posix/PipePosix.cpp
parentab2dae0a9c415b5f56cf298fdcbeec0620150675 (diff)
downloadbcm5719-llvm-bfe8bcbc43ccd45d4d32d0c5b6acc22d43ff330d.tar.gz
bcm5719-llvm-bfe8bcbc43ccd45d4d32d0c5b6acc22d43ff330d.zip
Delete various lldb FileSystem functions.
Use LLVM's equivalent versions instead. Differential Revision: https://reviews.llvm.org/D31111 llvm-svn: 298334
Diffstat (limited to 'lldb/source/Host/posix/PipePosix.cpp')
-rw-r--r--lldb/source/Host/posix/PipePosix.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/source/Host/posix/PipePosix.cpp b/lldb/source/Host/posix/PipePosix.cpp
index 4e0810c1a9b..3ac5d480de8 100644
--- a/lldb/source/Host/posix/PipePosix.cpp
+++ b/lldb/source/Host/posix/PipePosix.cpp
@@ -8,7 +8,6 @@
//===----------------------------------------------------------------------===//
#include "lldb/Host/posix/PipePosix.h"
-#include "lldb/Host/FileSystem.h"
#include "lldb/Host/HostInfo.h"
#include "lldb/Utility/SelectHelper.h"
#include "llvm/ADT/SmallString.h"
@@ -231,7 +230,7 @@ void PipePosix::Close() {
}
Error PipePosix::Delete(llvm::StringRef name) {
- return FileSystem::Unlink(FileSpec{name.data(), true});
+ return llvm::sys::fs::remove(name);
}
bool PipePosix::CanRead() const {
OpenPOWER on IntegriCloud