|
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 () |
| 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 71 of file ModuleList.h.
| ModuleListProperties::ModuleListProperties | ( | ) |
Definition at line 79 of file ModuleList.cpp.
References lldbassert, lldb_private::Properties::m_collection_sp, SetClangModulesCachePath(), SetLLDBIndexCachePath(), and UpdateSymlinkMappings().
| FileSpec ModuleListProperties::GetClangModulesCachePath | ( | ) | const |
Definition at line 120 of file ModuleList.cpp.
References lldb_private::Properties::GetPropertyAtIndexAs().
| bool ModuleListProperties::GetEnableExternalLookup | ( | ) | const |
Definition at line 99 of file ModuleList.cpp.
References lldb_private::Properties::GetPropertyAtIndexAs().
| bool ModuleListProperties::GetEnableLLDBIndexCache | ( | ) | const |
Definition at line 140 of file ModuleList.cpp.
References lldb_private::Properties::GetPropertyAtIndexAs().
| uint64_t ModuleListProperties::GetLLDBIndexCacheExpirationDays | ( | ) |
Definition at line 162 of file ModuleList.cpp.
References lldb_private::Properties::GetPropertyAtIndexAs().
Referenced by lldb_private::DataFileCache::GetLLDBIndexCachePolicy().
| uint64_t ModuleListProperties::GetLLDBIndexCacheMaxByteSize | ( | ) |
Definition at line 150 of file ModuleList.cpp.
References lldb_private::Properties::GetPropertyAtIndexAs().
Referenced by lldb_private::DataFileCache::GetLLDBIndexCachePolicy().
| uint64_t ModuleListProperties::GetLLDBIndexCacheMaxPercent | ( | ) |
Definition at line 156 of file ModuleList.cpp.
References lldb_private::Properties::GetPropertyAtIndexAs().
Referenced by lldb_private::DataFileCache::GetLLDBIndexCachePolicy().
| FileSpec ModuleListProperties::GetLLDBIndexCachePath | ( | ) | const |
Definition at line 130 of file ModuleList.cpp.
References lldb_private::Properties::GetPropertyAtIndexAs().
| bool ModuleListProperties::GetLoadSymbolOnDemand | ( | ) |
Definition at line 187 of file ModuleList.cpp.
References lldb_private::Properties::GetPropertyAtIndexAs().
| SymbolDownload ModuleListProperties::GetSymbolAutoDownload | ( | ) | const |
Definition at line 109 of file ModuleList.cpp.
References lldb::eSymbolDownloadBackground, and lldb_private::Properties::GetPropertyAtIndexAs().
| PathMappingList ModuleListProperties::GetSymlinkMappings | ( | ) | const |
Definition at line 182 of file ModuleList.cpp.
References m_symlink_paths, and m_symlink_paths_mutex.
Definition at line 125 of file ModuleList.cpp.
References lldb_private::Properties::SetPropertyAtIndex().
Referenced by ModuleListProperties().
Definition at line 105 of file ModuleList.cpp.
References lldb_private::Properties::SetPropertyAtIndex().
Definition at line 146 of file ModuleList.cpp.
References lldb_private::Properties::SetPropertyAtIndex().
Definition at line 135 of file ModuleList.cpp.
References lldb_private::Properties::SetPropertyAtIndex().
Referenced by ModuleListProperties().
|
private |
Definition at line 168 of file ModuleList.cpp.
References lldb_private::FileSpec::GetPath(), lldb_private::Properties::GetPropertyAtIndexAs(), 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 73 of file ModuleList.h.
Referenced by GetSymlinkMappings(), and UpdateSymlinkMappings().
|
mutableprivate |
Definition at line 72 of file ModuleList.h.
Referenced by GetSymlinkMappings(), and UpdateSymlinkMappings().