33 Stream &strm, uint32_t dump_mask) {
60 if (value.size() > 0) {
71 llvm::StringRef last_piece;
72 llvm::StringRef left_of_last_piece;
74 std::tie(left_of_last_piece, last_piece) = value.rsplit(
':');
75 if (last_piece.empty()) {
77 "Line specifier must include file and "
88 llvm::StringRef file_name;
89 llvm::StringRef middle_piece;
91 std::tie(file_name, middle_piece) = left_of_last_piece.rsplit(
':');
92 if (middle_piece.empty() ||
97 file_name = left_of_last_piece;
100 "Bad line number value '%s' in: '%s'", last_piece.str().c_str(),
101 value.str().c_str());
109 "Bad column value '%s' in: '%s'", last_piece.str().c_str(),
110 value.str().c_str());
static llvm::raw_ostream & error(Stream &strm)
static bool InvokeCommonCompletionCallbacks(CommandInterpreter &interpreter, uint32_t completion_mask, lldb_private::CompletionRequest &request, SearchFilter *searcher)
"lldb/Utility/ArgCompletionRequest.h"
"lldb/Target/ExecutionContext.h" A class that contains an execution context.
void SetFile(llvm::StringRef path, Style style)
Change the file specified with a new path.
size_t GetPath(char *path, size_t max_path_length, bool denormalize=true) const
Extract the full path to the file.
void DumpValue(const ExecutionContext *exe_ctx, Stream &strm, uint32_t dump_mask) override
void AutoComplete(CommandInterpreter &interpreter, CompletionRequest &request) override
Status SetValueFromString(llvm::StringRef value, VarSetOperationType op=eVarSetOperationAssign) override
uint32_t m_completion_mask
OptionValueFileColonLine()
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
static Status FromErrorString(const char *str)
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.
#define LLDB_INVALID_LINE_NUMBER
#define LLDB_INVALID_COLUMN_NUMBER
A class that represents a running process on the host machine.
VarSetOperationType
Settable state variable types.
@ eVarSetOperationReplace
@ eVarSetOperationInvalid
@ eVarSetOperationInsertBefore
@ eVarSetOperationInsertAfter