|
LLDB mainline
|
#include <HostInfoPosix.h>
Static Public Member Functions | |
| static size_t | GetPageSize () |
| static bool | GetHostname (std::string &s) |
| static std::optional< std::string > | GetOSKernelDescription () |
| static uint32_t | GetUserID () |
| static uint32_t | GetGroupID () |
| static uint32_t | GetEffectiveUserID () |
| static uint32_t | GetEffectiveGroupID () |
| static FileSpec | GetDefaultShell () |
| static bool | GetEnvironmentVar (const std::string &var_name, std::string &var) |
| static UserIDResolver & | GetUserIDResolver () |
| static llvm::VersionTuple | GetOSVersion () |
| static std::optional< std::string > | GetOSBuildString () |
| static llvm::Expected< llvm::StringRef > | GetSDKRoot (SDKOptions options) |
| The SDK is the directory where the system C headers, libraries, can be found. | |
| 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. | |
Friends | |
| class | HostInfoBase |
Additional Inherited Members | |
| Public Types inherited from lldb_private::HostInfoBase | |
| enum | ArchitectureKind { eArchKindDefault , eArchKind32 , eArchKind64 } |
| using | SharedLibraryDirectoryHelper = void(FileSpec &this_file) |
| A helper function for determining the liblldb location. | |
Definition at line 21 of file HostInfoPosix.h.
Definition at line 200 of file HostInfoPosix.cpp.
References lldb_private::FileSpec::GetPath(), and lldb_private::FileSpec::SetDirectory().
Definition at line 171 of file HostInfoPosix.cpp.
References lldb_private::HostInfoBase::ComputePathRelativeToLibrary(), lldb_private::FileSpec::GetDirectory(), lldb_private::FileSystem::Instance(), lldb_private::FileSpec::IsAbsolute(), lldb_private::ConstString::IsEmpty(), and lldb_private::FileSpec::SetDirectory().
Definition at line 179 of file HostInfoPosix.cpp.
References lldb_private::FileSpec::GetPath(), lldb_private::FileSystem::Instance(), lldb_private::FileSystem::Resolve(), and lldb_private::FileSpec::SetDirectory().
Definition at line 186 of file HostInfoPosix.cpp.
References lldb_private::FileSpec::SetDirectory().
|
static |
Definition at line 163 of file HostInfoPosix.cpp.
References GetPassword().
|
static |
Definition at line 161 of file HostInfoPosix.cpp.
|
static |
Definition at line 159 of file HostInfoPosix.cpp.
|
static |
Definition at line 206 of file HostInfoPosix.cpp.
|
static |
Definition at line 157 of file HostInfoPosix.cpp.
|
static |
Definition at line 61 of file HostInfoPosix.cpp.
References PATH_MAX.
|
static |
Definition at line 79 of file HostInfoPosix.cpp.
|
static |
Definition at line 71 of file HostInfoPosix.cpp.
|
static |
Definition at line 41 of file HostInfoPosix.cpp.
References g_fields.
|
static |
Definition at line 59 of file HostInfoPosix.cpp.
|
static |
The SDK is the directory where the system C headers, libraries, can be found.
On POSIX platforms this is simply the root directory.
Definition at line 145 of file HostInfoPosix.cpp.
|
static |
Definition at line 155 of file HostInfoPosix.cpp.
|
static |
Definition at line 151 of file HostInfoPosix.cpp.
References g_user_id_resolver.
|
friend |