Go to the documentation of this file.
9 #ifndef LLDB_HOST_HOSTINFOBASE_H
10 #define LLDB_HOST_HOSTINFOBASE_H
18 #include "llvm/ADT/StringRef.h"
105 llvm::StringRef dir);
static FileSpec GetHeaderDir()
Returns the directory containing the lldb headers.
static llvm::Optional< ArchitectureKind > ParseArchitectureKind(llvm::StringRef kind)
static bool ComputeUserPluginsDirectory(FileSpec &file_spec)
static void Initialize(SharedLibraryDirectoryHelper *helper=nullptr)
static FileSpec GetProcessTempDir()
Returns the proces temporary directory.
An abstraction for Xcode-style SDKs that works like ArchSpec.
void(FileSpec &this_file) SharedLibraryDirectoryHelper
A helper function for determining the liblldb location.
static bool ComputeHeaderDirectory(FileSpec &file_spec)
static ArchSpec GetAugmentedArchSpec(llvm::StringRef triple)
If the triple does not specify the vendor, os, and environment parts, we "augment" these using inform...
static bool ComputeGlobalTempFileDirectory(FileSpec &file_spec)
static bool ComputeTempFileBaseDirectory(FileSpec &file_spec)
static FileSpec GetUserPluginDir()
Returns the directory containing the user plugins.
static FileSpec GetSystemPluginDir()
Returns the directory containing the system plugins.
static FileSpec GetShlibDir()
Returns the directory containing the lldb shared library.
static SharedCacheImageInfo GetSharedCacheImageInfo(llvm::StringRef image_name)
Return information about module image_name if it is loaded in the current process's address space.
static bool ComputeProcessTempFileDirectory(FileSpec &file_spec)
static FileSpec GetGlobalTempDir()
Returns the global temporary directory.
static const ArchSpec & GetArchitecture(ArchitectureKind arch_kind=eArchKindDefault)
static bool ComputePathRelativeToLibrary(FileSpec &file_spec, llvm::StringRef dir)
static bool ComputeSupportExeDirectory(FileSpec &file_spec)
static bool ComputeSharedLibraryDirectory(FileSpec &file_spec)
static llvm::StringRef GetXcodeSDKPath(XcodeSDK sdk)
Return the directory containing a specific Xcode SDK.
static void ComputeHostArchitectureSupport(ArchSpec &arch_32, ArchSpec &arch_64)
static FileSpec GetSupportExeDir()
Returns the directory containing the support executables (debugserver, ...).
lldb::DataBufferSP data_sp
static bool ComputeSystemPluginsDirectory(FileSpec &file_spec)
A class that represents a running process on the host machine.
static llvm::Triple GetTargetTriple()
Gets the host target triple.
static FileSpec GetXcodeContentsDirectory()
static FileSpec GetXcodeDeveloperDirectory()