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 | 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 () |
lldb::SymbolDownload | GetSymbolAutoDownload () const |
PathMappingList | GetSymlinkMappings () const |
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 |
Private Member Functions | |
void | UpdateSymlinkMappings () |
Private Attributes | |
llvm::sys::RWMutex | m_symlink_paths_mutex |
PathMappingList | m_symlink_paths |
Additional Inherited Members | |
Static Public Member Functions inherited from lldb_private::Properties | |
static llvm::StringRef | GetExperimentalSettingsName () |
static bool | IsSettingExperimental (llvm::StringRef setting) |
Protected Attributes inherited from lldb_private::Properties | |
lldb::OptionValuePropertiesSP | m_collection_sp |
Definition at line 70 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 118 of file ModuleList.cpp.
bool ModuleListProperties::GetEnableExternalLookup | ( | ) | const |
Definition at line 97 of file ModuleList.cpp.
Referenced by GetFileForModule().
bool ModuleListProperties::GetEnableLLDBIndexCache | ( | ) | const |
Definition at line 138 of file ModuleList.cpp.
uint64_t ModuleListProperties::GetLLDBIndexCacheExpirationDays | ( | ) |
Definition at line 160 of file ModuleList.cpp.
Referenced by lldb_private::DataFileCache::GetLLDBIndexCachePolicy().
uint64_t ModuleListProperties::GetLLDBIndexCacheMaxByteSize | ( | ) |
Definition at line 148 of file ModuleList.cpp.
Referenced by lldb_private::DataFileCache::GetLLDBIndexCachePolicy().
uint64_t ModuleListProperties::GetLLDBIndexCacheMaxPercent | ( | ) |
Definition at line 154 of file ModuleList.cpp.
Referenced by lldb_private::DataFileCache::GetLLDBIndexCachePolicy().
FileSpec ModuleListProperties::GetLLDBIndexCachePath | ( | ) | const |
Definition at line 128 of file ModuleList.cpp.
bool ModuleListProperties::GetLoadSymbolOnDemand | ( | ) |
Definition at line 185 of file ModuleList.cpp.
SymbolDownload ModuleListProperties::GetSymbolAutoDownload | ( | ) | const |
Definition at line 107 of file ModuleList.cpp.
References lldb::eSymbolDownloadBackground.
PathMappingList ModuleListProperties::GetSymlinkMappings | ( | ) | const |
Definition at line 180 of file ModuleList.cpp.
References m_symlink_paths, and m_symlink_paths_mutex.
bool ModuleListProperties::SetClangModulesCachePath | ( | const FileSpec & | path | ) |
Definition at line 123 of file ModuleList.cpp.
References lldb_private::Properties::SetPropertyAtIndex().
Referenced by ModuleListProperties().
bool ModuleListProperties::SetEnableExternalLookup | ( | bool | new_value | ) |
Definition at line 103 of file ModuleList.cpp.
References lldb_private::Properties::SetPropertyAtIndex().
bool ModuleListProperties::SetEnableLLDBIndexCache | ( | bool | new_value | ) |
Definition at line 144 of file ModuleList.cpp.
References lldb_private::Properties::SetPropertyAtIndex().
bool ModuleListProperties::SetLLDBIndexCachePath | ( | const FileSpec & | path | ) |
Definition at line 133 of file ModuleList.cpp.
References lldb_private::Properties::SetPropertyAtIndex().
Referenced by ModuleListProperties().
|
private |
Definition at line 166 of file ModuleList.cpp.
References lldb_private::PathMappingList::Append(), lldb_private::PathMappingList::Clear(), lldb_private::FileSpec::GetPath(), lldb_private::FileSystem::Instance(), m_symlink_paths, m_symlink_paths_mutex, lldb_private::FileSystem::Readlink(), and lldb_private::Status::Success().
Referenced by ModuleListProperties().
|
private |
Definition at line 72 of file ModuleList.h.
Referenced by GetSymlinkMappings(), and UpdateSymlinkMappings().
|
mutableprivate |
Definition at line 71 of file ModuleList.h.
Referenced by GetSymlinkMappings(), and UpdateSymlinkMappings().