LLDB mainline
lldb_private::ProcessProperties Class Reference

#include <Process.h>

Inheritance diagram for lldb_private::ProcessProperties:
[legend]

Public Member Functions

 ProcessProperties (lldb_private::Process *process)
 ~ProcessProperties () override
bool GetDisableMemoryCache () const
bool GetVerifyMemoryReads () 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 AddressMaskChangedCallback ()
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)
void DisableLanguageRuntimeUnwindPlansCallback ()
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
Args GetAlwaysRunThreadNames () const
FollowForkMode GetFollowForkMode () const
bool TrackMemoryCacheChanges () const
bool GetUseDelayedBreakpoints () 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

Protected Attributes

Process * m_process
std::unique_ptr< ProcessExperimentalProperties > m_experimental_properties_up
Protected Attributes inherited from lldb_private::Properties
lldb::OptionValuePropertiesSP m_collection_sp

Private Member Functions

OptionValueProperties * GetExperimentalProperties () const

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 84 of file Process.h.

Constructor & Destructor Documentation

◆ ProcessProperties()

◆ ~ProcessProperties()

ProcessProperties::~ProcessProperties ( )
overridedefault

References lldb_private::bits().

Member Function Documentation

◆ AddressMaskChangedCallback()

void ProcessProperties::AddressMaskChangedCallback ( )

Definition at line 275 of file Process.cpp.

References m_process, and lldb_private::ProcessRunLock::ProcessRunLocker::TryLock().

Referenced by ProcessProperties().

◆ DisableLanguageRuntimeUnwindPlansCallback()

void ProcessProperties::DisableLanguageRuntimeUnwindPlansCallback ( )

Definition at line 337 of file Process.cpp.

References m_process.

Referenced by ProcessProperties().

◆ GetAlwaysRunThreadNames()

Args ProcessProperties::GetAlwaysRunThreadNames ( ) const

Definition at line 401 of file Process.cpp.

References lldb_private::Properties::m_collection_sp.

◆ GetDetachKeepsStopped()

bool ProcessProperties::GetDetachKeepsStopped ( ) const

◆ GetDisableLangRuntimeUnwindPlans()

bool ProcessProperties::GetDisableLangRuntimeUnwindPlans ( ) const

Definition at line 325 of file Process.cpp.

References lldb_private::Properties::GetPropertyAtIndexAs().

◆ GetDisableMemoryCache()

◆ GetExperimentalProperties()

◆ GetExtraStartupCommands()

Args ProcessProperties::GetExtraStartupCommands ( ) const

◆ GetFollowForkMode()

◆ GetHighmemVirtualAddressableBits()

uint32_t ProcessProperties::GetHighmemVirtualAddressableBits ( ) const

◆ GetIgnoreBreakpointsInExpressions()

bool ProcessProperties::GetIgnoreBreakpointsInExpressions ( ) const

◆ GetInterruptTimeout()

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

Definition at line 388 of file Process.cpp.

References lldb_private::Properties::GetPropertyAtIndexAs().

Referenced by lldb_private::process_gdb_remote::ProcessGDBRemote::AsyncThread(), lldb_private::process_gdb_remote::ProcessGDBRemote::DidForkSwitchHardwareTraps(), lldb_private::process_gdb_remote::ProcessGDBRemote::DidForkSwitchSoftwareBreakpoints(), lldb_private::process_gdb_remote::ProcessGDBRemote::DisableWatchpoint(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoDisableBreakpointSite(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoEnableBreakpointSite(), CommandObjectProcessGDBRemotePacketMonitor::DoExecute(), CommandObjectProcessGDBRemotePacketSend::DoExecute(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoHalt(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoReadMemory(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoSignal(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoWriteMemory(), lldb_private::process_gdb_remote::ProcessGDBRemote::EnableWatchpoint(), lldb_private::process_gdb_remote::ProcessGDBRemote::FlashDone(), lldb_private::process_gdb_remote::ProcessGDBRemote::FlashErase(), lldb_private::Process::Halt(), lldb_private::process_gdb_remote::ProcessGDBRemote::InterruptInferior(), lldb_private::process_gdb_remote::ProcessGDBRemote::PutSTDIN(), lldb_private::process_gdb_remote::ProcessGDBRemote::SendMultiMemReadPacket(), lldb_private::Process::StopForDestroyOrDetach(), lldb_private::process_gdb_remote::ProcessGDBRemote::TraceGetBinaryData(), lldb_private::process_gdb_remote::ProcessGDBRemote::TraceGetState(), lldb_private::process_gdb_remote::ProcessGDBRemote::TraceStart(), lldb_private::process_gdb_remote::ProcessGDBRemote::TraceStop(), lldb_private::process_gdb_remote::ProcessGDBRemote::TraceSupported(), and lldb_private::process_gdb_remote::ProcessGDBRemote::UpdateBreakpointSites().

◆ GetMemoryCacheLineSize()

uint64_t ProcessProperties::GetMemoryCacheLineSize ( ) const

Definition at line 230 of file Process.cpp.

References lldb_private::Properties::GetPropertyAtIndexAs().

◆ GetOSPluginReportsAllThreads()

bool ProcessProperties::GetOSPluginReportsAllThreads ( ) const

◆ GetPythonOSPluginPath()

FileSpec ProcessProperties::GetPythonOSPluginPath ( ) const

Definition at line 248 of file Process.cpp.

References lldb_private::Properties::GetPropertyAtIndexAs().

◆ GetSteppingRunsAllThreads()

bool ProcessProperties::GetSteppingRunsAllThreads ( ) const

Definition at line 395 of file Process.cpp.

References lldb_private::Properties::GetPropertyAtIndexAs().

◆ GetStopOnExec()

bool ProcessProperties::GetStopOnExec ( ) const

Definition at line 369 of file Process.cpp.

References lldb_private::Properties::GetPropertyAtIndexAs().

◆ GetStopOnSharedLibraryEvents()

bool ProcessProperties::GetStopOnSharedLibraryEvents ( ) const

Definition at line 314 of file Process.cpp.

References lldb_private::Properties::GetPropertyAtIndexAs().

◆ GetUnwindOnErrorInExpressions()

bool ProcessProperties::GetUnwindOnErrorInExpressions ( ) const

Definition at line 303 of file Process.cpp.

References lldb_private::Properties::GetPropertyAtIndexAs().

◆ GetUseDelayedBreakpoints()

bool ProcessProperties::GetUseDelayedBreakpoints ( ) const

◆ GetUtilityExpressionTimeout()

◆ GetVerifyMemoryReads()

bool ProcessProperties::GetVerifyMemoryReads ( ) const

◆ GetVirtualAddressableBits()

uint32_t ProcessProperties::GetVirtualAddressableBits ( ) const

◆ GetWarningsOptimization()

bool ProcessProperties::GetWarningsOptimization ( ) const

◆ GetWarningsUnsupportedLanguage()

bool ProcessProperties::GetWarningsUnsupportedLanguage ( ) const

◆ SetDetachKeepsStopped()

void ProcessProperties::SetDetachKeepsStopped ( bool keep_stopped)

Definition at line 352 of file Process.cpp.

References lldb_private::Properties::SetPropertyAtIndex().

◆ SetDisableLangRuntimeUnwindPlans()

void ProcessProperties::SetDisableLangRuntimeUnwindPlans ( bool disable)

Definition at line 331 of file Process.cpp.

References m_process, and lldb_private::Properties::SetPropertyAtIndex().

◆ SetExtraStartupCommands()

void ProcessProperties::SetExtraStartupCommands ( const Args & args)

Definition at line 243 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 298 of file Process.cpp.

References lldb_private::Properties::SetPropertyAtIndex().

◆ SetOSPluginReportsAllThreads()

void ProcessProperties::SetOSPluginReportsAllThreads ( bool does_report)

Definition at line 425 of file Process.cpp.

References GetExperimentalProperties().

◆ SetPythonOSPluginPath()

void ProcessProperties::SetPythonOSPluginPath ( const FileSpec & file)

Definition at line 287 of file Process.cpp.

References lldb_private::Properties::SetPropertyAtIndex().

◆ SetStopOnSharedLibraryEvents()

void ProcessProperties::SetStopOnSharedLibraryEvents ( bool stop)

Definition at line 320 of file Process.cpp.

References lldb_private::Properties::SetPropertyAtIndex().

◆ SetUnwindOnErrorInExpressions()

void ProcessProperties::SetUnwindOnErrorInExpressions ( bool ignore)

Definition at line 309 of file Process.cpp.

References lldb_private::Properties::SetPropertyAtIndex().

◆ SetVirtualAddressableBits()

void ProcessProperties::SetVirtualAddressableBits ( uint32_t bits)

◆ TrackMemoryCacheChanges()

bool ProcessProperties::TrackMemoryCacheChanges ( ) const

Member Data Documentation

◆ m_experimental_properties_up

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

Definition at line 132 of file Process.h.

Referenced by ProcessProperties().

◆ m_process


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