summaryrefslogtreecommitdiffstats
path: root/lldb/source/Host/linux/AbstractSocket.cpp
blob: 8ac0107123bb3526e049a0ab7fe6dc2d61502cc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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