Andrew Walbran | 3d2c197 | 2020-04-07 12:24:26 +0100 | [diff] [blame^] | 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 | |
| 12 | #include "lldb/Host/posix/HostInfoPosix.h" |
| 13 | #include "lldb/Utility/FileSpec.h" |
| 14 | #include "llvm/Support/VersionTuple.h" |
| 15 | |
| 16 | namespace lldb_private { |
| 17 | |
| 18 | class HostInfoOpenBSD : public HostInfoPosix { |
| 19 | public: |
| 20 | static llvm::VersionTuple GetOSVersion(); |
| 21 | static bool GetOSBuildString(std::string &s); |
| 22 | static bool GetOSKernelDescription(std::string &s); |
| 23 | static FileSpec GetProgramFileSpec(); |
| 24 | }; |
| 25 | } |
| 26 | |
| 27 | #endif |