LLDB  mainline
AbstractSocket.cpp
Go to the documentation of this file.
1 //===-- AbstractSocket.cpp ------------------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
10 
11 #include "llvm/ADT/StringRef.h"
12 
13 using namespace lldb;
14 using namespace lldb_private;
15 
16 AbstractSocket::AbstractSocket(bool child_processes_inherit)
17  : DomainSocket(ProtocolUnixAbstract, child_processes_inherit) {}
18 
19 size_t AbstractSocket::GetNameOffset() const { return 1; }
20 
21 void AbstractSocket::DeleteSocketFile(llvm::StringRef name) {}
lldb_private::DomainSocket
Definition: DomainSocket.h:15
lldb_private::AbstractSocket::GetNameOffset
size_t GetNameOffset() const override
Definition: AbstractSocket.cpp:19
lldb_private::AbstractSocket::DeleteSocketFile
void DeleteSocketFile(llvm::StringRef name) override
Definition: AbstractSocket.cpp:21
AbstractSocket.h
lldb_private
A class that represents a running process on the host machine.
Definition: SBCommandInterpreterRunOptions.h:16
lldb
Definition: SBAddress.h:15