LLDB mainline
Public Member Functions | Private Member Functions | Private Attributes | List of all members
lldb_private::ModuleListProperties Class Reference

#include <ModuleList.h>

Inheritance diagram for lldb_private::ModuleListProperties:
Inheritance graph
[legend]

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 >
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
 

Detailed Description

Definition at line 70 of file ModuleList.h.

Constructor & Destructor Documentation

◆ ModuleListProperties()

ModuleListProperties::ModuleListProperties ( )

Member Function Documentation

◆ GetClangModulesCachePath()

FileSpec ModuleListProperties::GetClangModulesCachePath ( ) const

Definition at line 118 of file ModuleList.cpp.

◆ GetEnableExternalLookup()

bool ModuleListProperties::GetEnableExternalLookup ( ) const

Definition at line 97 of file ModuleList.cpp.

Referenced by GetFileForModule().

◆ GetEnableLLDBIndexCache()

bool ModuleListProperties::GetEnableLLDBIndexCache ( ) const

Definition at line 138 of file ModuleList.cpp.

◆ GetLLDBIndexCacheExpirationDays()

uint64_t ModuleListProperties::GetLLDBIndexCacheExpirationDays ( )

◆ GetLLDBIndexCacheMaxByteSize()

uint64_t ModuleListProperties::GetLLDBIndexCacheMaxByteSize ( )

◆ GetLLDBIndexCacheMaxPercent()

uint64_t ModuleListProperties::GetLLDBIndexCacheMaxPercent ( )

◆ GetLLDBIndexCachePath()

FileSpec ModuleListProperties::GetLLDBIndexCachePath ( ) const

Definition at line 128 of file ModuleList.cpp.

◆ GetLoadSymbolOnDemand()

bool ModuleListProperties::GetLoadSymbolOnDemand ( )

Definition at line 185 of file ModuleList.cpp.

◆ GetSymbolAutoDownload()

SymbolDownload ModuleListProperties::GetSymbolAutoDownload ( ) const

Definition at line 107 of file ModuleList.cpp.

References lldb::eSymbolDownloadBackground.

◆ GetSymlinkMappings()

PathMappingList ModuleListProperties::GetSymlinkMappings ( ) const

Definition at line 180 of file ModuleList.cpp.

References m_symlink_paths, and m_symlink_paths_mutex.

◆ SetClangModulesCachePath()

bool ModuleListProperties::SetClangModulesCachePath ( const FileSpec path)

Definition at line 123 of file ModuleList.cpp.

References lldb_private::Properties::SetPropertyAtIndex().

Referenced by ModuleListProperties().

◆ SetEnableExternalLookup()

bool ModuleListProperties::SetEnableExternalLookup ( bool  new_value)

Definition at line 103 of file ModuleList.cpp.

References lldb_private::Properties::SetPropertyAtIndex().

◆ SetEnableLLDBIndexCache()

bool ModuleListProperties::SetEnableLLDBIndexCache ( bool  new_value)

Definition at line 144 of file ModuleList.cpp.

References lldb_private::Properties::SetPropertyAtIndex().

◆ SetLLDBIndexCachePath()

bool ModuleListProperties::SetLLDBIndexCachePath ( const FileSpec path)

Definition at line 133 of file ModuleList.cpp.

References lldb_private::Properties::SetPropertyAtIndex().

Referenced by ModuleListProperties().

◆ UpdateSymlinkMappings()

void ModuleListProperties::UpdateSymlinkMappings ( )
private

Member Data Documentation

◆ m_symlink_paths

PathMappingList lldb_private::ModuleListProperties::m_symlink_paths
private

Definition at line 72 of file ModuleList.h.

Referenced by GetSymlinkMappings(), and UpdateSymlinkMappings().

◆ m_symlink_paths_mutex

llvm::sys::RWMutex lldb_private::ModuleListProperties::m_symlink_paths_mutex
mutableprivate

Definition at line 71 of file ModuleList.h.

Referenced by GetSymlinkMappings(), and UpdateSymlinkMappings().


The documentation for this class was generated from the following files: