LLDB mainline
|
#include <Platform.h>
Public Member Functions | |
PlatformProperties () | |
bool | GetUseModuleCache () const |
bool | SetUseModuleCache (bool use_module_cache) |
FileSpec | GetModuleCacheDirectory () const |
bool | SetModuleCacheDirectory (const FileSpec &dir_spec) |
Public Member Functions inherited from lldb_private::Properties | |
Properties () | |
Properties (const lldb::OptionValuePropertiesSP &collection_sp) | |
virtual | ~Properties () |
virtual lldb::OptionValuePropertiesSP | GetValueProperties () const |
virtual lldb::OptionValueSP | GetPropertyValue (const ExecutionContext *exe_ctx, llvm::StringRef property_path, Status &error) const |
virtual Status | SetPropertyValue (const ExecutionContext *exe_ctx, VarSetOperationType op, llvm::StringRef property_path, llvm::StringRef value) |
virtual Status | DumpPropertyValue (const ExecutionContext *exe_ctx, Stream &strm, llvm::StringRef property_path, uint32_t dump_mask, bool is_json=false) |
virtual void | DumpAllPropertyValues (const ExecutionContext *exe_ctx, Stream &strm, uint32_t dump_mask, bool is_json=false) |
virtual void | DumpAllDescriptions (CommandInterpreter &interpreter, Stream &strm) const |
size_t | Apropos (llvm::StringRef keyword, std::vector< const Property * > &matching_properties) const |
template<typename T > | |
T | GetPropertyAtIndexAs (uint32_t idx, T default_value, const ExecutionContext *exe_ctx=nullptr) const |
template<typename T , typename U = typename std::remove_pointer<T>::type, std::enable_if_t< std::is_pointer_v< T >, bool > = true> | |
const U * | GetPropertyAtIndexAs (uint32_t idx, const ExecutionContext *exe_ctx=nullptr) const |
template<typename T > | |
bool | SetPropertyAtIndex (uint32_t idx, T t, const ExecutionContext *exe_ctx=nullptr) const |
Static Public Member Functions | |
static llvm::StringRef | GetSettingName () |
Static Public Member Functions inherited from lldb_private::Properties | |
static llvm::StringRef | GetExperimentalSettingsName () |
static bool | IsSettingExperimental (llvm::StringRef setting) |
Private Member Functions | |
void | SetDefaultModuleCacheDirectory (const FileSpec &dir_spec) |
Additional Inherited Members | |
Protected Attributes inherited from lldb_private::Properties | |
lldb::OptionValuePropertiesSP | m_collection_sp |
Definition at line 47 of file Platform.h.
PlatformProperties::PlatformProperties | ( | ) |
Definition at line 80 of file Platform.cpp.
References GetModuleCacheDirectory(), GetSettingName(), lldb_private::FileSystem::Instance(), lldb_private::Properties::m_collection_sp, SetDefaultModuleCacheDirectory(), and SetModuleCacheDirectory().
FileSpec PlatformProperties::GetModuleCacheDirectory | ( | ) | const |
Definition at line 109 of file Platform.cpp.
Referenced by lldb_private::Platform::GetModuleCacheRoot(), and PlatformProperties().
|
static |
Definition at line 75 of file Platform.cpp.
Referenced by PlatformProperties().
bool PlatformProperties::GetUseModuleCache | ( | ) | const |
Definition at line 99 of file Platform.cpp.
|
private |
Definition at line 118 of file Platform.cpp.
References lldb_private::Properties::m_collection_sp.
Referenced by PlatformProperties().
bool PlatformProperties::SetModuleCacheDirectory | ( | const FileSpec & | dir_spec | ) |
Definition at line 113 of file Platform.cpp.
References lldb_private::Properties::m_collection_sp.
Referenced by PlatformProperties().
bool PlatformProperties::SetUseModuleCache | ( | bool | use_module_cache | ) |
Definition at line 105 of file Platform.cpp.
References lldb_private::Properties::SetPropertyAtIndex().