LLDB  mainline
HostInfoNetBSD.h
Go to the documentation of this file.
1 //===-- HostInfoNetBSD.h ---------------------------------------*- C++ -*-===//
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 #ifndef lldb_Host_netbsd_HostInfoNetBSD_h_
10 #define lldb_Host_netbsd_HostInfoNetBSD_h_
11 
13 #include "lldb/Utility/FileSpec.h"
14 #include "llvm/Support/VersionTuple.h"
15 
16 namespace lldb_private {
17 
18 class HostInfoNetBSD : public HostInfoPosix {
19 public:
20  static llvm::VersionTuple GetOSVersion();
21  static bool GetOSBuildString(std::string &s);
22  static bool GetOSKernelDescription(std::string &s);
24 };
25 }
26 
27 #endif
HostInfoPosix.h
lldb_private::HostInfoPosix
Definition: HostInfoPosix.h:19
lldb_private::HostInfoNetBSD::GetProgramFileSpec
static FileSpec GetProgramFileSpec()
Definition: HostInfoNetBSD.cpp:75
lldb_private::HostInfoNetBSD::GetOSBuildString
static bool GetOSBuildString(std::string &s)
Definition: HostInfoNetBSD.cpp:45
lldb_private::FileSpec
Definition: FileSpec.h:56
string
string(SUBSTRING ${p} 10 -1 pStripped) if($
Definition: Plugins/CMakeLists.txt:40
lldb_private::HostInfoNetBSD::GetOSKernelDescription
static bool GetOSKernelDescription(std::string &s)
Definition: HostInfoNetBSD.cpp:61
lldb_private
A class that represents a running process on the host machine.
Definition: SBCommandInterpreterRunOptions.h:16
lldb_private::HostInfoNetBSD
Definition: HostInfoNetBSD.h:18
lldb_private::HostInfoNetBSD::GetOSVersion
static llvm::VersionTuple GetOSVersion()
Definition: HostInfoNetBSD.cpp:23
FileSpec.h