diff options
author | Zachary Turner <zturner@google.com> | 2017-03-21 05:47:57 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2017-03-21 05:47:57 +0000 |
commit | 07db3f7e3f268c01e66e87608968c5cb71e35f82 (patch) | |
tree | 77190cb10ea2358a0c94a8289919bb779d11c6f8 /lldb/source/Host/posix/PipePosix.cpp | |
parent | 9b7bbeca48b10a0eb81708650777703ce41e67d7 (diff) | |
download | bcm5719-llvm-07db3f7e3f268c01e66e87608968c5cb71e35f82.tar.gz bcm5719-llvm-07db3f7e3f268c01e66e87608968c5cb71e35f82.zip |
Resubmit r298334 after fixing OSX build errors.
Hopefully this works, I can't test since I don't have Mac
hardware, however.
llvm-svn: 298340
Diffstat (limited to 'lldb/source/Host/posix/PipePosix.cpp')
-rw-r--r-- | lldb/source/Host/posix/PipePosix.cpp | 3 |
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 { |