LLDB mainline
SBValue.h
Go to the documentation of this file.
1//===-- SBValue.h -----------------------------------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLDB_API_SBVALUE_H
10#define LLDB_API_SBVALUE_H
11
12#include "lldb/API/SBData.h"
13#include "lldb/API/SBDefines.h"
14#include "lldb/API/SBType.h"
15
16namespace lldb_private {
17class ValueImpl;
18class ValueLocker;
19namespace python {
20class SWIGBridge;
21}
22} // namespace lldb_private
23
24namespace lldb {
25
27public:
28 SBValue();
29
30 SBValue(const lldb::SBValue &rhs);
31
33
35
36 explicit operator bool() const;
37
38 bool IsValid();
39
40 void Clear();
41
43
45
46 const char *GetName();
47
48 const char *GetTypeName();
49
50 const char *GetDisplayTypeName();
51
52 size_t GetByteSize();
53
54 bool IsInScope();
55
57
58 void SetFormat(lldb::Format format);
59
60 const char *GetValue();
61
62 int64_t GetValueAsSigned(lldb::SBError &error, int64_t fail_value = 0);
63
64 uint64_t GetValueAsUnsigned(lldb::SBError &error, uint64_t fail_value = 0);
65
66 int64_t GetValueAsSigned(int64_t fail_value = 0);
67
68 uint64_t GetValueAsUnsigned(uint64_t fail_value = 0);
69
71
73
74 // If you call this on a newly created ValueObject, it will always return
75 // false.
76 bool GetValueDidChange();
77
78 const char *GetSummary();
79
80 const char *GetSummary(lldb::SBStream &stream,
82
83 const char *GetObjectDescription();
84
86
88
90
92
94
96
98
100
101 void SetPreferSyntheticValue(bool use_synthetic);
102
103 bool IsDynamic();
104
105 bool IsSynthetic();
106
108
110
111 const char *GetLocation();
112
113 LLDB_DEPRECATED_FIXME("Use the variant that takes an SBError &",
114 "SetValueFromCString(const char *, SBError &)")
115 bool SetValueFromCString(const char *value_str);
116
117 bool SetValueFromCString(const char *value_str, lldb::SBError &error);
118
120
122
124
126
127 lldb::SBValue GetChildAtIndex(uint32_t idx);
128
129 lldb::SBValue CreateChildAtOffset(const char *name, uint32_t offset,
130 lldb::SBType type);
131
132 LLDB_DEPRECATED("Use the expression evaluator to perform type casting")
133 lldb::SBValue Cast(lldb::SBType type);
134
135 lldb::SBValue CreateValueFromExpression(const char *name,
136 const char *expression);
137
138 lldb::SBValue CreateValueFromExpression(const char *name,
139 const char *expression,
140 SBExpressionOptions &options);
141
142 lldb::SBValue CreateValueFromAddress(const char *name, lldb::addr_t address,
143 lldb::SBType type);
144
145 // this has no address! GetAddress() and GetLoadAddress() as well as
146 // AddressOf() on the return of this call all return invalid
147 lldb::SBValue CreateValueFromData(const char *name, lldb::SBData data,
148 lldb::SBType type);
149 // Returned value has no address.
150 lldb::SBValue CreateBoolValue(const char *name, bool value);
151
152 /// Get a child value by index from a value.
153 ///
154 /// Structs, unions, classes, arrays and pointers have child
155 /// values that can be access by index.
156 ///
157 /// Structs and unions access child members using a zero based index
158 /// for each child member. For
159 ///
160 /// Classes reserve the first indexes for base classes that have
161 /// members (empty base classes are omitted), and all members of the
162 /// current class will then follow the base classes.
163 ///
164 /// For array and pointers the behavior of the function depends on the value
165 /// of the \a treat_as_array argument. If \b false, the function returns
166 /// members of the array as given by the array bounds. If the value is a
167 /// pointer to a simple type, the child at index zero is the only child
168 /// value available. If the pointer points to an aggregate type (an array,
169 /// class, union, etc.), then the pointee is transparently skipped and any
170 /// children are going to be the indexes of the child values within the
171 /// aggregate type. For example if we have a 'Point' type and we have a
172 /// SBValue that contains a pointer to a 'Point' type, then the child at
173 /// index zero will be the 'x' member, and the child at index 1 will be the
174 /// 'y' member (the child at index zero won't be a 'Point' instance). If \a
175 /// treat_as_array is \b true, pointer values will be used as a (C) array and
176 /// and the function will create 'synthetic' child values using positive or
177 /// negative indexes. In case of arrays, the function will return values
178 /// which are outside of the array bounds.
179 ///
180 /// If you actually need an SBValue that represents the type pointed
181 /// to by a SBValue for which GetType().IsPointeeType() returns true,
182 /// regardless of the pointee type, you can do that with SBValue::Dereference.
183 ///
184 /// \param[in] idx
185 /// The index of the child value to get
186 ///
187 /// \param[in] use_dynamic
188 /// An enumeration that specifies whether to get dynamic values,
189 /// and also if the target can be run to figure out the dynamic
190 /// type of the child value.
191 ///
192 /// \param[in] treat_as_array
193 /// If \b true, then allow child values to be created by index
194 /// for pointers and arrays for indexes that normally wouldn't
195 /// be allowed.
196 ///
197 /// \return
198 /// A new SBValue object that represents the child member value.
199 lldb::SBValue GetChildAtIndex(uint32_t idx,
200 lldb::DynamicValueType use_dynamic,
201 bool treat_as_array);
202
203 // Matches children of this object only and will match base classes and
204 // member names if this is a clang typed object.
205 uint32_t GetIndexOfChildWithName(const char *name);
206
207 // Matches child members of this object and child members of any base
208 // classes.
209 lldb::SBValue GetChildMemberWithName(const char *name);
210
211 // Matches child members of this object and child members of any base
212 // classes.
213 lldb::SBValue GetChildMemberWithName(const char *name,
214 lldb::DynamicValueType use_dynamic);
215
216 // Expands nested expressions like .a->b[0].c[1]->d
217 lldb::SBValue GetValueForExpressionPath(const char *expr_path);
218
220
222
224
225 /// Get an SBData wrapping what this SBValue points to.
226 ///
227 /// This method will dereference the current SBValue, if its
228 /// data type is a T* or T[], and extract item_count elements
229 /// of type T from it, copying their contents in an SBData.
230 ///
231 /// \param[in] item_idx
232 /// The index of the first item to retrieve. For an array
233 /// this is equivalent to array[item_idx], for a pointer
234 /// to *(pointer + item_idx). In either case, the measurement
235 /// unit for item_idx is the sizeof(T) rather than the byte
236 ///
237 /// \param[in] item_count
238 /// How many items should be copied into the output. By default
239 /// only one item is copied, but more can be asked for.
240 ///
241 /// \return
242 /// An SBData with the contents of the copied items, on success.
243 /// An empty SBData otherwise.
244 lldb::SBData GetPointeeData(uint32_t item_idx = 0, uint32_t item_count = 1);
245
246 /// Get an SBData wrapping the contents of this SBValue.
247 ///
248 /// This method will read the contents of this object in memory
249 /// and copy them into an SBData for future use.
250 ///
251 /// \return
252 /// An SBData with the contents of this SBValue, on success.
253 /// An empty SBData otherwise.
255
256 bool SetData(lldb::SBData &data, lldb::SBError &error);
257
258 /// Creates a copy of the SBValue with a new name and setting the current
259 /// SBValue as its parent. It should be used when we want to change the
260 /// name of a SBValue without modifying the actual SBValue itself
261 /// (e.g. sythetic child provider).
262 lldb::SBValue Clone(const char *new_name);
263
265
266 /// Find out if a SBValue might have children.
267 ///
268 /// This call is much more efficient than GetNumChildren() as it
269 /// doesn't need to complete the underlying type. This is designed
270 /// to be used in a UI environment in order to detect if the
271 /// disclosure triangle should be displayed or not.
272 ///
273 /// This function returns true for class, union, structure,
274 /// pointers, references, arrays and more. Again, it does so without
275 /// doing any expensive type completion.
276 ///
277 /// \return
278 /// Returns \b true if the SBValue might have children, or \b
279 /// false otherwise.
280 bool MightHaveChildren();
281
283
284 /// Return the number of children of this variable. Note that for some
285 /// variables this operation can be expensive. If possible, prefer calling
286 /// GetNumChildren(max) with the maximum number of children you are interested
287 /// in.
288 uint32_t GetNumChildren();
289
290 /// Return the numer of children of this variable, with a hint that the
291 /// caller is interested in at most \a max children. Use this function to
292 /// avoid expensive child computations in some cases. For example, if you know
293 /// you will only ever display 100 elements, calling GetNumChildren(100) can
294 /// avoid enumerating all the other children. If the returned value is smaller
295 /// than \a max, then it represents the true number of children, otherwise it
296 /// indicates that their number is at least \a max. Do not assume the returned
297 /// number will always be less than or equal to \a max, as the implementation
298 /// may choose to return a larger (but still smaller than the actual number of
299 /// children) value.
300 uint32_t GetNumChildren(uint32_t max);
301
302 LLDB_DEPRECATED("SBValue::GetOpaqueType() is deprecated.")
303 void *GetOpaqueType();
304
306
308
310
312
314
315 LLDB_DEPRECATED("Use GetType().IsPointerType() instead")
316 bool TypeIsPointerType();
317
319
321
322 bool GetDescription(lldb::SBStream &description);
323
324 bool GetDescription(lldb::SBStream &description,
325 lldb::DescriptionLevel description_level);
326
327 bool GetExpressionPath(lldb::SBStream &description);
328
329 bool GetExpressionPath(lldb::SBStream &description,
330 bool qualify_cxx_base_classes);
331
332 lldb::SBValue EvaluateExpression(const char *expr) const;
333 lldb::SBValue EvaluateExpression(const char *expr,
334 const SBExpressionOptions &options) const;
335 lldb::SBValue EvaluateExpression(const char *expr,
336 const SBExpressionOptions &options,
337 const char *name) const;
338
339 /// Watch this value if it resides in memory.
340 ///
341 /// Sets a watchpoint on the value.
342 ///
343 /// \param[in] resolve_location
344 /// Resolve the location of this value once and watch its address.
345 /// This value must currently be set to \b true as watching all
346 /// locations of a variable or a variable path is not yet supported,
347 /// though we plan to support it in the future.
348 ///
349 /// \param[in] read
350 /// Stop when this value is accessed.
351 ///
352 /// \param[in] write
353 /// Stop when this value is modified
354 ///
355 /// \param[out] error
356 /// An error object. Contains the reason if there is some failure.
357 ///
358 /// \return
359 /// An SBWatchpoint object. This object might not be valid upon
360 /// return due to a value not being contained in memory, too
361 /// large, or watchpoint resources are not available or all in
362 /// use.
363 lldb::SBWatchpoint Watch(bool resolve_location, bool read, bool write,
364 SBError &error);
365
366 // Backward compatibility fix in the interim.
367 lldb::SBWatchpoint Watch(bool resolve_location, bool read, bool write);
368
369 /// Watch this value that this value points to in memory
370 ///
371 /// Sets a watchpoint on the value.
372 ///
373 /// \param[in] resolve_location
374 /// Resolve the location of this value once and watch its address.
375 /// This value must currently be set to \b true as watching all
376 /// locations of a variable or a variable path is not yet supported,
377 /// though we plan to support it in the future.
378 ///
379 /// \param[in] read
380 /// Stop when this value is accessed.
381 ///
382 /// \param[in] write
383 /// Stop when this value is modified
384 ///
385 /// \param[out] error
386 /// An error object. Contains the reason if there is some failure.
387 ///
388 /// \return
389 /// An SBWatchpoint object. This object might not be valid upon
390 /// return due to a value not being contained in memory, too
391 /// large, or watchpoint resources are not available or all in
392 /// use.
393 lldb::SBWatchpoint WatchPointee(bool resolve_location, bool read, bool write,
394 SBError &error);
395
396 /// If this value represents a C++ class that has a vtable, return an value
397 /// that represents the virtual function table.
398 ///
399 /// SBValue::GetError() will be in the success state if this value represents
400 /// a C++ class with a vtable, or an appropriate error describing that the
401 /// object isn't a C++ class with a vtable or not a C++ class.
402 ///
403 /// SBValue::GetName() will be the demangled symbol name for the virtual
404 /// function table like "vtable for <classname>".
405 ///
406 /// SBValue::GetValue() will be the address of the first vtable entry if the
407 /// current SBValue is a class with a vtable, or nothing the current SBValue
408 /// is not a C++ class or not a C++ class that has a vtable.
409 ///
410 /// SBValue::GetValueAtUnsigned(...) will return the address of the first
411 /// vtable entry.
412 ///
413 /// SBValue::GetLoadAddress() will return the address of the vtable pointer
414 /// found in the parent SBValue.
415 ///
416 /// SBValue::GetNumChildren() will return the number of virtual function
417 /// pointers in the vtable, or zero on error.
418 ///
419 /// SBValue::GetChildAtIndex(...) will return each virtual function pointer
420 /// as a SBValue object.
421 ///
422 /// The child SBValue objects will have the following values:
423 ///
424 /// SBValue::GetError() will indicate success if the vtable entry was
425 /// successfully read from memory, or an error if not.
426 ///
427 /// SBValue::GetName() will be the vtable function index in the form "[%u]"
428 /// where %u is the index.
429 ///
430 /// SBValue::GetValue() will be the virtual function pointer value as a
431 /// string.
432 ///
433 /// SBValue::GetValueAtUnsigned(...) will return the virtual function
434 /// pointer value.
435 ///
436 /// SBValue::GetLoadAddress() will return the address of the virtual function
437 /// pointer.
438 ///
439 /// SBValue::GetNumChildren() returns 0
441
442protected:
443 friend class SBBlock;
445 friend class SBFrame;
446 friend class SBModule;
447 friend class SBTarget;
448 friend class SBThread;
449 friend class SBType;
450 friend class SBTypeStaticField;
451 friend class SBTypeSummary;
452 friend class SBValueList;
453
454 friend class lldb_private::python::SWIGBridge;
455
456 SBValue(const lldb::ValueObjectSP &value_sp);
457
458 /// Same as the protected version of GetSP that takes a locker, except that we
459 /// make the
460 /// locker locally in the function. Since the Target API mutex is recursive,
461 /// and the
462 /// StopLocker is a read lock, you can call this function even if you are
463 /// already
464 /// holding the two above-mentioned locks.
465 ///
466 /// \return
467 /// A ValueObjectSP of the best kind (static, dynamic or synthetic) we
468 /// can cons up, in accordance with the SBValue's settings.
469 lldb::ValueObjectSP GetSP() const;
470
471 /// Get the appropriate ValueObjectSP from this SBValue, consulting the
472 /// use_dynamic and use_synthetic options passed in to SetSP when the
473 /// SBValue's contents were set. Since this often requires examining memory,
474 /// and maybe even running code, it needs to acquire the Target API and
475 /// Process StopLock.
476 /// Those are held in an opaque class ValueLocker which is currently local to
477 /// SBValue.cpp.
478 /// So you don't have to get these yourself just default construct a
479 /// ValueLocker, and pass it into this.
480 /// If we need to make a ValueLocker and use it in some other .cpp file, we'll
481 /// have to move it to
482 /// ValueObject.h/cpp or somewhere else convenient. We haven't needed to so
483 /// far.
484 ///
485 /// \param[in] value_locker
486 /// An object that will hold the Target API, and Process RunLocks, and
487 /// auto-destroy them when it goes out of scope. Currently this is only
488 /// useful in
489 /// SBValue.cpp.
490 ///
491 /// \return
492 /// A ValueObjectSP of the best kind (static, dynamic or synthetic) we
493 /// can cons up, in accordance with the SBValue's settings.
494 lldb::ValueObjectSP GetSP(lldb_private::ValueLocker &value_locker) const;
495
496 // these calls do the right thing WRT adjusting their settings according to
497 // the target's preferences
498 void SetSP(const lldb::ValueObjectSP &sp);
499
500 void SetSP(const lldb::ValueObjectSP &sp, bool use_synthetic);
501
502 void SetSP(const lldb::ValueObjectSP &sp, lldb::DynamicValueType use_dynamic);
503
504 void SetSP(const lldb::ValueObjectSP &sp, lldb::DynamicValueType use_dynamic,
505 bool use_synthetic);
506
507 void SetSP(const lldb::ValueObjectSP &sp, lldb::DynamicValueType use_dynamic,
508 bool use_synthetic, const char *name);
509
510protected:
512
513private:
514 typedef std::shared_ptr<lldb_private::ValueImpl> ValueImplSP;
516
517 void SetSP(ValueImplSP impl_sp);
518};
519
520} // namespace lldb
521
522#endif // LLDB_API_SBVALUE_H
static llvm::raw_ostream & error(Stream &strm)
#define LLDB_API
Definition SBDefines.h:28
static llvm::StringRef GetName(XcodeSDK::Type type)
Definition XcodeSDK.cpp:21
lldb::addr_t GetValueAsAddress()
Definition SBValue.cpp:815
LLDB_DEPRECATED_FIXME("Use the variant that takes an SBError &", "SetValueFromCString(const char *, SBError &)") bool SetValueFromCString(const char *value_str)
bool IsInScope()
Definition SBValue.cpp:173
bool SetData(lldb::SBData &data, lldb::SBError &error)
Definition SBValue.cpp:1290
bool GetDescription(lldb::SBStream &description)
Definition SBValue.cpp:1128
bool GetValueDidChange()
Definition SBValue.cpp:240
lldb::SBValue EvaluateExpression(const char *expr) const
Definition SBValue.cpp:1059
friend class SBValueList
Definition SBValue.h:452
lldb::SBValue GetChildAtIndex(uint32_t idx)
Definition SBValue.cpp:518
lldb::SBTypeFilter GetTypeFilter()
Definition SBValue.cpp:345
lldb::SBAddress GetAddress()
Definition SBValue.cpp:1227
lldb::SBData GetPointeeData(uint32_t item_idx=0, uint32_t item_count=1)
Get an SBData wrapping what this SBValue points to.
Definition SBValue.cpp:1254
const char * GetTypeName()
Definition SBValue.cpp:137
bool GetExpressionPath(lldb::SBStream &description)
Definition SBValue.cpp:1034
LLDB_DEPRECATED("Use GetType().IsPointerType() instead") bool TypeIsPointerType()
friend class lldb_private::python::SWIGBridge
Definition SBValue.h:454
friend class SBCommandReturnObject
Definition SBValue.h:444
SBError GetError()
Definition SBValue.cpp:100
lldb::SBValue CreateValueFromData(const char *name, lldb::SBData data, lldb::SBType type)
Definition SBValue.cpp:466
lldb::SBValue Persist()
Definition SBValue.cpp:1439
friend class SBTypeSummary
Definition SBValue.h:451
void SetSP(const lldb::ValueObjectSP &sp)
Definition SBValue.cpp:982
lldb::SBValue CreateValueFromAddress(const char *name, lldb::addr_t address, lldb::SBType type)
Definition SBValue.cpp:446
const char * GetDisplayTypeName()
Definition SBValue.cpp:148
lldb::SBValue CreateValueFromExpression(const char *name, const char *expression)
Definition SBValue.cpp:417
lldb::SBData GetData()
Get an SBData wrapping the contents of this SBValue.
Definition SBValue.cpp:1273
lldb::SBValue Clone(const char *new_name)
Creates a copy of the SBValue with a new name and setting the current SBValue as its parent.
Definition SBValue.cpp:1324
void SetSyntheticChildrenGenerated(bool)
Definition SBValue.cpp:727
void Clear()
Definition SBValue.cpp:94
lldb::SBProcess GetProcess()
Definition SBValue.cpp:921
const char * GetLocation()
Definition SBValue.cpp:279
lldb::SBValue CreateBoolValue(const char *name, bool value)
Definition SBValue.cpp:485
bool IsSynthetic()
Definition SBValue.cpp:707
friend class SBTarget
Definition SBValue.h:447
size_t GetByteSize()
Definition SBValue.cpp:159
friend class SBModule
Definition SBValue.h:446
lldb::SBValue & operator=(const lldb::SBValue &rhs)
Definition SBValue.cpp:69
int64_t GetValueAsSigned(lldb::SBError &error, int64_t fail_value=0)
Definition SBValue.cpp:753
lldb::SBWatchpoint WatchPointee(bool resolve_location, bool read, bool write, SBError &error)
Watch this value that this value points to in memory.
Definition SBValue.cpp:1429
friend class SBTypeStaticField
Definition SBValue.h:450
lldb::SBWatchpoint Watch(bool resolve_location, bool read, bool write, SBError &error)
Watch this value if it resides in memory.
Definition SBValue.cpp:1350
lldb::SBTypeFormat GetTypeFormat()
Definition SBValue.cpp:313
lldb::user_id_t GetID()
Definition SBValue.cpp:116
lldb::SBFrame GetFrame()
Definition SBValue.cpp:947
const char * GetValue()
Definition SBValue.cpp:187
bool MightHaveChildren()
Find out if a SBValue might have children.
Definition SBValue.cpp:834
lldb::SBTypeSummary GetTypeSummary()
Definition SBValue.cpp:329
lldb::SBValue GetDynamicValue(lldb::DynamicValueType use_dynamic)
Definition SBValue.cpp:615
bool IsDynamic()
Definition SBValue.cpp:697
bool IsSyntheticChildrenGenerated()
Definition SBValue.cpp:717
lldb::SBValue GetSyntheticValue()
Definition SBValue.cpp:652
lldb::SBValue CreateChildAtOffset(const char *name, uint32_t offset, lldb::SBType type)
Definition SBValue.cpp:385
lldb::SBValue Dereference()
Definition SBValue.cpp:877
lldb::SBValue GetStaticValue()
Definition SBValue.cpp:627
lldb::SBValue Cast(lldb::SBType type)
Definition SBValue.cpp:404
friend class SBThread
Definition SBValue.h:448
lldb::SBValue GetNonSyntheticValue()
Definition SBValue.cpp:640
bool GetPreferSyntheticValue()
Definition SBValue.cpp:682
uint32_t GetIndexOfChildWithName(const char *name)
Definition SBValue.cpp:555
friend class SBBlock
Definition SBValue.h:443
lldb::SBValue GetVTable()
If this value represents a C++ class that has a vtable, return an value that represents the virtual f...
Definition SBValue.cpp:1451
const char * GetObjectDescription()
Definition SBValue.cpp:209
const char * GetSummary()
Definition SBValue.cpp:254
friend class lldb_private::ScriptInterpreter
Definition SBValue.h:511
lldb::ValueObjectSP GetSP() const
Same as the protected version of GetSP that takes a locker, except that we make the locker locally in...
Definition SBValue.cpp:973
lldb::SBTypeSynthetic GetTypeSynthetic()
Definition SBValue.cpp:365
void SetFormat(lldb::Format format)
Definition SBValue.cpp:1191
lldb::SBValue AddressOf()
Definition SBValue.cpp:1200
friend class SBFrame
Definition SBValue.h:445
bool SetValueFromCString(const char *value_str, lldb::SBError &error)
Definition SBValue.cpp:291
lldb::DynamicValueType GetPreferDynamicValue()
Definition SBValue.cpp:667
std::shared_ptr< lldb_private::ValueImpl > ValueImplSP
Definition SBValue.h:514
lldb::SBThread GetThread()
Definition SBValue.cpp:934
ValueImplSP m_opaque_sp
Definition SBValue.h:515
lldb::SBValue GetChildMemberWithName(const char *name)
Definition SBValue.cpp:569
lldb::SBTarget GetTarget()
Definition SBValue.cpp:908
uint64_t GetValueAsUnsigned(lldb::SBError &error, uint64_t fail_value=0)
Definition SBValue.cpp:773
uint32_t GetNumChildren()
Return the number of children of this variable.
Definition SBValue.cpp:858
void SetPreferDynamicValue(lldb::DynamicValueType use_dynamic)
Definition SBValue.cpp:675
ValueType GetValueType()
Definition SBValue.cpp:197
void * GetOpaqueType()
Definition SBValue.cpp:898
friend class SBType
Definition SBValue.h:449
bool IsValid()
Definition SBValue.cpp:80
lldb::SBValue GetValueForExpressionPath(const char *expr_path)
Definition SBValue.cpp:736
lldb::addr_t GetLoadAddress()
Definition SBValue.cpp:1215
lldb::SBType GetType()
Definition SBValue.cpp:225
lldb::SBValue GetParent()
Definition SBValue.cpp:601
void SetPreferSyntheticValue(bool use_synthetic)
Definition SBValue.cpp:690
lldb::SBDeclaration GetDeclaration()
Definition SBValue.cpp:1336
lldb::Format GetFormat()
Definition SBValue.cpp:1181
bool IsRuntimeSupportValue()
Definition SBValue.cpp:846
A class that represents a running process on the host machine.
DescriptionLevel
Description levels for "void GetDescription(Stream *, DescriptionLevel)" calls.
std::shared_ptr< lldb_private::ValueObject > ValueObjectSP
Format
Display format definitions.
uint64_t user_id_t
Definition lldb-types.h:82
uint64_t addr_t
Definition lldb-types.h:80