LLDB mainline
|
#include <OptionGroupFormat.h>
Static Public Attributes | |
static const uint32_t | OPTION_GROUP_FORMAT = LLDB_OPT_SET_1 |
static const uint32_t | OPTION_GROUP_GDB_FMT = LLDB_OPT_SET_2 |
static const uint32_t | OPTION_GROUP_SIZE = LLDB_OPT_SET_3 |
static const uint32_t | OPTION_GROUP_COUNT = LLDB_OPT_SET_4 |
Protected Member Functions | |
bool | ParserGDBFormatLetter (ExecutionContext *execution_context, char format_letter, lldb::Format &format, uint32_t &byte_size) |
Protected Attributes | |
OptionValueFormat | m_format |
OptionValueUInt64 | m_byte_size |
OptionValueUInt64 | m_count |
char | m_prev_gdb_format |
char | m_prev_gdb_size |
bool | m_has_gdb_format |
OptionDefinition | m_option_definitions [4] |
Definition at line 24 of file OptionGroupFormat.h.
OptionGroupFormat::OptionGroupFormat | ( | lldb::Format | default_format, |
uint64_t | default_byte_size = UINT64_MAX, | ||
uint64_t | default_count = UINT64_MAX, | ||
OptionGroupFormatUsageTextVector | usage_text_vector = {} ) |
Definition at line 34 of file OptionGroupFormat.cpp.
References lldb::eArgTypeByteSize, lldb::eArgTypeFormat, g_default_option_definitions, m_byte_size, m_count, m_format, m_has_gdb_format, m_option_definitions, m_prev_gdb_format, and m_prev_gdb_size.
|
overridedefault |
|
inline |
Definition at line 66 of file OptionGroupFormat.h.
References m_byte_size, m_count, and m_format.
|
inline |
Definition at line 56 of file OptionGroupFormat.h.
References m_byte_size.
Referenced by OptionGroupReadMemory::FinalizeSettings().
|
inline |
Definition at line 58 of file OptionGroupFormat.h.
References m_byte_size.
|
inline |
Definition at line 60 of file OptionGroupFormat.h.
References m_count.
Referenced by OptionGroupReadMemory::FinalizeSettings().
|
inline |
Definition at line 62 of file OptionGroupFormat.h.
References m_count.
|
overridevirtual |
Implements lldb_private::OptionGroup.
Definition at line 60 of file OptionGroupFormat.cpp.
References m_byte_size, m_count, m_option_definitions, and UINT64_MAX.
|
inline |
Definition at line 50 of file OptionGroupFormat.h.
References m_format.
Referenced by OptionGroupReadMemory::FinalizeSettings().
|
inline |
Definition at line 52 of file OptionGroupFormat.h.
References m_format.
|
inline |
Definition at line 54 of file OptionGroupFormat.h.
References m_format.
|
inline |
Definition at line 64 of file OptionGroupFormat.h.
References m_has_gdb_format.
|
overridevirtual |
Implements lldb_private::OptionGroup.
Definition at line 278 of file OptionGroupFormat.cpp.
References m_byte_size, m_count, m_format, and m_has_gdb_format.
|
protected |
Definition at line 186 of file OptionGroupFormat.cpp.
References lldb::eFormatAddressInfo, lldb::eFormatBinary, lldb::eFormatChar, lldb::eFormatCString, lldb::eFormatDecimal, lldb::eFormatFloat, lldb::eFormatHex, lldb::eFormatHexFloat, lldb::eFormatInstruction, lldb::eFormatOctal, lldb::eFormatOSType, lldb::eFormatUnsigned, lldb_private::ExecutionContext::GetTargetSP(), m_has_gdb_format, m_prev_gdb_format, and m_prev_gdb_size.
Referenced by SetOptionValue().
|
overridevirtual |
Implements lldb_private::OptionGroup.
Definition at line 71 of file OptionGroupFormat.cpp.
References lldb::eFormatAddressInfo, lldb::eFormatDefault, lldb::eFormatInvalid, error(), lldb_private::Status::FromErrorString(), lldb_private::Status::FromErrorStringWithFormat(), m_byte_size, m_count, m_format, m_option_definitions, m_prev_gdb_format, m_prev_gdb_size, ParserGDBFormatLetter(), and UINT64_MAX.
|
protected |
Definition at line 77 of file OptionGroupFormat.h.
Referenced by AnyOptionWasSet(), GetByteSizeValue(), GetByteSizeValue(), GetDefinitions(), OptionGroupFormat(), OptionParsingStarting(), and SetOptionValue().
|
protected |
Definition at line 78 of file OptionGroupFormat.h.
Referenced by AnyOptionWasSet(), GetCountValue(), GetCountValue(), GetDefinitions(), OptionGroupFormat(), OptionParsingStarting(), and SetOptionValue().
|
protected |
Definition at line 76 of file OptionGroupFormat.h.
Referenced by AnyOptionWasSet(), GetFormat(), GetFormatValue(), GetFormatValue(), OptionGroupFormat(), OptionParsingStarting(), and SetOptionValue().
|
protected |
Definition at line 81 of file OptionGroupFormat.h.
Referenced by HasGDBFormat(), OptionGroupFormat(), OptionParsingStarting(), and ParserGDBFormatLetter().
|
protected |
Definition at line 82 of file OptionGroupFormat.h.
Referenced by GetDefinitions(), OptionGroupFormat(), and SetOptionValue().
|
protected |
Definition at line 79 of file OptionGroupFormat.h.
Referenced by OptionGroupFormat(), ParserGDBFormatLetter(), and SetOptionValue().
|
protected |
Definition at line 80 of file OptionGroupFormat.h.
Referenced by OptionGroupFormat(), ParserGDBFormatLetter(), and SetOptionValue().
|
static |
Definition at line 29 of file OptionGroupFormat.h.
Referenced by CommandObjectMemoryRead::CommandObjectMemoryRead().
|
static |
Definition at line 26 of file OptionGroupFormat.h.
Referenced by lldb_private::CommandObjectDWIMPrint::CommandObjectDWIMPrint(), CommandObjectMemoryRead::CommandObjectMemoryRead(), CommandObjectTargetVariable::CommandObjectTargetVariable(), CommandObjectTypeFormatAdd::DoExecute(), CommandObjectFrameVariable::GetOptions(), and lldb_private::CommandObjectExpression::HandleCompletion().
|
static |
Definition at line 27 of file OptionGroupFormat.h.
Referenced by lldb_private::CommandObjectDWIMPrint::CommandObjectDWIMPrint(), CommandObjectMemoryRead::CommandObjectMemoryRead(), CommandObjectTargetVariable::CommandObjectTargetVariable(), CommandObjectFrameVariable::GetOptions(), and lldb_private::CommandObjectExpression::HandleCompletion().
|
static |
Definition at line 28 of file OptionGroupFormat.h.
Referenced by CommandObjectMemoryRead::CommandObjectMemoryRead().