LLDB mainline
|
#include <OptionValueUInt64.h>
Static Public Member Functions | |
static lldb::OptionValueSP | Create (llvm::StringRef value_str, Status &error) |
Static Public Member Functions inherited from lldb_private::OptionValue | |
static const char * | GetBuiltinTypeAsCString (Type t) |
static uint32_t | ConvertTypeToMask (OptionValue::Type type) |
static OptionValue::Type | ConvertTypeMaskToType (uint32_t type_mask) |
static lldb::OptionValueSP | CreateValueFromCStringForTypeMask (const char *value_cstr, uint32_t type_mask, Status &error) |
Protected Attributes | |
uint64_t | m_current_value = 0 |
uint64_t | m_default_value = 0 |
uint64_t | m_min_value = std::numeric_limits<uint64_t>::min() |
uint64_t | m_max_value = std::numeric_limits<uint64_t>::max() |
Protected Attributes inherited from lldb_private::OptionValue | |
lldb::OptionValueWP | m_parent_wp |
std::function< void()> | m_callback |
bool | m_value_was_set = false |
Additional Inherited Members | |
Public Types inherited from lldb_private::OptionValue | |
enum | Type { eTypeInvalid = 0 , eTypeArch , eTypeArgs , eTypeArray , eTypeBoolean , eTypeChar , eTypeDictionary , eTypeEnum , eTypeFileLineColumn , eTypeFileSpec , eTypeFileSpecList , eTypeFormat , eTypeLanguage , eTypePathMap , eTypeProperties , eTypeRegex , eTypeSInt64 , eTypeString , eTypeUInt64 , eTypeUUID , eTypeFormatEntity } |
enum | { eDumpOptionName = (1u << 0) , eDumpOptionType = (1u << 1) , eDumpOptionValue = (1u << 2) , eDumpOptionDescription = (1u << 3) , eDumpOptionRaw = (1u << 4) , eDumpOptionCommand = (1u << 5) , eDumpGroupValue = (eDumpOptionName | eDumpOptionType | eDumpOptionValue) , eDumpGroupHelp , eDumpGroupExport = (eDumpOptionCommand | eDumpOptionName | eDumpOptionValue) } |
Protected Types inherited from lldb_private::OptionValue | |
using | TopmostBase = OptionValue |
virtual lldb::OptionValueSP | Clone () const =0 |
Definition at line 17 of file OptionValueUInt64.h.
|
default |
Referenced by Create().
|
inline |
Definition at line 21 of file OptionValueUInt64.h.
|
inline |
Definition at line 24 of file OptionValueUInt64.h.
|
overridedefault |
|
inlineoverridevirtual |
Implements lldb_private::OptionValue.
Definition at line 49 of file OptionValueUInt64.h.
References m_current_value, m_default_value, and lldb_private::OptionValue::m_value_was_set.
Referenced by lldb_private::OptionGroupFormat::OptionParsingStarting(), lldb_private::OptionGroupUInt64::OptionParsingStarting(), lldb_private::OptionGroupWatchpoint::OptionParsingStarting(), BreakpointNameOptionGroup::OptionParsingStarting(), CommandObjectLogEnable::CommandOptions::OptionParsingStarting(), OptionGroupReadMemory::OptionParsingStarting(), CommandObjectMemoryFind::OptionGroupFindMemory::OptionParsingStarting(), CommandObjectSessionHistory::CommandOptions::OptionParsingStarting(), and SetValueFromString().
|
static |
Definition at line 16 of file OptionValueUInt64.cpp.
References error(), and OptionValueUInt64().
Referenced by CommandObjectRegisterRead::CommandOptions::SetOptionValue().
|
overridevirtual |
Implements lldb_private::OptionValue.
Definition at line 25 of file OptionValueUInt64.cpp.
References lldb_private::OptionValue::eDumpOptionType, lldb_private::OptionValue::eDumpOptionValue, lldb_private::OptionValue::GetTypeAsCString(), m_current_value, lldb_private::Stream::Printf(), and lldb_private::Stream::PutCString().
|
inline |
Definition at line 63 of file OptionValueUInt64.h.
References m_current_value.
Referenced by CommandObjectLogEnable::DoExecute(), CommandObjectTargetModulesLoad::DoExecute(), CommandObjectMemoryRead::DoExecute(), CommandObjectMemoryFind::DoExecute(), CommandObjectMemoryWrite::DoExecute(), CommandObjectSessionHistory::DoExecute(), OptionGroupReadMemory::FinalizeSettings(), lldb_private::OptionGroupFormat::SetOptionValue(), lldb_private::OptionGroupWatchpoint::SetOptionValue(), and OptionGroupReadMemory::SetOptionValue().
|
inline |
Definition at line 65 of file OptionValueUInt64.h.
References m_default_value.
Referenced by lldb_private::OptionGroupFormat::GetDefinitions(), and lldb_private::OptionGroupFormat::SetOptionValue().
|
inline |
Definition at line 89 of file OptionValueUInt64.h.
References m_max_value.
|
inline |
Definition at line 85 of file OptionValueUInt64.h.
References m_min_value.
|
inlineoverridevirtual |
Implements lldb_private::OptionValue.
Definition at line 36 of file OptionValueUInt64.h.
References lldb_private::OptionValue::eTypeUInt64.
|
inline |
Definition at line 61 of file OptionValueUInt64.h.
References m_current_value.
|
inline |
Definition at line 56 of file OptionValueUInt64.h.
References m_current_value.
|
inline |
Definition at line 67 of file OptionValueUInt64.h.
References m_current_value, m_max_value, and m_min_value.
Referenced by CommandObjectSessionHistory::CommandOptions::SetOptionValue(), and lldb_private::OptionGroupFormat::SetOptionValue().
|
inline |
Definition at line 75 of file OptionValueUInt64.h.
References m_default_value, m_max_value, and m_min_value.
|
inline |
Definition at line 87 of file OptionValueUInt64.h.
References m_max_value.
Referenced by lldb_private::Debugger::Debugger().
|
inline |
Definition at line 83 of file OptionValueUInt64.h.
References m_min_value.
Referenced by lldb_private::Debugger::Debugger().
|
overridevirtual |
Reimplemented from lldb_private::OptionValue.
Definition at line 36 of file OptionValueUInt64.cpp.
References Clear(), error(), lldb_private::eVarSetOperationAppend, lldb_private::eVarSetOperationAssign, lldb_private::eVarSetOperationClear, lldb_private::eVarSetOperationInsertAfter, lldb_private::eVarSetOperationInsertBefore, lldb_private::eVarSetOperationInvalid, lldb_private::eVarSetOperationRemove, lldb_private::eVarSetOperationReplace, m_current_value, m_max_value, m_min_value, lldb_private::OptionValue::m_value_was_set, lldb_private::OptionValue::NotifyValueChanged(), and lldb_private::OptionValue::SetValueFromString().
Referenced by BreakpointNameOptionGroup::SetOptionValue(), CommandObjectLogEnable::CommandOptions::SetOptionValue(), CommandObjectSessionHistory::CommandOptions::SetOptionValue(), lldb_private::OptionGroupFormat::SetOptionValue(), lldb_private::OptionGroupUInt64::SetOptionValue(), lldb_private::OptionGroupWatchpoint::SetOptionValue(), OptionGroupReadMemory::SetOptionValue(), and CommandObjectMemoryFind::OptionGroupFindMemory::SetOptionValue().
|
inlineoverridevirtual |
Reimplemented from lldb_private::OptionValue.
Definition at line 41 of file OptionValueUInt64.h.
References m_current_value.
|
protected |
Definition at line 92 of file OptionValueUInt64.h.
Referenced by Clear(), DumpValue(), GetCurrentValue(), operator uint64_t(), operator=(), SetCurrentValue(), SetValueFromString(), and ToJSON().
|
protected |
Definition at line 93 of file OptionValueUInt64.h.
Referenced by Clear(), GetDefaultValue(), and SetDefaultValue().
|
protected |
Definition at line 95 of file OptionValueUInt64.h.
Referenced by GetMaximumValue(), SetCurrentValue(), SetDefaultValue(), SetMaximumValue(), and SetValueFromString().
|
protected |
Definition at line 94 of file OptionValueUInt64.h.
Referenced by GetMinimumValue(), SetCurrentValue(), SetDefaultValue(), SetMinimumValue(), and SetValueFromString().