Go to the documentation of this file.
29 TypeSummaryOptions::TypeSummaryOptions() =
default;
49 : m_flags(flags), m_kind(kind) {}
52 const char *format_cstr)
59 if (format_cstr && format_cstr[0]) {
71 retval.assign(
"NULL ValueObject");
94 retval.assign(
"error: summary string parsing error");
106 Cascades() ?
"" :
" (not cascading)",
112 HideNames(
nullptr) ?
" (hide member names)" :
"");
119 m_description(description ? description :
"") {}
134 sstr.
Printf(
"%s%s%s%s%s%s%s %s",
Cascades() ?
"" :
" (not cascading)",
140 HideNames(
nullptr) ?
" (hide member names)" :
"",
146 const char *function_name,
147 const char *python_script)
149 m_python_script(), m_script_function_sp() {
164 retval.assign(
"error: no target");
169 target_sp->GetDebugger().GetScriptInterpreter();
171 if (!script_interpreter) {
172 retval.assign(
"error: no ScriptInterpreter");
183 sstr.
Printf(
"%s%s%s%s%s%s%s\n ",
Cascades() ?
"" :
" (not cascading)",
189 HideNames(
nullptr) ?
" (hide member names)" :
"");
Address & GetBaseAddress()
Get accessor for the base address of the range.
LanguageType
Programming language type.
StackFrame * GetFramePtr() const
Returns a pointer to the frame object.
llvm::StringRef GetString() const
bool PrintChildrenOneLiner(bool hide_names)
virtual bool DoesPrintChildren(ValueObject *valobj) const
lldb::ValueObjectSP GetSP()
bool Fail() const
Test for error condition.
bool SkipsReferences() const
TypeSummaryCapping
Whether a summary should cap how much data it returns to users or not.
const ExecutionContextRef & GetExecutionContextRef() const
string(SUBSTRING ${p} 10 -1 pStripped) if($
virtual bool GetScriptedSummary(const char *function_name, lldb::ValueObjectSP valobj, StructuredData::ObjectSP &callee_wrapper_sp, const TypeSummaryOptions &options, std::string &retval)
virtual bool DoesPrintValue(ValueObject *valobj) const
AddressRange range
The section offset address range for this line entry.
size_t Printf(const char *format,...) __attribute__((format(printf
Output printf formatted output to the stream.
A class that represents a running process on the host machine.
bool SkipsPointers() const
void Clear()
Clear the object state.
lldb::TargetSP GetTargetSP() const
size_t PutCString(llvm::StringRef cstr)
Output a C string to the stream.
LineEntry line_entry
The LineEntry for a given query.
const SymbolContext & GetSymbolContext(lldb::SymbolContextItem resolve_scope)
Provide a SymbolContext for this StackFrame's current pc value.
virtual bool HideNames(ValueObject *valobj) const
const char * AsCString(const char *default_error_str="unknown error") const
Get the error string associated with the current error.