diff options
Diffstat (limited to 'include/lldb/Host/linux/HostInfoLinux.h')
-rw-r--r-- | include/lldb/Host/linux/HostInfoLinux.h | 53 |
1 files changed, 26 insertions, 27 deletions
diff --git a/include/lldb/Host/linux/HostInfoLinux.h b/include/lldb/Host/linux/HostInfoLinux.h index e4b22075325d..8cb97c0b4d6b 100644 --- a/include/lldb/Host/linux/HostInfoLinux.h +++ b/include/lldb/Host/linux/HostInfoLinux.h @@ -17,33 +17,32 @@ #include <string> -namespace lldb_private -{ - -class HostInfoLinux : public HostInfoPosix -{ - friend class HostInfoBase; - - private: - // Static class, unconstructable. - HostInfoLinux(); - ~HostInfoLinux(); - - public: - static void Initialize(); - static uint32_t GetMaxThreadNameLength(); - - 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 llvm::StringRef GetDistributionId(); - static FileSpec GetProgramFileSpec(); - - protected: - static bool ComputeSupportExeDirectory(FileSpec &file_spec); - static bool ComputeSystemPluginsDirectory(FileSpec &file_spec); - static bool ComputeUserPluginsDirectory(FileSpec &file_spec); - static void ComputeHostArchitectureSupport(ArchSpec &arch_32, ArchSpec &arch_64); +namespace lldb_private { + +class HostInfoLinux : public HostInfoPosix { + friend class HostInfoBase; + +private: + // Static class, unconstructable. + HostInfoLinux(); + ~HostInfoLinux(); + +public: + static void Initialize(); + static uint32_t GetMaxThreadNameLength(); + + 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 llvm::StringRef GetDistributionId(); + static FileSpec GetProgramFileSpec(); + +protected: + static bool ComputeSupportExeDirectory(FileSpec &file_spec); + static bool ComputeSystemPluginsDirectory(FileSpec &file_spec); + static bool ComputeUserPluginsDirectory(FileSpec &file_spec); + static void ComputeHostArchitectureSupport(ArchSpec &arch_32, + ArchSpec &arch_64); }; } |