|
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 | GetEnableTypeSystemClike () const |
| bool | SetEnableTypeSystemClike (bool new_value) |
| lldb::SymbolSharedCacheUse | GetSharedCacheBinaryLoading () const |
| bool | GetLLDBIndexCacheForceDisable () const |
| bool | GetLLDBIndexCacheTypeSymtab () const |
| bool | GetLLDBIndexCacheTypeDwarfIndex () const |
| bool | GetLLDBIndexCacheTypeMemoryModuleSymtab () const |
| bool | GetLLDBIndexCacheTypeMemoryModuleHeaderBytes () const |
| uint64_t | GetLLDBIndexCacheMaxByteSize () |
| uint64_t | GetLLDBIndexCacheMaxPercent () |
| uint64_t | GetLLDBIndexCacheExpirationDays () |
| FileSpec | GetLLDBIndexCachePath () const |
| bool | GetLoadSymbolOnDemand () const |
| uint64_t | GetDemangledNameInfoCacheSize () const |
| 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, bool include_deprecated) const |
| void | Apropos (llvm::StringRef keyword, std::vector< const Property * > &matching_properties, std::vector< const Property * > &matching_property_paths) const |
| std::optional< std::string > | GetDeprecationWarning (llvm::StringRef property_path) const |
| The warning to show when the setting at property_path is changed, or std::nullopt if that setting isn't deprecated. | |
| 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 () |
| void | ForwardDeprecatedIndexCacheSettings () |
| Make the deprecated "symbols.*lldb-index-cache*" settings set their replacements in "symbols.lldb-index-cache". | |
Private Attributes | |
| llvm::sys::RWMutex | m_symlink_paths_mutex |
| PathMappingList | m_symlink_paths |
| lldb::OptionValuePropertiesSP | m_index_cache_sp |
| The "symbols.lldb-index-cache" settings. | |
| lldb::OptionValuePropertiesSP | m_index_cache_type_sp |
| The "symbols.lldb-index-cache.type" settings. | |
| lldb::OptionValuePropertiesSP | m_experimental_properties_sp |
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 93 of file ModuleList.h.
| ModuleListProperties::ModuleListProperties | ( | ) |
Definition at line 133 of file ModuleList.cpp.
References ForwardDeprecatedIndexCacheSettings(), lldb_private::Properties::GetExperimentalSettingsName(), lldbassert, lldb_private::Properties::m_collection_sp, m_experimental_properties_sp, m_index_cache_sp, m_index_cache_type_sp, lldb_private::OptionValueFileSpec::SetCurrentValue(), lldb_private::OptionValueFileSpec::SetDefaultValue(), and UpdateSymlinkMappings().
|
private |
Make the deprecated "symbols.*lldb-index-cache*" settings set their replacements in "symbols.lldb-index-cache".
Definition at line 185 of file ModuleList.cpp.
References lldb_private::Properties::m_collection_sp, m_index_cache_sp, and m_index_cache_type_sp.
Referenced by ModuleListProperties().
| FileSpec ModuleListProperties::GetClangModulesCachePath | ( | ) | const |
Definition at line 264 of file ModuleList.cpp.
References lldb_private::Properties::GetPropertyAtIndexAs().
| uint64_t ModuleListProperties::GetDemangledNameInfoCacheSize | ( | ) | const |
Definition at line 354 of file ModuleList.cpp.
References lldb_private::Properties::GetPropertyAtIndexAs().
| bool ModuleListProperties::GetEnableExternalLookup | ( | ) | const |
Definition at line 225 of file ModuleList.cpp.
References lldb_private::Properties::GetPropertyAtIndexAs().
| bool ModuleListProperties::GetEnableTypeSystemClike | ( | ) | const |
Definition at line 235 of file ModuleList.cpp.
References m_experimental_properties_sp.
| uint64_t ModuleListProperties::GetLLDBIndexCacheExpirationDays | ( | ) |
Definition at line 323 of file ModuleList.cpp.
References m_index_cache_sp.
Referenced by lldb_private::DataFileCache::GetLLDBIndexCachePolicy().
| bool ModuleListProperties::GetLLDBIndexCacheForceDisable | ( | ) | const |
Definition at line 280 of file ModuleList.cpp.
References m_index_cache_sp.
Referenced by lldb_private::Module::GetIndexCache().
| uint64_t ModuleListProperties::GetLLDBIndexCacheMaxByteSize | ( | ) |
Definition at line 311 of file ModuleList.cpp.
References m_index_cache_sp.
Referenced by lldb_private::DataFileCache::GetLLDBIndexCachePolicy().
| uint64_t ModuleListProperties::GetLLDBIndexCacheMaxPercent | ( | ) |
Definition at line 317 of file ModuleList.cpp.
References m_index_cache_sp.
Referenced by lldb_private::DataFileCache::GetLLDBIndexCachePolicy().
| FileSpec ModuleListProperties::GetLLDBIndexCachePath | ( | ) | const |
Definition at line 274 of file ModuleList.cpp.
References m_index_cache_sp.
Referenced by lldb_private::Module::GetIndexCache().
| bool ModuleListProperties::GetLLDBIndexCacheTypeDwarfIndex | ( | ) | const |
Definition at line 292 of file ModuleList.cpp.
References m_index_cache_type_sp.
Referenced by lldb_private::Module::GetIndexCache().
| bool ModuleListProperties::GetLLDBIndexCacheTypeMemoryModuleHeaderBytes | ( | ) | const |
Definition at line 304 of file ModuleList.cpp.
References m_index_cache_type_sp.
Referenced by lldb_private::Module::GetIndexCache().
| bool ModuleListProperties::GetLLDBIndexCacheTypeMemoryModuleSymtab | ( | ) | const |
Definition at line 298 of file ModuleList.cpp.
References m_index_cache_type_sp.
Referenced by lldb_private::Module::GetIndexCache().
| bool ModuleListProperties::GetLLDBIndexCacheTypeSymtab | ( | ) | const |
Definition at line 286 of file ModuleList.cpp.
References m_index_cache_type_sp.
Referenced by lldb_private::Module::GetIndexCache().
| bool ModuleListProperties::GetLoadSymbolOnDemand | ( | ) | const |
Definition at line 348 of file ModuleList.cpp.
References lldb_private::Properties::GetPropertyAtIndexAs().
| SymbolSharedCacheUse ModuleListProperties::GetSharedCacheBinaryLoading | ( | ) | const |
Definition at line 257 of file ModuleList.cpp.
References lldb_private::Properties::GetPropertyAtIndexAs().
Referenced by lldb_private::DynamicLoaderDarwin::FindTargetModuleForImageInfo(), lldb_private::PlatformDarwin::GetModuleFromSharedCaches(), lldb_private::process_gdb_remote::ProcessGDBRemote::GetSharedCacheInfo(), lldb_private::SymbolLocatorDebugSymbols::LocateExecutableObjectFile(), and LocateMacOSXFilesUsingDebugSymbols().
| SymbolDownload ModuleListProperties::GetSymbolAutoDownload | ( | ) | const |
Definition at line 246 of file ModuleList.cpp.
References lldb::eSymbolDownloadBackground, and lldb_private::Properties::GetPropertyAtIndexAs().
| PathMappingList ModuleListProperties::GetSymlinkMappings | ( | ) | const |
Definition at line 343 of file ModuleList.cpp.
References m_symlink_paths, and m_symlink_paths_mutex.
Definition at line 269 of file ModuleList.cpp.
References lldb_private::Properties::SetPropertyAtIndex().
Referenced by lldb_private::TypeSystemClang::Initialize().
Definition at line 231 of file ModuleList.cpp.
References lldb_private::Properties::SetPropertyAtIndex().
Definition at line 241 of file ModuleList.cpp.
References m_experimental_properties_sp.
|
private |
Definition at line 329 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 101 of file ModuleList.h.
Referenced by GetEnableTypeSystemClike(), ModuleListProperties(), and SetEnableTypeSystemClike().
|
private |
The "symbols.lldb-index-cache" settings.
Definition at line 97 of file ModuleList.h.
Referenced by ForwardDeprecatedIndexCacheSettings(), GetLLDBIndexCacheExpirationDays(), GetLLDBIndexCacheForceDisable(), GetLLDBIndexCacheMaxByteSize(), GetLLDBIndexCacheMaxPercent(), GetLLDBIndexCachePath(), and ModuleListProperties().
|
private |
The "symbols.lldb-index-cache.type" settings.
Definition at line 99 of file ModuleList.h.
Referenced by ForwardDeprecatedIndexCacheSettings(), GetLLDBIndexCacheTypeDwarfIndex(), GetLLDBIndexCacheTypeMemoryModuleHeaderBytes(), GetLLDBIndexCacheTypeMemoryModuleSymtab(), GetLLDBIndexCacheTypeSymtab(), and ModuleListProperties().
|
private |
Definition at line 95 of file ModuleList.h.
Referenced by GetSymlinkMappings(), and UpdateSymlinkMappings().
|
mutableprivate |
Definition at line 94 of file ModuleList.h.
Referenced by GetSymlinkMappings(), and UpdateSymlinkMappings().