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
9#include "lldb/Host/linux/AbstractSocket.h"
10
11#include "llvm/ADT/StringRef.h"
12
13using namespace lldb;
14using namespace lldb_private;
15
16AbstractSocket::AbstractSocket() : DomainSocket(ProtocolUnixAbstract) {}
17
18AbstractSocket::AbstractSocket(NativeSocket socket, bool should_close)
19 : DomainSocket(ProtocolUnixAbstract, socket, should_close) {}
20
21size_t AbstractSocket::GetNameOffset() const { return 1; }
22
23void AbstractSocket::DeleteSocketFile(llvm::StringRef name) {}
24

Provided by KDAB

Privacy Policy
Learn to use CMake with our Intro Training
Find out more

source code of lldb/source/Host/linux/AbstractSocket.cpp