LLDB mainline
|
#include <ModuleList.h>
Public Member Functions | |
ModuleListProperties () | |
FileSpec | GetClangModulesCachePath () const |
bool | SetClangModulesCachePath (const FileSpec &path) |
bool | GetEnableExternalLookup () const |
bool | SetEnableExternalLookup (bool new_value) |
bool | GetEnableBackgroundLookup () const |
bool | GetEnableLLDBIndexCache () const |
bool | SetEnableLLDBIndexCache (bool new_value) |
uint64_t | GetLLDBIndexCacheMaxByteSize () |
uint64_t | GetLLDBIndexCacheMaxPercent () |
uint64_t | GetLLDBIndexCacheExpirationDays () |
FileSpec | GetLLDBIndexCachePath () const |
bool | SetLLDBIndexCachePath (const FileSpec &path) |
bool | GetLoadSymbolOnDemand () |
PathMappingList | GetSymlinkMappings () const |
![]() | |
Properties ()=default | |
Properties (const lldb::OptionValuePropertiesSP &collection_sp) | |
virtual | ~Properties ()=default |
virtual lldb::OptionValuePropertiesSP | GetValueProperties () const |
virtual lldb::OptionValueSP | GetPropertyValue (const ExecutionContext *exe_ctx, llvm::StringRef property_path, bool will_modify, 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 |
lldb::OptionValuePropertiesSP | GetSubProperty (const ExecutionContext *exe_ctx, ConstString name) |
Private Member Functions | |
void | UpdateSymlinkMappings () |
Private Attributes | |
llvm::sys::RWMutex | m_symlink_paths_mutex |
PathMappingList | m_symlink_paths |
Additional Inherited Members | |
![]() | |
static const char * | GetExperimentalSettingsName () |
static bool | IsSettingExperimental (llvm::StringRef setting) |
![]() | |
lldb::OptionValuePropertiesSP | m_collection_sp |
Definition at line 50 of file ModuleList.h.
ModuleListProperties::ModuleListProperties | ( | ) |
Definition at line 77 of file ModuleList.cpp.
References lldbassert, lldb_private::Properties::m_collection_sp, SetClangModulesCachePath(), SetLLDBIndexCachePath(), and UpdateSymlinkMappings().
FileSpec ModuleListProperties::GetClangModulesCachePath | ( | ) | const |
Definition at line 115 of file ModuleList.cpp.
References lldb_private::Properties::m_collection_sp.
bool ModuleListProperties::GetEnableBackgroundLookup | ( | ) | const |
Definition at line 109 of file ModuleList.cpp.
References lldb_private::Properties::m_collection_sp.
bool ModuleListProperties::GetEnableExternalLookup | ( | ) | const |
Definition at line 98 of file ModuleList.cpp.
References lldb_private::Properties::m_collection_sp.
bool ModuleListProperties::GetEnableLLDBIndexCache | ( | ) | const |
Definition at line 139 of file ModuleList.cpp.
References lldb_private::Properties::m_collection_sp.
uint64_t ModuleListProperties::GetLLDBIndexCacheExpirationDays | ( | ) |
Definition at line 162 of file ModuleList.cpp.
References lldb_private::Properties::m_collection_sp.
Referenced by lldb_private::DataFileCache::GetLLDBIndexCachePolicy().
uint64_t ModuleListProperties::GetLLDBIndexCacheMaxByteSize | ( | ) |
Definition at line 150 of file ModuleList.cpp.
References lldb_private::Properties::m_collection_sp.
Referenced by lldb_private::DataFileCache::GetLLDBIndexCachePolicy().
uint64_t ModuleListProperties::GetLLDBIndexCacheMaxPercent | ( | ) |
Definition at line 156 of file ModuleList.cpp.
References lldb_private::Properties::m_collection_sp.
Referenced by lldb_private::DataFileCache::GetLLDBIndexCachePolicy().
FileSpec ModuleListProperties::GetLLDBIndexCachePath | ( | ) | const |
Definition at line 127 of file ModuleList.cpp.
References lldb_private::Properties::m_collection_sp.
bool ModuleListProperties::GetLoadSymbolOnDemand | ( | ) |
Definition at line 189 of file ModuleList.cpp.
References lldb_private::Properties::m_collection_sp.
PathMappingList ModuleListProperties::GetSymlinkMappings | ( | ) | const |
Definition at line 184 of file ModuleList.cpp.
References m_symlink_paths, and m_symlink_paths_mutex.
bool ModuleListProperties::SetClangModulesCachePath | ( | const FileSpec & | path | ) |
Definition at line 122 of file ModuleList.cpp.
References lldb_private::Properties::m_collection_sp.
Referenced by ModuleListProperties().
bool ModuleListProperties::SetEnableExternalLookup | ( | bool | new_value | ) |
Definition at line 104 of file ModuleList.cpp.
References lldb_private::Properties::m_collection_sp.
bool ModuleListProperties::SetEnableLLDBIndexCache | ( | bool | new_value | ) |
Definition at line 145 of file ModuleList.cpp.
References lldb_private::Properties::m_collection_sp.
bool ModuleListProperties::SetLLDBIndexCachePath | ( | const FileSpec & | path | ) |
Definition at line 134 of file ModuleList.cpp.
References lldb_private::Properties::m_collection_sp.
Referenced by ModuleListProperties().
|
private |
Definition at line 168 of file ModuleList.cpp.
References lldb_private::PathMappingList::Append(), lldb_private::PathMappingList::Clear(), lldb_private::FileSpec::GetPath(), lldb_private::FileSystem::Instance(), lldb_private::Properties::m_collection_sp, m_symlink_paths, m_symlink_paths_mutex, lldb_private::FileSystem::Readlink(), and lldb_private::Status::Success().
Referenced by ModuleListProperties().
|
private |
Definition at line 52 of file ModuleList.h.
Referenced by GetSymlinkMappings(), and UpdateSymlinkMappings().
|
mutableprivate |
Definition at line 51 of file ModuleList.h.
Referenced by GetSymlinkMappings(), and UpdateSymlinkMappings().