xref: /freebsd/contrib/llvm-project/lldb/include/lldb/Host/freebsd/HostInfoFreeBSD.h (revision bdd1243df58e60e85101c09001d9812a789b6bc4)
1 //===-- HostInfoFreeBSD.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_freebsd_HostInfoFreeBSD_h_
10 #define lldb_Host_freebsd_HostInfoFreeBSD_h_
11 
12 #include "lldb/Host/posix/HostInfoPosix.h"
13 #include "lldb/Utility/FileSpec.h"
14 #include "llvm/Support/VersionTuple.h"
15 #include <optional>
16 
17 namespace lldb_private {
18 
19 class HostInfoFreeBSD : public HostInfoPosix {
20 public:
21   static llvm::VersionTuple GetOSVersion();
22   static std::optional<std::string> GetOSBuildString();
23   static FileSpec GetProgramFileSpec();
24 };
25 }
26 
27 #endif
28