HostInfoNetBSD.h 853 B

123456789101112131415161718192021222324252627
  1. //===-- HostInfoNetBSD.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. #ifndef lldb_Host_netbsd_HostInfoNetBSD_h_
  9. #define lldb_Host_netbsd_HostInfoNetBSD_h_
  10. #include "lldb/Host/posix/HostInfoPosix.h"
  11. #include "lldb/Utility/FileSpec.h"
  12. #include "llvm/Support/VersionTuple.h"
  13. namespace lldb_private {
  14. class HostInfoNetBSD : public HostInfoPosix {
  15. public:
  16. static llvm::VersionTuple GetOSVersion();
  17. static bool GetOSBuildString(std::string &s);
  18. static bool GetOSKernelDescription(std::string &s);
  19. static FileSpec GetProgramFileSpec();
  20. };
  21. }
  22. #endif