LLDB mainline
|
#include <HostInfoWindows.h>
Static Public Member Functions | |
static void | Initialize (SharedLibraryDirectoryHelper *helper=nullptr) |
static void | Terminate () |
static size_t | GetPageSize () |
static UserIDResolver & | GetUserIDResolver () |
static llvm::VersionTuple | GetOSVersion () |
static std::optional< std::string > | GetOSBuildString () |
static std::optional< std::string > | GetOSKernelDescription () |
static bool | GetHostname (std::string &s) |
static FileSpec | GetProgramFileSpec () |
static FileSpec | GetDefaultShell () |
static bool | GetEnvironmentVar (const std::string &var_name, std::string &var) |
Static Public Member Functions inherited from lldb_private::HostInfoBase | |
static void | Initialize (SharedLibraryDirectoryHelper *helper=nullptr) |
static void | Terminate () |
static llvm::Triple | GetTargetTriple () |
Gets the host target triple. | |
static const ArchSpec & | GetArchitecture (ArchitectureKind arch_kind=eArchKindDefault) |
static std::optional< ArchitectureKind > | ParseArchitectureKind (llvm::StringRef kind) |
static FileSpec | GetShlibDir () |
Returns the directory containing the lldb shared library. | |
static FileSpec | GetSupportExeDir () |
Returns the directory containing the support executables (debugserver, ...). | |
static FileSpec | GetHeaderDir () |
Returns the directory containing the lldb headers. | |
static FileSpec | GetSystemPluginDir () |
Returns the directory containing the system plugins. | |
static FileSpec | GetUserHomeDir () |
Returns the directory containing the users home (e.g. | |
static FileSpec | GetUserLLDBDir () |
Returns the directory containing the users lldb home (e.g. | |
static FileSpec | GetUserPluginDir () |
Returns the directory containing the user plugins. | |
static FileSpec | GetProcessTempDir () |
Returns the process temporary directory. | |
static FileSpec | GetGlobalTempDir () |
Returns the global temporary directory. | |
static ArchSpec | GetAugmentedArchSpec (llvm::StringRef triple) |
If the triple does not specify the vendor, os, and environment parts, we "augment" these using information from the host and return the resulting ArchSpec object. | |
static bool | ComputePathRelativeToLibrary (FileSpec &file_spec, llvm::StringRef dir) |
static FileSpec | GetXcodeContentsDirectory () |
static FileSpec | GetXcodeDeveloperDirectory () |
static FileSpec | GetCurrentXcodeToolchainDirectory () |
static FileSpec | GetCurrentCommandLineToolsDirectory () |
static llvm::Expected< llvm::StringRef > | GetSDKRoot (SDKOptions options) |
Return the directory containing something like a SDK (reused for Swift). | |
static llvm::Expected< llvm::StringRef > | FindSDKTool (XcodeSDK sdk, llvm::StringRef tool) |
Return the path to a specific tool in the specified Xcode SDK. | |
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 llvm::StringRef | GetDistributionId () |
Returns the distribution id of the host. |
Static Private Attributes | |
static FileSpec | m_program_filespec |
Friends | |
class | HostInfoBase |
Definition at line 20 of file HostInfoWindows.h.
|
static |
Definition at line 113 of file HostInfoWindows.cpp.
References GetEnvironmentVar().
|
static |
Definition at line 124 of file HostInfoWindows.cpp.
Referenced by GetDefaultShell().
|
static |
Definition at line 90 of file HostInfoWindows.cpp.
|
static |
Definition at line 78 of file HostInfoWindows.cpp.
References GetOSVersion().
Referenced by GetOSKernelDescription().
|
static |
Definition at line 86 of file HostInfoWindows.cpp.
References GetOSBuildString().
|
static |
Definition at line 59 of file HostInfoWindows.cpp.
Referenced by GetOSBuildString().
|
static |
Definition at line 53 of file HostInfoWindows.cpp.
|
static |
Definition at line 101 of file HostInfoWindows.cpp.
References m_program_filespec, and PATH_MAX.
|
static |
Definition at line 137 of file HostInfoWindows.cpp.
References g_user_id_resolver.
|
static |
Definition at line 43 of file HostInfoWindows.cpp.
References lldb_private::HostInfoBase::Initialize().
|
static |
Definition at line 48 of file HostInfoWindows.cpp.
References lldb_private::HostInfoBase::Terminate().
|
friend |
Definition at line 21 of file HostInfoWindows.h.
References HostInfoBase.
Referenced by HostInfoBase.
|
staticprivate |
Definition at line 40 of file HostInfoWindows.h.
Referenced by GetProgramFileSpec().