LLDB  mainline
HostInfoOpenBSD.h
Go to the documentation of this file.
1 //===-- HostInfoOpenBSD.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_openbsd_HostInfoOpenBSD_h_
10 #define lldb_Host_openbsd_HostInfoOpenBSD_h_
11 
13 #include "lldb/Utility/FileSpec.h"
14 #include "llvm/Support/VersionTuple.h"
15 
16 namespace lldb_private {
17 
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::HostInfoOpenBSD::GetOSBuildString
static bool GetOSBuildString(std::string &s)
Definition: HostInfoOpenBSD.cpp:32
lldb_private::FileSpec
Definition: FileSpec.h:56
lldb_private::HostInfoOpenBSD::GetOSKernelDescription
static bool GetOSKernelDescription(std::string &s)
Definition: HostInfoOpenBSD.cpp:48
lldb_private::HostInfoOpenBSD
Definition: HostInfoOpenBSD.h:18
string
string(SUBSTRING ${p} 10 -1 pStripped) if($
Definition: Plugins/CMakeLists.txt:40
lldb_private::HostInfoOpenBSD::GetOSVersion
static llvm::VersionTuple GetOSVersion()
Definition: HostInfoOpenBSD.cpp:19
lldb_private::HostInfoOpenBSD::GetProgramFileSpec
static FileSpec GetProgramFileSpec()
Definition: HostInfoOpenBSD.cpp:62
lldb_private
A class that represents a running process on the host machine.
Definition: SBCommandInterpreterRunOptions.h:16
FileSpec.h