9 #ifndef lldb_Host_HostInfoBase_h_ 10 #define lldb_Host_HostInfoBase_h_ 16 #include "llvm/ADT/StringRef.h" static bool ComputeTempFileBaseDirectory(FileSpec &file_spec)
static FileSpec GetProcessTempDir()
Returns the proces temporary directory.
Enumerations for broadcasting.
static bool ComputeProcessTempFileDirectory(FileSpec &file_spec)
static llvm::StringRef GetTargetTriple()
Gets the host target triple as a const string.
static void ComputeHostArchitectureSupport(ArchSpec &arch_32, ArchSpec &arch_64)
static bool ComputeSharedLibraryDirectory(FileSpec &file_spec)
An architecture specification class.
static bool ComputeUserPluginsDirectory(FileSpec &file_spec)
static bool ComputePathRelativeToLibrary(FileSpec &file_spec, llvm::StringRef dir)
static bool ComputeSystemPluginsDirectory(FileSpec &file_spec)
static FileSpec GetGlobalTempDir()
Returns the global temporary directory.
static FileSpec GetShlibDir()
Returns the directory containing the lldb shared library.
ArchitectureKind
Gets the host architecture.
static bool ComputeSupportExeDirectory(FileSpec &file_spec)
static FileSpec GetSupportExeDir()
Returns the directory containing the support executables (debugserver, ...).
static bool ComputeHeaderDirectory(FileSpec &file_spec)
static FileSpec GetHeaderDir()
Returns the directory containing the lldb headers.
static bool ComputeGlobalTempFileDirectory(FileSpec &file_spec)
static FileSpec GetSystemPluginDir()
Returns the directory containing the system plugins.
static ArchSpec GetAugmentedArchSpec(llvm::StringRef triple)
If the triple does not specify the vendor, os, and environment parts, we "augment" these using inform...
static FileSpec GetUserPluginDir()
Returns the directory containing the user plugins.
static llvm::Optional< ArchitectureKind > ParseArchitectureKind(llvm::StringRef kind)
static const ArchSpec & GetArchitecture(ArchitectureKind arch_kind=eArchKindDefault)