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 AbstractSocket(bool child_processes_inherit)16AbstractSocket::AbstractSocket(bool child_processes_inherit) 17 : DomainSocket(ProtocolUnixAbstract, child_processes_inherit) {} 18 GetNameOffset() const19size_t AbstractSocket::GetNameOffset() const { return 1; } 20 DeleteSocketFile(llvm::StringRef name)21void AbstractSocket::DeleteSocketFile(llvm::StringRef name) {} 22