summaryrefslogtreecommitdiffstats
path: root/lldb/source/Host/posix/DomainSocket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Host/posix/DomainSocket.cpp')
-rw-r--r--lldb/source/Host/posix/DomainSocket.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Host/posix/DomainSocket.cpp b/lldb/source/Host/posix/DomainSocket.cpp
index cb0a1d05750..538979df2b6 100644
--- a/lldb/source/Host/posix/DomainSocket.cpp
+++ b/lldb/source/Host/posix/DomainSocket.cpp
@@ -9,7 +9,7 @@
#include "lldb/Host/posix/DomainSocket.h"
-#include "lldb/Host/FileSystem.h"
+#include "llvm/Support/FileSystem.h"
#include <stddef.h>
#include <sys/socket.h>
@@ -116,5 +116,5 @@ Error DomainSocket::Accept(llvm::StringRef name, bool child_processes_inherit,
size_t DomainSocket::GetNameOffset() const { return 0; }
void DomainSocket::DeleteSocketFile(llvm::StringRef name) {
- FileSystem::Unlink(FileSpec{name, true});
+ llvm::sys::fs::remove(name);
}
OpenPOWER on IntegriCloud