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 |
Definition at line 25 of file OptionValue.h.
|
protected |
Definition at line 334 of file OptionValue.h.
anonymous enum |
Enumerator | |
---|---|
eDumpOptionName | |
eDumpOptionType | |
eDumpOptionValue | |
eDumpOptionDescription | |
eDumpOptionRaw | |
eDumpOptionCommand | |
eDumpGroupValue | |
eDumpGroupHelp | |
eDumpGroupExport |
Definition at line 51 of file OptionValue.h.
Definition at line 27 of file OptionValue.h.
|
default |
|
virtualdefault |
|
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 576 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 135 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 131 of file OptionValue.h.
Referenced by lldb_private::Property::Property().
|
static |
Definition at line 504 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 570 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 552 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().
OptionValueArch * OptionValue::GetAsArch | ( | ) |
Definition at line 94 of file OptionValue.cpp.
const OptionValueArch * OptionValue::GetAsArch | ( | ) | const |
Definition at line 100 of file OptionValue.cpp.
OptionValueArgs * OptionValue::GetAsArgs | ( | ) |
Definition at line 118 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 124 of file OptionValue.cpp.
OptionValueArray * OptionValue::GetAsArray | ( | ) |
Definition at line 106 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 112 of file OptionValue.cpp.
References eTypeArray, and GetType().
OptionValueBoolean * OptionValue::GetAsBoolean | ( | ) |
Definition at line 46 of file OptionValue.cpp.
References eTypeBoolean, and GetType().
Referenced by GetBooleanValue(), and SetBooleanValue().
const OptionValueBoolean * OptionValue::GetAsBoolean | ( | ) | const |
Definition at line 52 of file OptionValue.cpp.
References eTypeBoolean, and GetType().
OptionValueChar * OptionValue::GetAsChar | ( | ) |
Definition at line 64 of file OptionValue.cpp.
References eTypeChar, and GetType().
Referenced by GetCharValue(), and SetCharValue().
const OptionValueChar * OptionValue::GetAsChar | ( | ) | const |
Definition at line 58 of file OptionValue.cpp.
OptionValueDictionary * OptionValue::GetAsDictionary | ( | ) |
Definition at line 130 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 136 of file OptionValue.cpp.
References eTypeDictionary, and GetType().
OptionValueEnumeration * OptionValue::GetAsEnumeration | ( | ) |
Definition at line 142 of file OptionValue.cpp.
References eTypeEnum, and GetType().
Referenced by GetEnumerationValue(), and SetEnumerationValue().
const OptionValueEnumeration * OptionValue::GetAsEnumeration | ( | ) | const |
Definition at line 148 of file OptionValue.cpp.
OptionValueFileSpec * OptionValue::GetAsFileSpec | ( | ) |
Definition at line 70 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 76 of file OptionValue.cpp.
References eTypeFileSpec, and GetType().
OptionValueFileSpecList * OptionValue::GetAsFileSpecList | ( | ) |
Definition at line 82 of file OptionValue.cpp.
References eTypeFileSpecList, and GetType().
Referenced by GetFileSpecListValue().
const OptionValueFileSpecList * OptionValue::GetAsFileSpecList | ( | ) | const |
Definition at line 88 of file OptionValue.cpp.
References eTypeFileSpecList, and GetType().
OptionValueFormat * OptionValue::GetAsFormat | ( | ) |
Definition at line 154 of file OptionValue.cpp.
References eTypeFormat, and GetType().
Referenced by GetFormatValue(), and SetFormatValue().
const OptionValueFormat * OptionValue::GetAsFormat | ( | ) | const |
Definition at line 160 of file OptionValue.cpp.
References eTypeFormat, and GetType().
OptionValueFormatEntity * OptionValue::GetAsFormatEntity | ( | ) |
Definition at line 178 of file OptionValue.cpp.
References eTypeFormatEntity, and GetType().
Referenced by GetFormatEntity().
const OptionValueFormatEntity * OptionValue::GetAsFormatEntity | ( | ) | const |
Definition at line 184 of file OptionValue.cpp.
References eTypeFormatEntity, and GetType().
OptionValueLanguage * OptionValue::GetAsLanguage | ( | ) |
Definition at line 166 of file OptionValue.cpp.
References eTypeLanguage, and GetType().
Referenced by GetLanguageValue(), and SetLanguageValue().
const OptionValueLanguage * OptionValue::GetAsLanguage | ( | ) | const |
Definition at line 172 of file OptionValue.cpp.
References eTypeLanguage, and GetType().
OptionValuePathMappings * OptionValue::GetAsPathMappings | ( | ) |
Definition at line 190 of file OptionValue.cpp.
References eTypePathMap, and GetType().
const OptionValuePathMappings * OptionValue::GetAsPathMappings | ( | ) | const |
Definition at line 196 of file OptionValue.cpp.
References eTypePathMap, and GetType().
OptionValueProperties * OptionValue::GetAsProperties | ( | ) |
Definition at line 202 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 208 of file OptionValue.cpp.
References eTypeProperties, and GetType().
OptionValueRegex * OptionValue::GetAsRegex | ( | ) |
Definition at line 214 of file OptionValue.cpp.
References eTypeRegex, and GetType().
Referenced by lldb_private::Disassembler::ElideMixedSourceAndDisassemblyLine(), and GetRegexValue().
const OptionValueRegex * OptionValue::GetAsRegex | ( | ) | const |
Definition at line 220 of file OptionValue.cpp.
References eTypeRegex, and GetType().
OptionValueSInt64 * OptionValue::GetAsSInt64 | ( | ) |
Definition at line 226 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 232 of file OptionValue.cpp.
References eTypeSInt64, and GetType().
OptionValueString * OptionValue::GetAsString | ( | ) |
Definition at line 238 of file OptionValue.cpp.
References eTypeString, and GetType().
Referenced by GetStringValue(), and SetStringValue().
const OptionValueString * OptionValue::GetAsString | ( | ) | const |
Definition at line 244 of file OptionValue.cpp.
References eTypeString, and GetType().
OptionValueUInt64 * OptionValue::GetAsUInt64 | ( | ) |
Definition at line 250 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 256 of file OptionValue.cpp.
References eTypeUInt64, and GetType().
OptionValueUUID * OptionValue::GetAsUUID | ( | ) |
Definition at line 262 of file OptionValue.cpp.
References eTypeUUID, and GetType().
Referenced by GetUUIDValue(), and SetUUIDValue().
const OptionValueUUID * OptionValue::GetAsUUID | ( | ) | const |
Definition at line 268 of file OptionValue.cpp.
bool OptionValue::GetBooleanValue | ( | bool | fail_value = false | ) | const |
Definition at line 274 of file OptionValue.cpp.
References GetAsBoolean(), and lldb_private::OptionValueBoolean::GetCurrentValue().
Referenced by lldb_private::OptionValueProperties::GetPropertyAtIndexAsBoolean().
|
static |
Definition at line 456 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().
char OptionValue::GetCharValue | ( | char | fail_value | ) | const |
Definition at line 290 of file OptionValue.cpp.
References GetAsChar(), and lldb_private::OptionValueChar::GetCurrentValue().
int64_t OptionValue::GetEnumerationValue | ( | int64_t | fail_value = -1 | ) | const |
Definition at line 306 of file OptionValue.cpp.
References GetAsEnumeration(), and lldb_private::OptionValueEnumeration::GetCurrentValue().
Referenced by lldb_private::OptionValueProperties::GetPropertyAtIndexAsEnumeration().
FileSpecList OptionValue::GetFileSpecListValue | ( | ) | const |
Definition at line 338 of file OptionValue.cpp.
References GetAsFileSpecList(), and lldb_private::OptionValueFileSpecList::GetCurrentValue().
FileSpec OptionValue::GetFileSpecValue | ( | ) | const |
Definition at line 322 of file OptionValue.cpp.
References GetAsFileSpec(), and lldb_private::OptionValueFileSpec::GetCurrentValue().
Referenced by lldb_private::OptionValueProperties::GetPropertyAtIndexAsFileSpec().
const FormatEntity::Entry * OptionValue::GetFormatEntity | ( | ) | const |
Definition at line 378 of file OptionValue.cpp.
References GetAsFormatEntity(), and lldb_private::OptionValueFormatEntity::GetCurrentValue().
Referenced by lldb_private::OptionValueProperties::GetPropertyAtIndexAsFormatEntity().
lldb::Format OptionValue::GetFormatValue | ( | lldb::Format | fail_value = lldb::eFormatDefault | ) | const |
Definition at line 345 of file OptionValue.cpp.
References GetAsFormat(), and lldb_private::OptionValueFormat::GetCurrentValue().
lldb::LanguageType OptionValue::GetLanguageValue | ( | lldb::LanguageType | fail_value = lldb::eLanguageTypeUnknown | ) | const |
Definition at line 362 of file OptionValue.cpp.
References GetAsLanguage(), and lldb_private::OptionValueLanguage::GetCurrentValue().
|
inlinevirtual |
Reimplemented in lldb_private::OptionValueProperties.
Definition at line 123 of file OptionValue.h.
Referenced by DumpQualifiedName().
|
inline |
Definition at line 322 of file OptionValue.h.
References m_parent_wp.
const RegularExpression * OptionValue::GetRegexValue | ( | ) | const |
Definition at line 385 of file OptionValue.cpp.
References GetAsRegex(), and lldb_private::OptionValueRegex::GetCurrentValue().
Referenced by lldb_private::OptionValueProperties::GetPropertyAtIndexAsOptionValueRegex().
int64_t OptionValue::GetSInt64Value | ( | int64_t | fail_value = 0 | ) | const |
Definition at line 392 of file OptionValue.cpp.
References GetAsSInt64(), and lldb_private::OptionValueSInt64::GetCurrentValue().
Referenced by lldb_private::OptionValueProperties::GetPropertyAtIndexAsSInt64().
|
inline |
Definition at line 302 of file OptionValue.h.
References GetStringValue().
Referenced by GetStringValue().
llvm::StringRef OptionValue::GetStringValue | ( | llvm::StringRef | fail_value | ) | const |
Definition at line 408 of file OptionValue.cpp.
References GetAsString(), and lldb_private::OptionValueString::GetCurrentValueAsRef().
Referenced by CommandObjectBreakpointNameConfigure::DoExecute(), CommandObjectMemoryFind::DoExecute(), and lldb_private::OptionValueProperties::GetPropertyAtIndexAsString().
|
inlinevirtual |
Reimplemented in lldb_private::OptionValueProperties, lldb_private::OptionValueArray, and lldb_private::OptionValueDictionary.
Definition at line 109 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(), GetUInt64Value(), and ValueIsTransparent().
|
inlinevirtual |
Definition at line 77 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 129 of file OptionValue.h.
References GetType().
uint64_t OptionValue::GetUInt64Value | ( | uint64_t | fail_value, |
bool * | success_ptr | ||
) |
Definition at line 20 of file OptionValue.cpp.
References eTypeBoolean, eTypeSInt64, eTypeUInt64, and GetType().
Referenced by CommandObjectBreakpointNameConfigure::DoExecute(), CommandObjectRegisterRead::DoExecute(), CommandObjectProcessKDPPacketSend::DoExecute(), and lldb_private::OptionValueProperties::GetPropertyAtIndexAsUInt64().
uint64_t OptionValue::GetUInt64Value | ( | uint64_t | fail_value = 0 | ) | const |
Definition at line 424 of file OptionValue.cpp.
References GetAsUInt64(), and lldb_private::OptionValueUInt64::GetCurrentValue().
UUID OptionValue::GetUUIDValue | ( | ) | const |
Definition at line 440 of file OptionValue.cpp.
References GetAsUUID(), and lldb_private::OptionValueUUID::GetCurrentValue().
|
inlinevirtual |
Reimplemented in lldb_private::OptionValueArray, lldb_private::OptionValueDictionary, lldb_private::OptionValueFileSpecList, and lldb_private::OptionValuePathMappings.
Definition at line 121 of file OptionValue.h.
|
inline |
Definition at line 328 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().
|
inline |
Definition at line 314 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(), CommandObjectSessionHistory::DoExecute(), CommandObjectTypeFormatterList< FormatterType >::DoExecute(), CommandObjectProcessKDPPacketSend::DoExecute(), and OptionGroupReadMemory::FinalizeSettings().
bool OptionValue::SetBooleanValue | ( | bool | new_value | ) |
Definition at line 281 of file OptionValue.cpp.
References GetAsBoolean(), and lldb_private::OptionValueBoolean::SetCurrentValue().
Referenced by lldb_private::OptionValueProperties::SetPropertyAtIndexAsBoolean().
char OptionValue::SetCharValue | ( | char | new_value | ) |
Definition at line 297 of file OptionValue.cpp.
References GetAsChar(), and lldb_private::OptionValueChar::SetCurrentValue().
bool OptionValue::SetEnumerationValue | ( | int64_t | value | ) |
Definition at line 313 of file OptionValue.cpp.
References GetAsEnumeration(), and lldb_private::OptionValueEnumeration::SetCurrentValue().
Referenced by lldb_private::OptionValueProperties::SetPropertyAtIndexAsEnumeration().
bool OptionValue::SetFileSpecValue | ( | const FileSpec & | file_spec | ) |
Definition at line 329 of file OptionValue.cpp.
References GetAsFileSpec(), and lldb_private::OptionValueFileSpec::SetCurrentValue().
Referenced by lldb_private::OptionValueProperties::SetPropertyAtIndexAsFileSpec().
bool OptionValue::SetFormatValue | ( | lldb::Format | new_value | ) |
Definition at line 352 of file OptionValue.cpp.
References GetAsFormat(), and lldb_private::OptionValueFormat::SetCurrentValue().
bool OptionValue::SetLanguageValue | ( | lldb::LanguageType | new_language | ) |
Definition at line 369 of file OptionValue.cpp.
References GetAsLanguage(), and lldb_private::OptionValueLanguage::SetCurrentValue().
Referenced by lldb_private::OptionValueProperties::SetPropertyAtIndexAsLanguage().
|
inline |
Definition at line 316 of file OptionValue.h.
References m_value_was_set.
Referenced by CommandObjectSessionHistory::CommandOptions::SetOptionValue(), CommandObjectTargetModulesDumpSymtab::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 318 of file OptionValue.h.
References m_parent_wp.
bool OptionValue::SetSInt64Value | ( | int64_t | new_value | ) |
Definition at line 399 of file OptionValue.cpp.
References GetAsSInt64(), and lldb_private::OptionValueSInt64::SetCurrentValue().
Referenced by lldb_private::OptionValueProperties::SetPropertyAtIndexAsSInt64().
bool OptionValue::SetStringValue | ( | llvm::StringRef | new_value | ) |
Definition at line 415 of file OptionValue.cpp.
References GetAsString(), and lldb_private::OptionValueString::SetCurrentValue().
Referenced by lldb_private::OptionValueProperties::SetPropertyAtIndexAsString().
|
virtual |
Reimplemented in lldb_private::OptionValueDictionary, and lldb_private::OptionValueProperties.
Definition at line 38 of file OptionValue.cpp.
References error().
bool OptionValue::SetUInt64Value | ( | uint64_t | new_value | ) |
Definition at line 431 of file OptionValue.cpp.
References GetAsUInt64(), and lldb_private::OptionValueUInt64::SetCurrentValue().
Referenced by lldb_private::OptionValueProperties::SetPropertyAtIndexAsUInt64().
bool OptionValue::SetUUIDValue | ( | const UUID & | uuid | ) |
Definition at line 447 of file OptionValue.cpp.
References GetAsUUID(), and lldb_private::OptionValueUUID::SetCurrentValue().
|
inline |
Definition at line 324 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 579 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 88 of file OptionValue.h.
Referenced by lldb_private::OptionValueProperties::ToJSON().
|
inlinevirtual |
Definition at line 73 of file OptionValue.h.
References eTypeProperties, and GetType().
Referenced by lldb_private::OptionValueProperties::DumpValue().
|
protected |
Definition at line 341 of file OptionValue.h.
Referenced by NotifyValueChanged(), and SetValueChangedCallback().
|
protected |
Definition at line 340 of file OptionValue.h.
Referenced by DumpQualifiedName(), GetParent(), and SetParent().
|
protected |
Definition at line 342 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(), 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().