summaryrefslogtreecommitdiffstats
path: root/lldb/source/Host/linux
diff options
context:
space:
mode:
authorOleksiy Vyalov <ovyalov@google.com>2015-10-22 17:50:33 +0000
committerOleksiy Vyalov <ovyalov@google.com>2015-10-22 17:50:33 +0000
commit179c51e006dfe9609ecbd3753f7d19195a5a96f6 (patch)
tree5af11d459669367c4968b278bc47b20e11cfb426 /lldb/source/Host/linux
parent35ae68001852d0eb7553bf5c40d5959744cc673e (diff)
downloadbcm5719-llvm-179c51e006dfe9609ecbd3753f7d19195a5a96f6.tar.gz
bcm5719-llvm-179c51e006dfe9609ecbd3753f7d19195a5a96f6.zip
Add support for abstract domain sockets.
http://reviews.llvm.org/D13970 llvm-svn: 251034
Diffstat (limited to 'lldb/source/Host/linux')
-rw-r--r--lldb/source/Host/linux/AbstractSocket.cpp31
1 files changed, 31 insertions, 0 deletions
diff --git a/lldb/source/Host/linux/AbstractSocket.cpp b/lldb/source/Host/linux/AbstractSocket.cpp
new file mode 100644
index 00000000000..8ac0107123b
--- /dev/null
+++ b/lldb/source/Host/linux/AbstractSocket.cpp
@@ -0,0 +1,31 @@
+//===-- AbstractSocket.cpp --------------------------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#include "lldb/Host/linux/AbstractSocket.h"
+
+#include "llvm/ADT/StringRef.h"
+
+using namespace lldb;
+using namespace lldb_private;
+
+AbstractSocket::AbstractSocket(bool child_processes_inherit, Error &error)
+ : DomainSocket(ProtocolUnixAbstract, child_processes_inherit, error)
+{
+}
+
+size_t
+AbstractSocket::GetNameOffset() const
+{
+ return 1;
+}
+
+void
+AbstractSocket::DeleteSocketFile(llvm::StringRef name)
+{
+}
OpenPOWER on IntegriCloud