LLDB mainline
|
#include <OptionValue.h>
Public Types | |
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) } |
Static Public Member Functions | |
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 Types | |
using | TopmostBase = OptionValue |
Protected Member Functions | |
virtual lldb::OptionValueSP | Clone () const =0 |
Protected Attributes | |
lldb::OptionValueWP | m_parent_wp |
std::function< void()> | m_callback |
bool | m_value_was_set = false |
Private Member Functions | |
std::optional< ArchSpec > | GetArchSpecValue () const |
bool | SetArchSpecValue (ArchSpec arch_spec) |
std::optional< bool > | GetBooleanValue () const |
bool | SetBooleanValue (bool new_value) |
std::optional< char > | GetCharValue () const |
bool | SetCharValue (char new_value) |
std::optional< int64_t > | GetEnumerationValue () const |
bool | SetEnumerationValue (int64_t value) |
std::optional< FileSpec > | GetFileSpecValue () const |
bool | SetFileSpecValue (FileSpec file_spec) |
std::optional< FileSpecList > | GetFileSpecListValue () const |
std::optional< int64_t > | GetSInt64Value () const |
bool | SetSInt64Value (int64_t new_value) |
std::optional< uint64_t > | GetUInt64Value () const |
bool | SetUInt64Value (uint64_t new_value) |
std::optional< lldb::Format > | GetFormatValue () const |
bool | SetFormatValue (lldb::Format new_value) |
std::optional< lldb::LanguageType > | GetLanguageValue () const |
bool | SetLanguageValue (lldb::LanguageType new_language) |
std::optional< llvm::StringRef > | GetStringValue () const |
bool | SetStringValue (llvm::StringRef new_value) |
std::optional< UUID > | GetUUIDValue () const |
bool | SetUUIDValue (const UUID &uuid) |
const FormatEntity::Entry * | GetFormatEntity () const |
const RegularExpression * | GetRegexValue () const |
Private Attributes | |
std::mutex | m_mutex |
Definition at line 31 of file OptionValue.h.
|
protected |
Definition at line 338 of file OptionValue.h.
anonymous enum |
Enumerator | |
---|---|
eDumpOptionName | |
eDumpOptionType | |
eDumpOptionValue | |
eDumpOptionDescription | |
eDumpOptionRaw | |
eDumpOptionCommand | |
eDumpGroupValue | |
eDumpGroupHelp | |
eDumpGroupExport |
Definition at line 57 of file OptionValue.h.
Definition at line 33 of file OptionValue.h.
|
default |
|
virtualdefault |
OptionValue::OptionValue | ( | const OptionValue & | other | ) |
Definition at line 18 of file OptionValue.cpp.
References m_callback, m_mutex, m_parent_wp, and m_value_was_set.
bool OptionValue::AppendFileSpecValue | ( | FileSpec | file_spec | ) |
Definition at line 337 of file OptionValue.cpp.
References GetAsFileSpecList(), and m_mutex.
|
virtual |
Reimplemented in lldb_private::OptionValueBoolean, lldb_private::OptionValueEnumeration, lldb_private::OptionValueFileColonLine, lldb_private::OptionValueFileSpec, lldb_private::OptionValueFormatEntity, lldb_private::OptionValueUUID, and lldb_private::OptionValueArch.
Definition at line 599 of file OptionValue.cpp.
|
pure virtual |
Implemented in lldb_private::OptionValueArch, lldb_private::OptionValueArray, lldb_private::OptionValueBoolean, lldb_private::OptionValueChar, lldb_private::OptionValueDictionary, lldb_private::OptionValueEnumeration, lldb_private::OptionValueFileColonLine, lldb_private::OptionValueFileSpec, lldb_private::OptionValueFileSpecList, lldb_private::OptionValueFormat, lldb_private::OptionValueFormatEntity, lldb_private::OptionValueLanguage, lldb_private::OptionValuePathMappings, lldb_private::OptionValueProperties, lldb_private::OptionValueRegex, lldb_private::OptionValueSInt64, lldb_private::OptionValueString, lldb_private::OptionValueUInt64, and lldb_private::OptionValueUUID.
|
protectedpure virtual |
Implemented in lldb_private::OptionValueFileSpecList, lldb_private::Cloneable< ProcessExperimentalOptionValueProperties, OptionValueProperties >, lldb_private::Cloneable< ProcessOptionValueProperties, OptionValueProperties >, lldb_private::Cloneable< TargetExperimentalOptionValueProperties, OptionValueProperties >, lldb_private::Cloneable< TargetOptionValueProperties, OptionValueProperties >, lldb_private::Cloneable< ThreadOptionValueProperties, OptionValueProperties >, lldb_private::Cloneable< OptionValueArch, OptionValue >, lldb_private::Cloneable< OptionValueArgs, OptionValueArray >, lldb_private::Cloneable< OptionValueArray, OptionValue >, lldb_private::Cloneable< OptionValueBoolean, OptionValue >, lldb_private::Cloneable< OptionValueChar, OptionValue >, lldb_private::Cloneable< OptionValueDictionary, OptionValue >, lldb_private::Cloneable< OptionValueEnumeration, OptionValue >, lldb_private::Cloneable< OptionValueFileColonLine, OptionValue >, lldb_private::Cloneable< OptionValueFileSpec, OptionValue >, lldb_private::Cloneable< OptionValueFileSpecList, OptionValue >, lldb_private::Cloneable< OptionValueFormat, OptionValue >, lldb_private::Cloneable< OptionValueFormatEntity, OptionValue >, lldb_private::Cloneable< OptionValueLanguage, OptionValue >, lldb_private::Cloneable< OptionValuePathMappings, OptionValue >, lldb_private::Cloneable< OptionValueProperties, OptionValue >, lldb_private::Cloneable< OptionValueRegex, OptionValue >, lldb_private::Cloneable< OptionValueSInt64, OptionValue >, lldb_private::Cloneable< OptionValueString, OptionValue >, lldb_private::Cloneable< OptionValueUInt64, OptionValue >, and lldb_private::Cloneable< OptionValueUUID, OptionValue >.
Referenced by DeepCopy().
|
inlinestatic |
Definition at line 144 of file OptionValue.h.
References eTypeArch, eTypeArgs, eTypeArray, eTypeBoolean, eTypeChar, eTypeDictionary, eTypeEnum, eTypeFileLineColumn, eTypeFileSpec, eTypeFileSpecList, eTypeFormat, eTypeInvalid, eTypeLanguage, eTypePathMap, eTypeProperties, eTypeRegex, eTypeSInt64, eTypeString, eTypeUInt64, and eTypeUUID.
Referenced by lldb_private::OptionValueArray::DumpValue(), lldb_private::OptionValueDictionary::DumpValue(), and lldb_private::OptionValueDictionary::IsHomogenous().
|
inlinestatic |
Definition at line 140 of file OptionValue.h.
Referenced by lldb_private::Property::Property().
|
static |
Definition at line 527 of file OptionValue.cpp.
References lldb::eFormatInvalid, lldb::eLanguageTypeUnknown, error(), eTypeArch, eTypeBoolean, eTypeChar, eTypeFileSpec, eTypeFormat, eTypeFormatEntity, eTypeLanguage, eTypeSInt64, eTypeString, eTypeUInt64, eTypeUUID, and lldb_private::eVarSetOperationAssign.
Referenced by lldb_private::OptionValueArray::SetArgs(), and lldb_private::OptionValueDictionary::SetArgs().
|
virtual |
Reimplemented in lldb_private::OptionValueArray, lldb_private::OptionValueDictionary, and lldb_private::OptionValueProperties.
Definition at line 593 of file OptionValue.cpp.
References Clone(), and lldb_private::clone().
Referenced by lldb_private::OptionValueArray::DeepCopy(), lldb_private::OptionValueDictionary::DeepCopy(), and lldb_private::OptionValueProperties::DeepCopy().
|
virtual |
Definition at line 575 of file OptionValue.cpp.
References GetName(), m_parent_wp, and lldb_private::Stream::PutChar().
|
pure virtual |
Implemented in lldb_private::OptionValueArch, lldb_private::OptionValueArray, lldb_private::OptionValueBoolean, lldb_private::OptionValueChar, lldb_private::OptionValueDictionary, lldb_private::OptionValueEnumeration, lldb_private::OptionValueFileColonLine, lldb_private::OptionValueFileSpec, lldb_private::OptionValueFileSpecList, lldb_private::OptionValueFormat, lldb_private::OptionValueFormatEntity, lldb_private::OptionValueLanguage, lldb_private::OptionValuePathMappings, lldb_private::OptionValueProperties, lldb_private::OptionValueRegex, lldb_private::OptionValueSInt64, lldb_private::OptionValueString, lldb_private::OptionValueUInt64, and lldb_private::OptionValueUUID.
Referenced by lldb_private::OptionValueDictionary::DumpValue().
|
private |
Definition at line 463 of file OptionValue.cpp.
References GetAsArch(), and m_mutex.
Referenced by GetValueAs().
OptionValueArch * OptionValue::GetAsArch | ( | ) |
Definition at line 93 of file OptionValue.cpp.
References eTypeArch, and GetType().
Referenced by GetArchSpecValue(), and SetArchSpecValue().
const OptionValueArch * OptionValue::GetAsArch | ( | ) | const |
Definition at line 99 of file OptionValue.cpp.
OptionValueArgs * OptionValue::GetAsArgs | ( | ) |
Definition at line 117 of file OptionValue.cpp.
References eTypeArgs, and GetType().
Referenced by lldb_private::OptionValueProperties::GetPropertyAtIndexAsArgs(), and lldb_private::OptionValueProperties::SetPropertyAtIndexFromArgs().
const OptionValueArgs * OptionValue::GetAsArgs | ( | ) | const |
Definition at line 123 of file OptionValue.cpp.
OptionValueArray * OptionValue::GetAsArray | ( | ) |
Definition at line 105 of file OptionValue.cpp.
References eTypeArray, and GetType().
Referenced by lldb_private::OptionValueProperties::GetPropertyAtIndexAsArgs(), EmulationStateARM::LoadStateFromDictionary(), and lldb_private::OptionValueProperties::SetPropertyAtIndexFromArgs().
const OptionValueArray * OptionValue::GetAsArray | ( | ) | const |
Definition at line 111 of file OptionValue.cpp.
References eTypeArray, and GetType().
OptionValueBoolean * OptionValue::GetAsBoolean | ( | ) |
Definition at line 45 of file OptionValue.cpp.
References eTypeBoolean, and GetType().
Referenced by GetBooleanValue(), and SetBooleanValue().
const OptionValueBoolean * OptionValue::GetAsBoolean | ( | ) | const |
Definition at line 51 of file OptionValue.cpp.
References eTypeBoolean, and GetType().
OptionValueChar * OptionValue::GetAsChar | ( | ) |
Definition at line 63 of file OptionValue.cpp.
References eTypeChar, and GetType().
Referenced by GetCharValue(), and SetCharValue().
const OptionValueChar * OptionValue::GetAsChar | ( | ) | const |
Definition at line 57 of file OptionValue.cpp.
OptionValueDictionary * OptionValue::GetAsDictionary | ( | ) |
Definition at line 129 of file OptionValue.cpp.
References eTypeDictionary, and GetType().
Referenced by lldb_private::OptionValueProperties::GetPropertyAtIndexAsArgs(), EmulationStateARM::LoadStateFromDictionary(), lldb_private::OptionValueProperties::SetPropertyAtIndexFromArgs(), lldb_private::EmulateInstructionARM::TestEmulation(), and lldb_private::Instruction::TestEmulation().
const OptionValueDictionary * OptionValue::GetAsDictionary | ( | ) | const |
Definition at line 135 of file OptionValue.cpp.
References eTypeDictionary, and GetType().
OptionValueEnumeration * OptionValue::GetAsEnumeration | ( | ) |
Definition at line 141 of file OptionValue.cpp.
References eTypeEnum, and GetType().
Referenced by GetEnumerationValue(), and SetEnumerationValue().
const OptionValueEnumeration * OptionValue::GetAsEnumeration | ( | ) | const |
Definition at line 147 of file OptionValue.cpp.
OptionValueFileSpec * OptionValue::GetAsFileSpec | ( | ) |
Definition at line 69 of file OptionValue.cpp.
References eTypeFileSpec, and GetType().
Referenced by GetFileSpecValue(), lldb_private::OptionValueProperties::GetPropertyAtIndexAsOptionValueFileSpec(), and SetFileSpecValue().
const OptionValueFileSpec * OptionValue::GetAsFileSpec | ( | ) | const |
Definition at line 75 of file OptionValue.cpp.
References eTypeFileSpec, and GetType().
OptionValueFileSpecList * OptionValue::GetAsFileSpecList | ( | ) |
Definition at line 81 of file OptionValue.cpp.
References eTypeFileSpecList, and GetType().
Referenced by AppendFileSpecValue(), and GetFileSpecListValue().
const OptionValueFileSpecList * OptionValue::GetAsFileSpecList | ( | ) | const |
Definition at line 87 of file OptionValue.cpp.
References eTypeFileSpecList, and GetType().
OptionValueFormat * OptionValue::GetAsFormat | ( | ) |
Definition at line 153 of file OptionValue.cpp.
References eTypeFormat, and GetType().
Referenced by GetFormatValue(), and SetFormatValue().
const OptionValueFormat * OptionValue::GetAsFormat | ( | ) | const |
Definition at line 159 of file OptionValue.cpp.
References eTypeFormat, and GetType().
OptionValueFormatEntity * OptionValue::GetAsFormatEntity | ( | ) |
Definition at line 177 of file OptionValue.cpp.
References eTypeFormatEntity, and GetType().
Referenced by GetFormatEntity().
const OptionValueFormatEntity * OptionValue::GetAsFormatEntity | ( | ) | const |
Definition at line 183 of file OptionValue.cpp.
References eTypeFormatEntity, and GetType().
OptionValueLanguage * OptionValue::GetAsLanguage | ( | ) |
Definition at line 165 of file OptionValue.cpp.
References eTypeLanguage, and GetType().
Referenced by GetLanguageValue(), and SetLanguageValue().
const OptionValueLanguage * OptionValue::GetAsLanguage | ( | ) | const |
Definition at line 171 of file OptionValue.cpp.
References eTypeLanguage, and GetType().
OptionValuePathMappings * OptionValue::GetAsPathMappings | ( | ) |
Definition at line 189 of file OptionValue.cpp.
References eTypePathMap, and GetType().
const OptionValuePathMappings * OptionValue::GetAsPathMappings | ( | ) | const |
Definition at line 195 of file OptionValue.cpp.
References eTypePathMap, and GetType().
OptionValueProperties * OptionValue::GetAsProperties | ( | ) |
Definition at line 201 of file OptionValue.cpp.
References eTypeProperties, and GetType().
Referenced by lldb_private::OptionValueProperties::Apropos(), lldb_private::OptionValueProperties::GetPropertyAtPath(), and lldb_private::OptionValueProperties::GetSubProperty().
const OptionValueProperties * OptionValue::GetAsProperties | ( | ) | const |
Definition at line 207 of file OptionValue.cpp.
References eTypeProperties, and GetType().
OptionValueRegex * OptionValue::GetAsRegex | ( | ) |
Definition at line 213 of file OptionValue.cpp.
References eTypeRegex, and GetType().
Referenced by lldb_private::Disassembler::ElideMixedSourceAndDisassemblyLine(), and GetRegexValue().
const OptionValueRegex * OptionValue::GetAsRegex | ( | ) | const |
Definition at line 219 of file OptionValue.cpp.
References eTypeRegex, and GetType().
OptionValueSInt64 * OptionValue::GetAsSInt64 | ( | ) |
Definition at line 225 of file OptionValue.cpp.
References eTypeSInt64, and GetType().
Referenced by lldb_private::OptionValueProperties::GetPropertyAtIndexAsOptionValueSInt64(), GetSInt64Value(), and SetSInt64Value().
const OptionValueSInt64 * OptionValue::GetAsSInt64 | ( | ) | const |
Definition at line 231 of file OptionValue.cpp.
References eTypeSInt64, and GetType().
OptionValueString * OptionValue::GetAsString | ( | ) |
Definition at line 237 of file OptionValue.cpp.
References eTypeString, and GetType().
Referenced by GetStringValue(), and SetStringValue().
const OptionValueString * OptionValue::GetAsString | ( | ) | const |
Definition at line 243 of file OptionValue.cpp.
References eTypeString, and GetType().
OptionValueUInt64 * OptionValue::GetAsUInt64 | ( | ) |
Definition at line 249 of file OptionValue.cpp.
References eTypeUInt64, and GetType().
Referenced by lldb_private::OptionValueProperties::GetPropertyAtIndexAsOptionValueUInt64(), GetUInt64Value(), and SetUInt64Value().
const OptionValueUInt64 * OptionValue::GetAsUInt64 | ( | ) | const |
Definition at line 255 of file OptionValue.cpp.
References eTypeUInt64, and GetType().
OptionValueUUID * OptionValue::GetAsUUID | ( | ) |
Definition at line 261 of file OptionValue.cpp.
References eTypeUUID, and GetType().
Referenced by GetUUIDValue(), and SetUUIDValue().
const OptionValueUUID * OptionValue::GetAsUUID | ( | ) | const |
Definition at line 267 of file OptionValue.cpp.
|
private |
Definition at line 273 of file OptionValue.cpp.
References GetAsBoolean(), and m_mutex.
Referenced by GetValueAs().
|
static |
Definition at line 479 of file OptionValue.cpp.
References eTypeArch, eTypeArgs, eTypeArray, eTypeBoolean, eTypeChar, eTypeDictionary, eTypeEnum, eTypeFileLineColumn, eTypeFileSpec, eTypeFileSpecList, eTypeFormat, eTypeFormatEntity, eTypeInvalid, eTypeLanguage, eTypePathMap, eTypeProperties, eTypeRegex, eTypeSInt64, eTypeString, eTypeUInt64, and eTypeUUID.
Referenced by lldb_private::OptionValueArray::DumpValue(), lldb_private::OptionValueDictionary::DumpValue(), and GetTypeAsCString().
|
private |
Definition at line 289 of file OptionValue.cpp.
References GetAsChar(), and m_mutex.
Referenced by GetValueAs().
|
private |
Definition at line 305 of file OptionValue.cpp.
References GetAsEnumeration(), and m_mutex.
Referenced by GetValueAs().
|
private |
Definition at line 346 of file OptionValue.cpp.
References GetAsFileSpecList(), and m_mutex.
Referenced by GetValueAs().
|
private |
Definition at line 321 of file OptionValue.cpp.
References GetAsFileSpec(), and m_mutex.
Referenced by GetValueAs().
|
private |
Definition at line 385 of file OptionValue.cpp.
References GetAsFormatEntity(), and m_mutex.
Referenced by GetValueAs().
|
private |
Definition at line 353 of file OptionValue.cpp.
References GetAsFormat(), and m_mutex.
Referenced by GetValueAs().
|
private |
Definition at line 369 of file OptionValue.cpp.
References GetAsLanguage(), and m_mutex.
Referenced by GetValueAs().
|
inlinevirtual |
Reimplemented in lldb_private::OptionValueProperties.
Definition at line 132 of file OptionValue.h.
Referenced by DumpQualifiedName().
|
inline |
Definition at line 261 of file OptionValue.h.
References m_parent_wp.
|
private |
Definition at line 392 of file OptionValue.cpp.
References GetAsRegex(), and m_mutex.
Referenced by GetValueAs().
|
private |
Definition at line 399 of file OptionValue.cpp.
References GetAsSInt64(), and m_mutex.
Referenced by GetValueAs().
|
private |
Definition at line 415 of file OptionValue.cpp.
References GetAsString(), and m_mutex.
Referenced by GetValueAs().
|
inlinevirtual |
Reimplemented in lldb_private::OptionValueArray, lldb_private::OptionValueDictionary, and lldb_private::OptionValueProperties.
Definition at line 119 of file OptionValue.h.
References error().
|
pure virtual |
Implemented in lldb_private::OptionValueArch, lldb_private::OptionValueArgs, lldb_private::OptionValueArray, lldb_private::OptionValueBoolean, lldb_private::OptionValueChar, lldb_private::OptionValueDictionary, lldb_private::OptionValueEnumeration, lldb_private::OptionValueFileColonLine, lldb_private::OptionValueFileSpec, lldb_private::OptionValueFileSpecList, lldb_private::OptionValueFormat, lldb_private::OptionValueFormatEntity, lldb_private::OptionValueLanguage, lldb_private::OptionValuePathMappings, lldb_private::OptionValueProperties, lldb_private::OptionValueRegex, lldb_private::OptionValueSInt64, lldb_private::OptionValueString, lldb_private::OptionValueUInt64, and lldb_private::OptionValueUUID.
Referenced by GetAsArch(), GetAsArgs(), GetAsArray(), GetAsBoolean(), GetAsChar(), GetAsDictionary(), GetAsEnumeration(), GetAsFileSpec(), GetAsFileSpecList(), GetAsFormat(), GetAsFormatEntity(), GetAsLanguage(), GetAsPathMappings(), GetAsProperties(), GetAsRegex(), GetAsSInt64(), GetAsString(), GetAsUInt64(), GetAsUUID(), GetTypeAsCString(), GetTypeAsMask(), and ValueIsTransparent().
|
inlinevirtual |
Definition at line 87 of file OptionValue.h.
References GetBuiltinTypeAsCString(), and GetType().
Referenced by lldb_private::OptionValueArch::DumpValue(), lldb_private::OptionValueArray::DumpValue(), lldb_private::OptionValueBoolean::DumpValue(), lldb_private::OptionValueChar::DumpValue(), lldb_private::OptionValueDictionary::DumpValue(), lldb_private::OptionValueEnumeration::DumpValue(), lldb_private::OptionValueFileColonLine::DumpValue(), lldb_private::OptionValueFileSpec::DumpValue(), lldb_private::OptionValueFileSpecList::DumpValue(), lldb_private::OptionValueFormat::DumpValue(), lldb_private::OptionValueFormatEntity::DumpValue(), lldb_private::OptionValueLanguage::DumpValue(), lldb_private::OptionValuePathMappings::DumpValue(), lldb_private::OptionValueRegex::DumpValue(), lldb_private::OptionValueSInt64::DumpValue(), lldb_private::OptionValueString::DumpValue(), lldb_private::OptionValueUInt64::DumpValue(), lldb_private::OptionValueUUID::DumpValue(), lldb_private::OptionValueArray::GetSubValue(), lldb_private::OptionValueDictionary::GetSubValue(), and SetValueFromString().
|
inline |
Definition at line 138 of file OptionValue.h.
References GetType().
|
private |
Definition at line 431 of file OptionValue.cpp.
References GetAsUInt64(), and m_mutex.
Referenced by GetValueAs().
|
private |
Definition at line 447 of file OptionValue.cpp.
References GetAsUUID(), and m_mutex.
|
inline |
Definition at line 273 of file OptionValue.h.
References GetArchSpecValue(), GetBooleanValue(), GetCharValue(), GetEnumerationValue(), GetFileSpecListValue(), GetFileSpecValue(), GetFormatValue(), GetLanguageValue(), GetSInt64Value(), GetStringValue(), and GetUInt64Value().
Referenced by CommandObjectBreakpointNameConfigure::DoExecute(), CommandObjectMemoryFind::DoExecute(), CommandObjectRegisterRead::DoExecute(), and CommandObjectProcessKDPPacketSend::DoExecute().
|
inline |
Definition at line 304 of file OptionValue.h.
References GetFormatEntity(), and GetRegexValue().
|
inlinevirtual |
Reimplemented in lldb_private::OptionValueArray, lldb_private::OptionValueDictionary, lldb_private::OptionValueFileSpecList, and lldb_private::OptionValuePathMappings.
Definition at line 130 of file OptionValue.h.
|
inline |
Definition at line 267 of file OptionValue.h.
References m_callback.
Referenced by lldb_private::OptionValueArch::SetValueFromString(), lldb_private::OptionValueArray::SetValueFromString(), lldb_private::OptionValueBoolean::SetValueFromString(), lldb_private::OptionValueDictionary::SetValueFromString(), lldb_private::OptionValueEnumeration::SetValueFromString(), lldb_private::OptionValueFileColonLine::SetValueFromString(), lldb_private::OptionValueFileSpec::SetValueFromString(), lldb_private::OptionValueFileSpecList::SetValueFromString(), lldb_private::OptionValueFormat::SetValueFromString(), lldb_private::OptionValueFormatEntity::SetValueFromString(), lldb_private::OptionValuePathMappings::SetValueFromString(), lldb_private::OptionValueRegex::SetValueFromString(), lldb_private::OptionValueSInt64::SetValueFromString(), lldb_private::OptionValueString::SetValueFromString(), lldb_private::OptionValueUInt64::SetValueFromString(), and lldb_private::OptionValueUUID::SetValueFromString().
OptionValue & OptionValue::operator= | ( | const OptionValue & | other | ) |
Definition at line 27 of file OptionValue.cpp.
References m_callback, m_mutex, m_parent_wp, and m_value_was_set.
|
inline |
Definition at line 253 of file OptionValue.h.
References m_value_was_set.
Referenced by CommandObjectTargetSymbolsAdd::AddSymbolsForFile(), CommandObjectTargetSymbolsAdd::AddSymbolsForFrame(), CommandObjectTargetSymbolsAdd::AddSymbolsForStack(), CommandObjectTargetSymbolsAdd::AddSymbolsForUUID(), lldb_private::OptionGroupFormat::AnyOptionWasSet(), lldb_private::OptionGroupMemoryTag::AnyOptionWasSet(), lldb_private::OptionGroupOutputFile::AnyOptionWasSet(), OptionGroupReadMemory::AnyOptionWasSet(), CommandObjectPlatformSettings::DoExecute(), CommandObjectTargetModulesAdd::DoExecute(), CommandObjectTargetModulesLoad::DoExecute(), CommandObjectTargetSymbolsAdd::DoExecute(), CommandObjectBreakpointNameConfigure::DoExecute(), CommandObjectBreakpointNameAdd::DoExecute(), CommandObjectBreakpointNameDelete::DoExecute(), CommandObjectCommandsSource::DoExecute(), CommandObjectMemoryRead::DoExecute(), CommandObjectMemoryFind::DoExecute(), CommandObjectRegisterRead::DoExecute(), CommandObjectSessionHistory::DoExecute(), CommandObjectTypeFormatterList< FormatterType >::DoExecute(), CommandObjectProcessKDPPacketSend::DoExecute(), and OptionGroupReadMemory::FinalizeSettings().
|
private |
Definition at line 470 of file OptionValue.cpp.
References GetAsArch(), and m_mutex.
Referenced by SetValueAs().
|
private |
Definition at line 280 of file OptionValue.cpp.
References GetAsBoolean(), and m_mutex.
Referenced by SetValueAs().
|
private |
Definition at line 296 of file OptionValue.cpp.
References GetAsChar(), and m_mutex.
Referenced by SetValueAs().
|
private |
Definition at line 312 of file OptionValue.cpp.
References GetAsEnumeration(), and m_mutex.
Referenced by SetValueAs().
|
private |
Definition at line 328 of file OptionValue.cpp.
References GetAsFileSpec(), and m_mutex.
Referenced by SetValueAs().
|
private |
Definition at line 360 of file OptionValue.cpp.
References GetAsFormat(), and m_mutex.
Referenced by SetValueAs().
|
private |
Definition at line 376 of file OptionValue.cpp.
References GetAsLanguage(), and m_mutex.
Referenced by SetValueAs().
|
inline |
Definition at line 255 of file OptionValue.h.
References m_value_was_set.
Referenced by CommandObjectSessionHistory::CommandOptions::SetOptionValue(), CommandObjectTargetModulesDumpSymtab::CommandOptions::SetOptionValue(), CommandObjectTargetModulesDumpSeparateDebugInfoFiles::CommandOptions::SetOptionValue(), CommandObjectTypeFormatterList< FormatterType >::CommandOptions::SetOptionValue(), lldb_private::OptionGroupBoolean::SetOptionValue(), lldb_private::OptionGroupFormat::SetOptionValue(), lldb_private::OptionGroupMemoryTag::SetOptionValue(), lldb_private::OptionGroupUUID::SetOptionValue(), CommandObjectCommandsAlias::CommandOptions::SetOptionValue(), CommandObjectMemoryRegion::OptionGroupMemoryRegion::SetOptionValue(), and CommandObjectRegisterRead::CommandOptions::SetOptionValue().
|
inline |
Definition at line 257 of file OptionValue.h.
References m_parent_wp.
|
private |
Definition at line 406 of file OptionValue.cpp.
References GetAsSInt64(), and m_mutex.
Referenced by SetValueAs().
|
private |
Definition at line 422 of file OptionValue.cpp.
References GetAsString(), and m_mutex.
Referenced by SetValueAs().
|
virtual |
Reimplemented in lldb_private::OptionValueDictionary, and lldb_private::OptionValueProperties.
Definition at line 37 of file OptionValue.cpp.
References error().
|
private |
Definition at line 438 of file OptionValue.cpp.
References GetAsUInt64(), and m_mutex.
Referenced by SetValueAs().
|
private |
Definition at line 454 of file OptionValue.cpp.
References GetAsUUID(), and m_mutex.
Referenced by SetValueAs().
|
inline |
Definition at line 330 of file OptionValue.h.
References SetArchSpecValue().
|
inline |
Definition at line 312 of file OptionValue.h.
References SetBooleanValue().
|
inline |
Definition at line 314 of file OptionValue.h.
References SetCharValue().
|
inline |
Definition at line 328 of file OptionValue.h.
References SetFileSpecValue().
|
inline |
Definition at line 318 of file OptionValue.h.
References SetSInt64Value().
|
inline |
Definition at line 326 of file OptionValue.h.
References SetFormatValue().
|
inline |
Definition at line 324 of file OptionValue.h.
References SetLanguageValue().
|
inline |
Definition at line 322 of file OptionValue.h.
References SetStringValue().
|
inline |
Definition at line 333 of file OptionValue.h.
References SetEnumerationValue().
|
inline |
Definition at line 316 of file OptionValue.h.
References SetUInt64Value().
|
inline |
Definition at line 320 of file OptionValue.h.
References SetUUIDValue().
|
inline |
Definition at line 263 of file OptionValue.h.
References m_callback.
|
virtual |
Reimplemented in lldb_private::OptionValueArch, lldb_private::OptionValueArray, lldb_private::OptionValueBoolean, lldb_private::OptionValueChar, lldb_private::OptionValueDictionary, lldb_private::OptionValueEnumeration, lldb_private::OptionValueFileColonLine, lldb_private::OptionValueFileSpec, lldb_private::OptionValueFileSpecList, lldb_private::OptionValueFormat, lldb_private::OptionValueFormatEntity, lldb_private::OptionValueLanguage, lldb_private::OptionValuePathMappings, lldb_private::OptionValueProperties, lldb_private::OptionValueRegex, lldb_private::OptionValueSInt64, lldb_private::OptionValueString, lldb_private::OptionValueUInt64, and lldb_private::OptionValueUUID.
Definition at line 602 of file OptionValue.cpp.
References 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, and GetTypeAsCString().
Referenced by lldb_private::OptionValueDictionary::SetArgs(), lldb_private::OptionValueArch::SetValueFromString(), lldb_private::OptionValueBoolean::SetValueFromString(), lldb_private::OptionValueChar::SetValueFromString(), lldb_private::OptionValueEnumeration::SetValueFromString(), lldb_private::OptionValueFileColonLine::SetValueFromString(), lldb_private::OptionValueFileSpec::SetValueFromString(), lldb_private::OptionValueFileSpecList::SetValueFromString(), lldb_private::OptionValueFormat::SetValueFromString(), lldb_private::OptionValueFormatEntity::SetValueFromString(), lldb_private::OptionValueLanguage::SetValueFromString(), lldb_private::OptionValuePathMappings::SetValueFromString(), lldb_private::OptionValueProperties::SetValueFromString(), lldb_private::OptionValueRegex::SetValueFromString(), lldb_private::OptionValueSInt64::SetValueFromString(), lldb_private::OptionValueString::SetValueFromString(), lldb_private::OptionValueUInt64::SetValueFromString(), and lldb_private::OptionValueUUID::SetValueFromString().
|
inlinevirtual |
Reimplemented in lldb_private::OptionValueArray, lldb_private::OptionValueBoolean, lldb_private::OptionValueChar, lldb_private::OptionValueDictionary, lldb_private::OptionValueFileSpec, lldb_private::OptionValueFormat, lldb_private::OptionValueFormatEntity, lldb_private::OptionValueLanguage, lldb_private::OptionValuePathMappings, lldb_private::OptionValueProperties, lldb_private::OptionValueRegex, lldb_private::OptionValueSInt64, lldb_private::OptionValueString, lldb_private::OptionValueUInt64, and lldb_private::OptionValueUUID.
Definition at line 98 of file OptionValue.h.
Referenced by lldb_private::OptionValueProperties::ToJSON().
|
inlinevirtual |
Definition at line 83 of file OptionValue.h.
References eTypeProperties, and GetType().
Referenced by lldb_private::OptionValueProperties::DumpValue().
|
protected |
Definition at line 345 of file OptionValue.h.
Referenced by NotifyValueChanged(), operator=(), OptionValue(), and SetValueChangedCallback().
|
mutableprivate |
Definition at line 391 of file OptionValue.h.
Referenced by AppendFileSpecValue(), GetArchSpecValue(), GetBooleanValue(), GetCharValue(), GetEnumerationValue(), GetFileSpecListValue(), GetFileSpecValue(), GetFormatEntity(), GetFormatValue(), GetLanguageValue(), GetRegexValue(), GetSInt64Value(), GetStringValue(), GetUInt64Value(), GetUUIDValue(), operator=(), OptionValue(), SetArchSpecValue(), SetBooleanValue(), SetCharValue(), SetEnumerationValue(), SetFileSpecValue(), SetFormatValue(), SetLanguageValue(), SetSInt64Value(), SetStringValue(), SetUInt64Value(), and SetUUIDValue().
|
protected |
Definition at line 344 of file OptionValue.h.
Referenced by DumpQualifiedName(), GetParent(), operator=(), OptionValue(), and SetParent().
|
protected |
Definition at line 346 of file OptionValue.h.
Referenced by lldb_private::OptionValueArch::Clear(), lldb_private::OptionValueArray::Clear(), lldb_private::OptionValueBoolean::Clear(), lldb_private::OptionValueChar::Clear(), lldb_private::OptionValueDictionary::Clear(), lldb_private::OptionValueEnumeration::Clear(), lldb_private::OptionValueFileSpec::Clear(), lldb_private::OptionValueFileSpecList::Clear(), lldb_private::OptionValueFormat::Clear(), lldb_private::OptionValueFormatEntity::Clear(), lldb_private::OptionValueLanguage::Clear(), lldb_private::OptionValuePathMappings::Clear(), lldb_private::OptionValueRegex::Clear(), lldb_private::OptionValueSInt64::Clear(), lldb_private::OptionValueString::Clear(), lldb_private::OptionValueUInt64::Clear(), lldb_private::OptionValueUUID::Clear(), lldb_private::OptionValueString::DumpValue(), operator=(), OptionValue(), OptionWasSet(), lldb_private::OptionValueArray::SetArgs(), lldb_private::OptionValueDictionary::SetArgs(), lldb_private::OptionValueArch::SetCurrentValue(), lldb_private::OptionValueFileSpec::SetCurrentValue(), SetOptionWasSet(), lldb_private::OptionValueArch::SetValueFromString(), lldb_private::OptionValueBoolean::SetValueFromString(), lldb_private::OptionValueChar::SetValueFromString(), lldb_private::OptionValueFileColonLine::SetValueFromString(), lldb_private::OptionValueFileSpec::SetValueFromString(), lldb_private::OptionValueFileSpecList::SetValueFromString(), lldb_private::OptionValueFormat::SetValueFromString(), lldb_private::OptionValueFormatEntity::SetValueFromString(), lldb_private::OptionValueLanguage::SetValueFromString(), lldb_private::OptionValuePathMappings::SetValueFromString(), lldb_private::OptionValueRegex::SetValueFromString(), lldb_private::OptionValueSInt64::SetValueFromString(), lldb_private::OptionValueString::SetValueFromString(), lldb_private::OptionValueUInt64::SetValueFromString(), and lldb_private::OptionValueUUID::SetValueFromString().