9#ifndef LLDB_API_SBVALUE_H
10#define LLDB_API_SBVALUE_H
37 explicit operator bool()
const;
49 const char *GetTypeName();
51 const char *GetDisplayTypeName();
61 const char *GetValue();
67 int64_t GetValueAsSigned(int64_t fail_value = 0);
69 uint64_t GetValueAsUnsigned(uint64_t fail_value = 0);
77 bool GetValueDidChange();
79 const char *GetSummary();
84 const char *GetObjectDescription();
98 bool GetPreferSyntheticValue();
100 void SetPreferSyntheticValue(
bool use_synthetic);
106 bool IsSyntheticChildrenGenerated();
108 void SetSyntheticChildrenGenerated(
bool);
110 const char *GetLocation();
113 "SetValueFromCString(const char *, SBError &)")
114 bool SetValueFromCString(const
char *value_str);
128 lldb::
SBValue CreateChildAtOffset(const
char *name, uint32_t offset,
131 LLDB_DEPRECATED("Use the expression evaluator to perform type casting")
134 lldb::
SBValue CreateValueFromExpression(const
char *name,
135 const
char *expression);
137 lldb::
SBValue CreateValueFromExpression(const
char *name,
138 const
char *expression,
149 lldb::
SBValue CreateBoolValue(const
char *name,
bool value);
205 bool can_create_synthetic);
209 uint32_t GetIndexOfChildWithName(const
char *name);
213 lldb::
SBValue GetChildMemberWithName(const
char *name);
217 lldb::
SBValue GetChildMemberWithName(const
char *name,
221 lldb::
SBValue GetValueForExpressionPath(const
char *expr_path);
248 lldb::
SBData GetPointeeData(uint32_t item_idx = 0, uint32_t item_count = 1);
284 bool MightHaveChildren();
286 bool IsRuntimeSupportValue();
292 uint32_t GetNumChildren();
304 uint32_t GetNumChildren(uint32_t max);
307 void *GetOpaqueType();
320 bool TypeIsPointerType();
331 bool qualify_cxx_base_classes);
333 lldb::
SBValue EvaluateExpression(const
char *expr) const;
338 const
char *name) const;
394 lldb::
SBWatchpoint WatchPointee(
bool resolve_location,
bool read,
bool write,
507 bool use_synthetic, const
char *name);
static llvm::raw_ostream & error(Stream &strm)
#define LLDB_DEPRECATED(MSG)
static llvm::StringRef GetName(XcodeSDK::Type type)
LLDB_DEPRECATED_FIXME("Use the variant that takes an SBError &", "SetValueFromCString(const char *, SBError &)") bool SetValueFromCString(const char *value_str)
std::shared_ptr< ValueImpl > ValueImplSP
A class that represents a running process on the host machine.
std::shared_ptr< lldb_private::ValueObject > ValueObjectSP
Format
Display format definitions.