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 75 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 319 of file Process.cpp.

Referenced by CommandObjectProcessDetach::DoExecute().

◆ GetDisableLangRuntimeUnwindPlans()

bool ProcessProperties::GetDisableLangRuntimeUnwindPlans ( ) const

Definition at line 307 of file Process.cpp.

◆ GetDisableMemoryCache()

bool ProcessProperties::GetDisableMemoryCache ( ) const

Definition at line 218 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 274 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 224 of file Process.cpp.

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

◆ GetOSPluginReportsAllThreads()

bool ProcessProperties::GetOSPluginReportsAllThreads ( ) const

◆ GetPythonOSPluginPath()

FileSpec ProcessProperties::GetPythonOSPluginPath ( ) const

Definition at line 242 of file Process.cpp.

◆ GetSteppingRunsAllThreads()

bool ProcessProperties::GetSteppingRunsAllThreads ( ) const

Definition at line 362 of file Process.cpp.

◆ GetStopOnExec()

bool ProcessProperties::GetStopOnExec ( ) const

Definition at line 342 of file Process.cpp.

◆ GetStopOnSharedLibraryEvents()

bool ProcessProperties::GetStopOnSharedLibraryEvents ( ) const

Definition at line 296 of file Process.cpp.

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

◆ GetUnwindOnErrorInExpressions()

bool ProcessProperties::GetUnwindOnErrorInExpressions ( ) const

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

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

◆ GetWarningsUnsupportedLanguage()

bool ProcessProperties::GetWarningsUnsupportedLanguage ( ) const

Definition at line 336 of file Process.cpp.

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

◆ SetDetachKeepsStopped()

void ProcessProperties::SetDetachKeepsStopped ( bool  keep_stopped)

Definition at line 325 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 237 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 280 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 269 of file Process.cpp.

References lldb_private::Properties::SetPropertyAtIndex().

◆ SetStopOnSharedLibraryEvents()

void ProcessProperties::SetStopOnSharedLibraryEvents ( bool  stop)

◆ SetUnwindOnErrorInExpressions()

void ProcessProperties::SetUnwindOnErrorInExpressions ( bool  ignore)

Definition at line 291 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 115 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: