aboutsummaryrefslogtreecommitdiff
path: root/include/lldb/Host/freebsd/HostInfoFreeBSD.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lldb/Host/freebsd/HostInfoFreeBSD.h')
-rw-r--r--include/lldb/Host/freebsd/HostInfoFreeBSD.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/include/lldb/Host/freebsd/HostInfoFreeBSD.h b/include/lldb/Host/freebsd/HostInfoFreeBSD.h
new file mode 100644
index 000000000000..1404a4b1525c
--- /dev/null
+++ b/include/lldb/Host/freebsd/HostInfoFreeBSD.h
@@ -0,0 +1,29 @@
+//===-- HostInfoFreeBSD.h ---------------------------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef lldb_Host_freebsd_HostInfoFreeBSD_h_
+#define lldb_Host_freebsd_HostInfoFreeBSD_h_
+
+#include "lldb/Host/FileSpec.h"
+#include "lldb/Host/posix/HostInfoPosix.h"
+
+namespace lldb_private
+{
+
+class HostInfoFreeBSD : public HostInfoPosix
+{
+ public:
+ static bool GetOSVersion(uint32_t &major, uint32_t &minor, uint32_t &update);
+ static bool GetOSBuildString(std::string &s);
+ static bool GetOSKernelDescription(std::string &s);
+ static FileSpec GetProgramFileSpec();
+};
+}
+
+#endif