File indexing completed on 2026-05-10 08:42:48
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef lldb_Host_linux_HostInfoLinux_h_
0010 #define lldb_Host_linux_HostInfoLinux_h_
0011
0012 #include "lldb/Host/posix/HostInfoPosix.h"
0013 #include "lldb/Utility/FileSpec.h"
0014 #include "llvm/ADT/StringRef.h"
0015 #include "llvm/Support/VersionTuple.h"
0016
0017 #include <optional>
0018
0019 namespace lldb_private {
0020
0021 class HostInfoLinux : public HostInfoPosix {
0022 friend class HostInfoBase;
0023
0024 public:
0025 static void Initialize(SharedLibraryDirectoryHelper *helper = nullptr);
0026 static void Terminate();
0027
0028 static llvm::StringRef GetDistributionId();
0029 static FileSpec GetProgramFileSpec();
0030
0031 protected:
0032 static void ComputeHostArchitectureSupport(ArchSpec &arch_32,
0033 ArchSpec &arch_64);
0034 };
0035 }
0036
0037 #endif