LLDB mainline
HostInfoFreeBSD.h
Go to the documentation of this file.
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
14#include "llvm/Support/VersionTuple.h"
15#include <optional>
16
17namespace lldb_private {
18
20public:
21 static llvm::VersionTuple GetOSVersion();
22 static std::optional<std::string> GetOSBuildString();
24};
25}
26
27#endif
A file utility class.
Definition: FileSpec.h:56
static llvm::VersionTuple GetOSVersion()
static std::optional< std::string > GetOSBuildString()
static FileSpec GetProgramFileSpec()
A class that represents a running process on the host machine.