LLDB mainline
Public Member Functions | Protected Attributes | List of all members
lldb_private::ProcessProperties Class Reference

#include <Process.h>

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

Public Member Functions

 ProcessProperties (lldb_private::Process *process)
 
 ~ProcessProperties () override
 
bool GetDisableMemoryCache () const
 
uint64_t GetMemoryCacheLineSize () const
 
Args GetExtraStartupCommands () const
 
void SetExtraStartupCommands (const Args &args)
 
FileSpec GetPythonOSPluginPath () const
 
uint32_t GetVirtualAddressableBits () const
 
void SetVirtualAddressableBits (uint32_t bits)
 
uint32_t GetHighmemVirtualAddressableBits () const
 
void SetHighmemVirtualAddressableBits (uint32_t bits)
 
void SetPythonOSPluginPath (const FileSpec &file)
 
bool GetIgnoreBreakpointsInExpressions () const
 
void SetIgnoreBreakpointsInExpressions (bool ignore)
 
bool GetUnwindOnErrorInExpressions () const
 
void SetUnwindOnErrorInExpressions (bool ignore)
 
bool GetStopOnSharedLibraryEvents () const
 
void SetStopOnSharedLibraryEvents (bool stop)
 
bool GetDisableLangRuntimeUnwindPlans () const
 
void SetDisableLangRuntimeUnwindPlans (bool disable)
 
bool GetDetachKeepsStopped () const
 
void SetDetachKeepsStopped (bool keep_stopped)
 
bool GetWarningsOptimization () const
 
bool GetWarningsUnsupportedLanguage () const
 
bool GetStopOnExec () const
 
std::chrono::seconds GetUtilityExpressionTimeout () const
 
std::chrono::seconds GetInterruptTimeout () const
 
bool GetOSPluginReportsAllThreads () const
 
void SetOSPluginReportsAllThreads (bool does_report)
 
bool GetSteppingRunsAllThreads () const
 
FollowForkMode GetFollowForkMode () 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
 

Protected Attributes

Processm_process
 
std::unique_ptr< ProcessExperimentalPropertiesm_experimental_properties_up
 
- Protected Attributes inherited from lldb_private::Properties
lldb::OptionValuePropertiesSP m_collection_sp
 

Additional Inherited Members

- Static Public Member Functions inherited from lldb_private::Properties
static llvm::StringRef GetExperimentalSettingsName ()
 
static bool IsSettingExperimental (llvm::StringRef setting)
 

Detailed Description

Definition at line 74 of file Process.h.

Constructor & Destructor Documentation

◆ ProcessProperties()

ProcessProperties::ProcessProperties ( lldb_private::Process process)

◆ ~ProcessProperties()

ProcessProperties::~ProcessProperties ( )
overridedefault

Member Function Documentation

◆ GetDetachKeepsStopped()

bool ProcessProperties::GetDetachKeepsStopped ( ) const

Definition at line 289 of file Process.cpp.

Referenced by CommandObjectProcessDetach::DoExecute().

◆ GetDisableLangRuntimeUnwindPlans()

bool ProcessProperties::GetDisableLangRuntimeUnwindPlans ( ) const

Definition at line 277 of file Process.cpp.

◆ GetDisableMemoryCache()

bool ProcessProperties::GetDisableMemoryCache ( ) const

Definition at line 188 of file Process.cpp.

Referenced by lldb_private::Process::ReadMemory().

◆ GetExtraStartupCommands()

Args ProcessProperties::GetExtraStartupCommands ( ) const

◆ GetFollowForkMode()

FollowForkMode ProcessProperties::GetFollowForkMode ( ) const

◆ GetHighmemVirtualAddressableBits()

uint32_t ProcessProperties::GetHighmemVirtualAddressableBits ( ) const

◆ GetIgnoreBreakpointsInExpressions()

bool ProcessProperties::GetIgnoreBreakpointsInExpressions ( ) const

Definition at line 244 of file Process.cpp.

Referenced by lldb_private::StopInfoBreakpoint::PerformAction().

◆ GetInterruptTimeout()

std::chrono::seconds ProcessProperties::GetInterruptTimeout ( ) const

◆ GetMemoryCacheLineSize()

uint64_t ProcessProperties::GetMemoryCacheLineSize ( ) const

Definition at line 194 of file Process.cpp.

Referenced by lldb_private::MemoryCache::Clear().

◆ GetOSPluginReportsAllThreads()

bool ProcessProperties::GetOSPluginReportsAllThreads ( ) const

◆ GetPythonOSPluginPath()

FileSpec ProcessProperties::GetPythonOSPluginPath ( ) const

Definition at line 212 of file Process.cpp.

◆ GetSteppingRunsAllThreads()

bool ProcessProperties::GetSteppingRunsAllThreads ( ) const

Definition at line 332 of file Process.cpp.

◆ GetStopOnExec()

bool ProcessProperties::GetStopOnExec ( ) const

Definition at line 312 of file Process.cpp.

◆ GetStopOnSharedLibraryEvents()

bool ProcessProperties::GetStopOnSharedLibraryEvents ( ) const

Definition at line 266 of file Process.cpp.

Referenced by lldb_private::DynamicLoader::GetStopWhenImagesChange().

◆ GetUnwindOnErrorInExpressions()

bool ProcessProperties::GetUnwindOnErrorInExpressions ( ) const

Definition at line 255 of file Process.cpp.

◆ GetUtilityExpressionTimeout()

std::chrono::seconds ProcessProperties::GetUtilityExpressionTimeout ( ) const

◆ GetVirtualAddressableBits()

uint32_t ProcessProperties::GetVirtualAddressableBits ( ) const

◆ GetWarningsOptimization()

bool ProcessProperties::GetWarningsOptimization ( ) const

Definition at line 300 of file Process.cpp.

Referenced by lldb_private::Process::PrintWarningOptimization().

◆ GetWarningsUnsupportedLanguage()

bool ProcessProperties::GetWarningsUnsupportedLanguage ( ) const

Definition at line 306 of file Process.cpp.

Referenced by lldb_private::Process::PrintWarningUnsupportedLanguage().

◆ SetDetachKeepsStopped()

void ProcessProperties::SetDetachKeepsStopped ( bool  keep_stopped)

Definition at line 295 of file Process.cpp.

References lldb_private::Properties::SetPropertyAtIndex().

◆ SetDisableLangRuntimeUnwindPlans()

void ProcessProperties::SetDisableLangRuntimeUnwindPlans ( bool  disable)

◆ SetExtraStartupCommands()

void ProcessProperties::SetExtraStartupCommands ( const Args args)

Definition at line 207 of file Process.cpp.

References lldb_private::Properties::m_collection_sp.

◆ SetHighmemVirtualAddressableBits()

void ProcessProperties::SetHighmemVirtualAddressableBits ( uint32_t  bits)

◆ SetIgnoreBreakpointsInExpressions()

void ProcessProperties::SetIgnoreBreakpointsInExpressions ( bool  ignore)

Definition at line 250 of file Process.cpp.

References lldb_private::Properties::SetPropertyAtIndex().

◆ SetOSPluginReportsAllThreads()

void ProcessProperties::SetOSPluginReportsAllThreads ( bool  does_report)

◆ SetPythonOSPluginPath()

void ProcessProperties::SetPythonOSPluginPath ( const FileSpec file)

Definition at line 239 of file Process.cpp.

References lldb_private::Properties::SetPropertyAtIndex().

◆ SetStopOnSharedLibraryEvents()

void ProcessProperties::SetStopOnSharedLibraryEvents ( bool  stop)

◆ SetUnwindOnErrorInExpressions()

void ProcessProperties::SetUnwindOnErrorInExpressions ( bool  ignore)

Definition at line 261 of file Process.cpp.

References lldb_private::Properties::SetPropertyAtIndex().

◆ SetVirtualAddressableBits()

void ProcessProperties::SetVirtualAddressableBits ( uint32_t  bits)

Member Data Documentation

◆ m_experimental_properties_up

std::unique_ptr<ProcessExperimentalProperties> lldb_private::ProcessProperties::m_experimental_properties_up
protected

Definition at line 114 of file Process.h.

Referenced by ProcessProperties().

◆ m_process

Process* lldb_private::ProcessProperties::m_process
protected

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