19 error = value_sp->SetValueFromString(value_str);
47 llvm::StringRef value_trimmed = value_ref.trim();
49 if (llvm::to_integer(value_trimmed, value)) {
56 "%" PRIu64
" is out of range, valid values must be between %" PRIu64
62 "invalid uint64_t string value: '%s'", value_ref.str().c_str());
static llvm::raw_ostream & error(Stream &strm)
"lldb/Target/ExecutionContext.h" A class that contains an execution context.
OptionValueUInt64()=default
static lldb::OptionValueSP Create(llvm::StringRef value_str, Status &error)
Status SetValueFromString(llvm::StringRef value, VarSetOperationType op=eVarSetOperationAssign) override
void DumpValue(const ExecutionContext *exe_ctx, Stream &strm, uint32_t dump_mask) override
virtual Status SetValueFromString(llvm::StringRef value, VarSetOperationType op=eVarSetOperationAssign)
void NotifyValueChanged()
virtual const char * GetTypeAsCString() const
static Status FromErrorStringWithFormat(const char *format,...) __attribute__((format(printf
A stream class that can stream formatted output to a file.
size_t Printf(const char *format,...) __attribute__((format(printf
Output printf formatted output to the stream.
size_t PutCString(llvm::StringRef cstr)
Output a C string to the stream.
A class that represents a running process on the host machine.
VarSetOperationType
Settable state variable types.
@ eVarSetOperationReplace
@ eVarSetOperationInvalid
@ eVarSetOperationInsertBefore
@ eVarSetOperationInsertAfter
std::shared_ptr< lldb_private::OptionValue > OptionValueSP