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);
75 bool GetValueDidChange();
77 const char *GetSummary();
82 const char *GetObjectDescription();
94 bool GetPreferSyntheticValue();
96 void SetPreferSyntheticValue(
bool use_synthetic);
102 bool IsSyntheticChildrenGenerated();
104 void SetSyntheticChildrenGenerated(
bool);
106 const char *GetLocation();
109 "SetValueFromCString(const char *, SBError &)")
110 bool SetValueFromCString(const
char *value_str);
124 lldb::
SBValue CreateChildAtOffset(const
char *name, uint32_t offset,
127 LLDB_DEPRECATED("Use the expression evaluator to perform type casting")
130 lldb::
SBValue CreateValueFromExpression(const
char *name,
131 const
char *expression);
133 lldb::
SBValue CreateValueFromExpression(const
char *name,
134 const
char *expression,
199 bool can_create_synthetic);
203 uint32_t GetIndexOfChildWithName(const
char *name);
207 lldb::
SBValue GetChildMemberWithName(const
char *name);
211 lldb::
SBValue GetChildMemberWithName(const
char *name,
215 lldb::
SBValue GetValueForExpressionPath(const
char *expr_path);
242 lldb::
SBData GetPointeeData(uint32_t item_idx = 0, uint32_t item_count = 1);
278 bool MightHaveChildren();
280 bool IsRuntimeSupportValue();
282 uint32_t GetNumChildren();
284 uint32_t GetNumChildren(uint32_t max);
287 void *GetOpaqueType();
300 bool TypeIsPointerType();
311 bool qualify_cxx_base_classes);
313 lldb::
SBValue EvaluateExpression(const
char *expr) const;
318 const
char *name) const;
374 lldb::
SBWatchpoint WatchPointee(
bool resolve_location,
bool read,
bool write,
440 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.