|
LLDB mainline
|
#include <Process.h>
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) |
| ProcessProperties::ProcessProperties | ( | lldb_private::Process * | process | ) |
Definition at line 170 of file Process.cpp.
References AddressMaskChangedCallback(), lldb_private::OptionValueProperties::CreateLocalCopy(), DisableLanguageRuntimeUnwindPlansCallback(), lldb_private::Properties::GetExperimentalSettingsName(), lldb_private::Process::GetGlobalProperties(), lldb_private::Thread::GetGlobalProperties(), lldb_private::Properties::GetValueProperties(), lldb_private::Properties::m_collection_sp, m_experimental_properties_up, m_process, lldb_private::Properties::Properties(), lldb_private::OptionValueUInt64::SetMaximumValue(), lldb_private::OptionValueUInt64::SetMinimumValue(), and UINT32_MAX.
|
overridedefault |
References lldb_private::bits().
| void ProcessProperties::AddressMaskChangedCallback | ( | ) |
Definition at line 275 of file Process.cpp.
References m_process, and lldb_private::ProcessRunLock::ProcessRunLocker::TryLock().
Referenced by ProcessProperties().
| void ProcessProperties::DisableLanguageRuntimeUnwindPlansCallback | ( | ) |
Definition at line 337 of file Process.cpp.
References m_process.
Referenced by ProcessProperties().
| Args ProcessProperties::GetAlwaysRunThreadNames | ( | ) | const |
Definition at line 401 of file Process.cpp.
References lldb_private::Properties::m_collection_sp.
| bool ProcessProperties::GetDetachKeepsStopped | ( | ) | const |
Definition at line 346 of file Process.cpp.
References lldb_private::Properties::GetPropertyAtIndexAs().
Referenced by CommandObjectProcessDetach::DoExecute().
| bool ProcessProperties::GetDisableLangRuntimeUnwindPlans | ( | ) | const |
Definition at line 325 of file Process.cpp.
References lldb_private::Properties::GetPropertyAtIndexAs().
| bool ProcessProperties::GetDisableMemoryCache | ( | ) | const |
Definition at line 216 of file Process.cpp.
References lldb_private::Properties::GetPropertyAtIndexAs().
Referenced by lldb_private::Process::ReadMemory(), lldb_private::Process::ReadMemoryRanges(), and lldb_private::Process::ReadModuleFromMemoryWithCachedHeader().
|
private |
Definition at line 408 of file Process.cpp.
References lldb_private::OptionValue::GetAsProperties(), lldb_private::Properties::GetExperimentalSettingsName(), and lldb_private::Properties::m_collection_sp.
Referenced by GetOSPluginReportsAllThreads(), and SetOSPluginReportsAllThreads().
| Args ProcessProperties::GetExtraStartupCommands | ( | ) | const |
Definition at line 236 of file Process.cpp.
References lldb_private::Properties::m_collection_sp.
Referenced by lldb_private::process_gdb_remote::ProcessGDBRemote::ConnectToDebugserver().
| FollowForkMode ProcessProperties::GetFollowForkMode | ( | ) | const |
Definition at line 431 of file Process.cpp.
References lldb_private::Properties::GetPropertyAtIndexAs().
Referenced by lldb_private::process_gdb_remote::ProcessGDBRemote::DidExec(), lldb_private::process_gdb_remote::ProcessGDBRemote::DidFork(), lldb_private::process_gdb_remote::ProcessGDBRemote::DidVFork(), and RequiresFollowChildWorkaround().
| uint32_t ProcessProperties::GetHighmemVirtualAddressableBits | ( | ) | const |
Definition at line 264 of file Process.cpp.
References lldb_private::Properties::GetPropertyAtIndexAs().
Referenced by lldb_private::Process::GetHighmemCodeAddressMask(), and lldb_private::Process::GetHighmemDataAddressMask().
| bool ProcessProperties::GetIgnoreBreakpointsInExpressions | ( | ) | const |
Definition at line 292 of file Process.cpp.
References lldb_private::Properties::GetPropertyAtIndexAs().
Referenced by lldb_private::StopInfoBreakpoint::PerformAction().
| 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().
| uint64_t ProcessProperties::GetMemoryCacheLineSize | ( | ) | const |
Definition at line 230 of file Process.cpp.
References lldb_private::Properties::GetPropertyAtIndexAs().
| bool ProcessProperties::GetOSPluginReportsAllThreads | ( | ) | const |
Definition at line 415 of file Process.cpp.
References GetExperimentalProperties(), and lldb_private::OptionValueProperties::GetPropertyAtIndexAs().
| FileSpec ProcessProperties::GetPythonOSPluginPath | ( | ) | const |
Definition at line 248 of file Process.cpp.
References lldb_private::Properties::GetPropertyAtIndexAs().
| bool ProcessProperties::GetSteppingRunsAllThreads | ( | ) | const |
Definition at line 395 of file Process.cpp.
References lldb_private::Properties::GetPropertyAtIndexAs().
| bool ProcessProperties::GetStopOnExec | ( | ) | const |
Definition at line 369 of file Process.cpp.
References lldb_private::Properties::GetPropertyAtIndexAs().
| bool ProcessProperties::GetStopOnSharedLibraryEvents | ( | ) | const |
Definition at line 314 of file Process.cpp.
References lldb_private::Properties::GetPropertyAtIndexAs().
| bool ProcessProperties::GetUnwindOnErrorInExpressions | ( | ) | const |
Definition at line 303 of file Process.cpp.
References lldb_private::Properties::GetPropertyAtIndexAs().
| bool ProcessProperties::GetUseDelayedBreakpoints | ( | ) | const |
Definition at line 375 of file Process.cpp.
References lldb_private::Properties::GetPropertyAtIndexAs().
Referenced by lldb_private::Process::ShouldUseDelayedBreakpoints().
| std::chrono::seconds ProcessProperties::GetUtilityExpressionTimeout | ( | ) | const |
Definition at line 381 of file Process.cpp.
References lldb_private::Properties::GetPropertyAtIndexAs().
Referenced by lldb_private::Process::CallVoidArgVoidPtrReturn(), lldb_private::Process::ControlPrivateStateThread(), lldb_private::PlatformWindows::DoLoadImage(), PlatformPOSIX::EvaluateLibdlExpression(), lldb_private::AppleObjCRuntime::GetObjectDescription(), lldb_private::InferiorCallMmap(), lldb_private::InferiorCallMunmap(), and lldb_private::Process::RunThreadPlan().
| bool ProcessProperties::GetVerifyMemoryReads | ( | ) | const |
Definition at line 223 of file Process.cpp.
References lldb_private::Properties::GetPropertyAtIndexAs().
Referenced by lldb_private::Process::ReadMemory(), and lldb_private::Process::ReadMemoryRanges().
| uint32_t ProcessProperties::GetVirtualAddressableBits | ( | ) | const |
Definition at line 253 of file Process.cpp.
References lldb_private::Properties::GetPropertyAtIndexAs().
Referenced by lldb_private::Process::GetCodeAddressMask(), and lldb_private::Process::GetDataAddressMask().
| bool ProcessProperties::GetWarningsOptimization | ( | ) | const |
Definition at line 357 of file Process.cpp.
References lldb_private::Properties::GetPropertyAtIndexAs().
Referenced by lldb_private::Process::PrintWarningOptimization().
| bool ProcessProperties::GetWarningsUnsupportedLanguage | ( | ) | const |
Definition at line 363 of file Process.cpp.
References lldb_private::Properties::GetPropertyAtIndexAs().
Referenced by lldb_private::Process::PrintWarningUnsupportedLanguage().
| void ProcessProperties::SetDetachKeepsStopped | ( | bool | keep_stopped | ) |
Definition at line 352 of file Process.cpp.
References lldb_private::Properties::SetPropertyAtIndex().
| void ProcessProperties::SetDisableLangRuntimeUnwindPlans | ( | bool | disable | ) |
Definition at line 331 of file Process.cpp.
References m_process, and lldb_private::Properties::SetPropertyAtIndex().
| void ProcessProperties::SetExtraStartupCommands | ( | const Args & | args | ) |
Definition at line 243 of file Process.cpp.
References lldb_private::Properties::m_collection_sp.
| void ProcessProperties::SetHighmemVirtualAddressableBits | ( | uint32_t | bits | ) |
Definition at line 270 of file Process.cpp.
References lldb_private::bits(), and lldb_private::Properties::SetPropertyAtIndex().
| void ProcessProperties::SetIgnoreBreakpointsInExpressions | ( | bool | ignore | ) |
Definition at line 298 of file Process.cpp.
References lldb_private::Properties::SetPropertyAtIndex().
| void ProcessProperties::SetOSPluginReportsAllThreads | ( | bool | does_report | ) |
Definition at line 425 of file Process.cpp.
References GetExperimentalProperties().
| void ProcessProperties::SetPythonOSPluginPath | ( | const FileSpec & | file | ) |
Definition at line 287 of file Process.cpp.
References lldb_private::Properties::SetPropertyAtIndex().
| void ProcessProperties::SetStopOnSharedLibraryEvents | ( | bool | stop | ) |
Definition at line 320 of file Process.cpp.
References lldb_private::Properties::SetPropertyAtIndex().
| void ProcessProperties::SetUnwindOnErrorInExpressions | ( | bool | ignore | ) |
Definition at line 309 of file Process.cpp.
References lldb_private::Properties::SetPropertyAtIndex().
| void ProcessProperties::SetVirtualAddressableBits | ( | uint32_t | bits | ) |
Definition at line 259 of file Process.cpp.
References lldb_private::bits(), and lldb_private::Properties::SetPropertyAtIndex().
| bool ProcessProperties::TrackMemoryCacheChanges | ( | ) | const |
Definition at line 438 of file Process.cpp.
References lldb_private::Properties::GetPropertyAtIndexAs().
Referenced by lldb_private::Process::WriteMemory().
|
protected |
Definition at line 132 of file Process.h.
Referenced by ProcessProperties().
|
protected |
Definition at line 131 of file Process.h.
Referenced by AddressMaskChangedCallback(), DisableLanguageRuntimeUnwindPlansCallback(), lldb_private::process_gdb_remote::ProcessGDBRemote::LoadModules(), lldb_private::process_gdb_remote::ProcessGDBRemote::MaybeLoadExecutableModule(), ProcessProperties(), SetDisableLangRuntimeUnwindPlans(), and lldb_private::ScriptedProcess::UpdateQueueListIfNeeded().