| 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 | |
| 13 | using namespace lldb; |
| 14 | using namespace lldb_private; |
| 15 | |
| 16 | AbstractSocket::AbstractSocket() : DomainSocket(ProtocolUnixAbstract) {} |
| 17 | |
| 18 | AbstractSocket::AbstractSocket(NativeSocket socket, bool should_close) |
| 19 | : DomainSocket(ProtocolUnixAbstract, socket, should_close) {} |
| 20 | |
| 21 | size_t AbstractSocket::GetNameOffset() const { return 1; } |
| 22 | |
| 23 | void AbstractSocket::DeleteSocketFile(llvm::StringRef name) {} |
| 24 |
