#include "lldb/Interpreter/OptionArgParser.h"
#include "lldb/DataFormatters/FormatManager.h"
#include "lldb/Target/ABI.h"
#include "lldb/Target/RegisterContext.h"
#include "lldb/Target/Target.h"
#include "lldb/Utility/RegisterValue.h"
#include "lldb/Utility/Status.h"
#include "lldb/Utility/StreamString.h"
usingnamespacelldb_private;
usingnamespacelldb;
bool OptionArgParser::ToBoolean(llvm::StringRef ref, bool fail_value,
bool *success_ptr) { … }
llvm::Expected<bool> OptionArgParser::ToBoolean(llvm::StringRef option_name,
llvm::StringRef option_arg) { … }
char OptionArgParser::ToChar(llvm::StringRef s, char fail_value,
bool *success_ptr) { … }
int64_t OptionArgParser::ToOptionEnum(llvm::StringRef s,
const OptionEnumValues &enum_values,
int32_t fail_value, Status &error) { … }
Status OptionArgParser::ToFormat(const char *s, lldb::Format &format,
size_t *byte_size_ptr) { … }
lldb::ScriptLanguage OptionArgParser::ToScriptLanguage(
llvm::StringRef s, lldb::ScriptLanguage fail_value, bool *success_ptr) { … }
lldb::addr_t OptionArgParser::ToRawAddress(const ExecutionContext *exe_ctx,
llvm::StringRef s,
lldb::addr_t fail_value,
Status *error_ptr) { … }
lldb::addr_t OptionArgParser::ToAddress(const ExecutionContext *exe_ctx,
llvm::StringRef s,
lldb::addr_t fail_value,
Status *error_ptr) { … }
std::optional<lldb::addr_t>
OptionArgParser::DoToAddress(const ExecutionContext *exe_ctx, llvm::StringRef s,
Status *error_ptr) { … }