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
99 void SetPreferSyntheticValue(bool use_synthetic);
100
101 bool IsDynamic();
102
103 bool IsSynthetic();
104
106
108
109 const char *GetLocation();
110
111 LLDB_DEPRECATED_FIXME("Use the variant that takes an SBError &",
112 "SetValueFromCString(const char *, SBError &)")
113 bool SetValueFromCString(const char *value_str);
114
115 bool SetValueFromCString(const char *value_str, lldb::SBError &error);
116
118
120
122
124
125 lldb::SBValue GetChildAtIndex(uint32_t idx);
126
127 lldb::SBValue CreateChildAtOffset(const char *name, uint32_t offset,
128 lldb::SBType type);
129
130 LLDB_DEPRECATED("Use the expression evaluator to perform type casting")
131 lldb::SBValue Cast(lldb::SBType type);
132
133 lldb::SBValue CreateValueFromExpression(const char *name,
134 const char *expression);
135
136 lldb::SBValue CreateValueFromExpression(const char *name,
137 const char *expression,
138 SBExpressionOptions &options);
139
140 lldb::SBValue CreateValueFromAddress(const char *name, lldb::addr_t address,
141 lldb::SBType type);
142
143 // this has no address! GetAddress() and GetLoadAddress() as well as
144 // AddressOf() on the return of this call all return invalid
145 lldb::SBValue CreateValueFromData(const char *name, lldb::SBData data,
146 lldb::SBType type);
147 // Returned value has no address.
148 lldb::SBValue CreateBoolValue(const char *name, bool value);
149
150 /// Get a child value by index from a value.
151 ///
152 /// Structs, unions, classes, arrays and pointers have child
153 /// values that can be access by index.
154 ///
155 /// Structs and unions access child members using a zero based index
156 /// for each child member. For
157 ///
158 /// Classes reserve the first indexes for base classes that have
159 /// members (empty base classes are omitted), and all members of the
160 /// current class will then follow the base classes.
161 ///
162 /// For array and pointers the behavior of the function depends on the value
163 /// of the \a treat_as_array argument. If \b false, the function returns
164 /// members of the array as given by the array bounds. If the value is a
165 /// pointer to a simple type, the child at index zero is the only child
166 /// value available. If the pointer points to an aggregate type (an array,
167 /// class, union, etc.), then the pointee is transparently skipped and any
168 /// children are going to be the indexes of the child values within the
169 /// aggregate type. For example if we have a 'Point' type and we have a
170 /// SBValue that contains a pointer to a 'Point' type, then the child at
171 /// index zero will be the 'x' member, and the child at index 1 will be the
172 /// 'y' member (the child at index zero won't be a 'Point' instance). If \a
173 /// treat_as_array is \b true, pointer values will be used as a (C) array and
174 /// and the function will create 'synthetic' child values using positive or
175 /// negative indexes. In case of arrays, the function will return values
176 /// which are outside of the array bounds.
177 ///
178 /// If you actually need an SBValue that represents the type pointed
179 /// to by a SBValue for which GetType().IsPointeeType() returns true,
180 /// regardless of the pointee type, you can do that with SBValue::Dereference.
181 ///
182 /// \param[in] idx
183 /// The index of the child value to get
184 ///
185 /// \param[in] use_dynamic
186 /// An enumeration that specifies whether to get dynamic values,
187 /// and also if the target can be run to figure out the dynamic
188 /// type of the child value.
189 ///
190 /// \param[in] treat_as_array
191 /// If \b true, then allow child values to be created by index
192 /// for pointers and arrays for indexes that normally wouldn't
193 /// be allowed.
194 ///
195 /// \return
196 /// A new SBValue object that represents the child member value.
197 lldb::SBValue GetChildAtIndex(uint32_t idx,
198 lldb::DynamicValueType use_dynamic,
199 bool treat_as_array);
200
201 // Matches children of this object only and will match base classes and
202 // member names if this is a clang typed object.
203 uint32_t GetIndexOfChildWithName(const char *name);
204
205 // Matches child members of this object and child members of any base
206 // classes.
207 lldb::SBValue GetChildMemberWithName(const char *name);
208
209 // Matches child members of this object and child members of any base
210 // classes.
211 lldb::SBValue GetChildMemberWithName(const char *name,
212 lldb::DynamicValueType use_dynamic);
213
214 // Expands nested expressions like .a->b[0].c[1]->d
215 lldb::SBValue GetValueForExpressionPath(const char *expr_path);
216
218
220
222
223 /// Get an SBData wrapping what this SBValue points to.
224 ///
225 /// This method will dereference the current SBValue, if its
226 /// data type is a T* or T[], and extract item_count elements
227 /// of type T from it, copying their contents in an SBData.
228 ///
229 /// \param[in] item_idx
230 /// The index of the first item to retrieve. For an array
231 /// this is equivalent to array[item_idx], for a pointer
232 /// to *(pointer + item_idx). In either case, the measurement
233 /// unit for item_idx is the sizeof(T) rather than the byte
234 ///
235 /// \param[in] item_count
236 /// How many items should be copied into the output. By default
237 /// only one item is copied, but more can be asked for.
238 ///
239 /// \return
240 /// An SBData with the contents of the copied items, on success.
241 /// An empty SBData otherwise.
242 lldb::SBData GetPointeeData(uint32_t item_idx = 0, uint32_t item_count = 1);
243
244 /// Get an SBData wrapping the contents of this SBValue.
245 ///
246 /// This method will read the contents of this object in memory
247 /// and copy them into an SBData for future use.
248 ///
249 /// \return
250 /// An SBData with the contents of this SBValue, on success.
251 /// An empty SBData otherwise.
253
254 bool SetData(lldb::SBData &data, lldb::SBError &error);
255
256 /// Creates a copy of the SBValue with a new name and setting the current
257 /// SBValue as its parent. It should be used when we want to change the
258 /// name of a SBValue without modifying the actual SBValue itself
259 /// (e.g. sythetic child provider).
260 lldb::SBValue Clone(const char *new_name);
261
263
264 /// Find out if a SBValue might have children.
265 ///
266 /// This call is much more efficient than GetNumChildren() as it
267 /// doesn't need to complete the underlying type. This is designed
268 /// to be used in a UI environment in order to detect if the
269 /// disclosure triangle should be displayed or not.
270 ///
271 /// This function returns true for class, union, structure,
272 /// pointers, references, arrays and more. Again, it does so without
273 /// doing any expensive type completion.
274 ///
275 /// \return
276 /// Returns \b true if the SBValue might have children, or \b
277 /// false otherwise.
278 bool MightHaveChildren();
279
281
282 /// Return the number of children of this variable. Note that for some
283 /// variables this operation can be expensive. If possible, prefer calling
284 /// GetNumChildren(max) with the maximum number of children you are interested
285 /// in.
286 uint32_t GetNumChildren();
287
288 /// Return the numer of children of this variable, with a hint that the
289 /// caller is interested in at most \a max children. Use this function to
290 /// avoid expensive child computations in some cases. For example, if you know
291 /// you will only ever display 100 elements, calling GetNumChildren(100) can
292 /// avoid enumerating all the other children. If the returned value is smaller
293 /// than \a max, then it represents the true number of children, otherwise it
294 /// indicates that their number is at least \a max. Do not assume the returned
295 /// number will always be less than or equal to \a max, as the implementation
296 /// may choose to return a larger (but still smaller than the actual number of
297 /// children) value.
298 uint32_t GetNumChildren(uint32_t max);
299
300 LLDB_DEPRECATED("SBValue::GetOpaqueType() is deprecated.")
301 void *GetOpaqueType();
302
304
306
308
310
312
313 LLDB_DEPRECATED("Use GetType().IsPointerType() instead")
314 bool TypeIsPointerType();
315
317
319
320 bool GetDescription(lldb::SBStream &description);
321
322 bool GetDescription(lldb::SBStream &description,
323 lldb::DescriptionLevel description_level);
324
325 bool GetExpressionPath(lldb::SBStream &description);
326
327 bool GetExpressionPath(lldb::SBStream &description,
328 bool qualify_cxx_base_classes);
329
330 lldb::SBValue EvaluateExpression(const char *expr) const;
331 lldb::SBValue EvaluateExpression(const char *expr,
332 const SBExpressionOptions &options) const;
333 lldb::SBValue EvaluateExpression(const char *expr,
334 const SBExpressionOptions &options,
335 const char *name) const;
336
337 /// Watch this value if it resides in memory.
338 ///
339 /// Sets a watchpoint on the value.
340 ///
341 /// \param[in] resolve_location
342 /// Resolve the location of this value once and watch its address.
343 /// This value must currently be set to \b true as watching all
344 /// locations of a variable or a variable path is not yet supported,
345 /// though we plan to support it in the future.
346 ///
347 /// \param[in] read
348 /// Stop when this value is accessed.
349 ///
350 /// \param[in] write
351 /// Stop when this value is modified
352 ///
353 /// \param[out] error
354 /// An error object. Contains the reason if there is some failure.
355 ///
356 /// \return
357 /// An SBWatchpoint object. This object might not be valid upon
358 /// return due to a value not being contained in memory, too
359 /// large, or watchpoint resources are not available or all in
360 /// use.
361 lldb::SBWatchpoint Watch(bool resolve_location, bool read, bool write,
362 SBError &error);
363
364 // Backward compatibility fix in the interim.
365 lldb::SBWatchpoint Watch(bool resolve_location, bool read, bool write);
366
367 /// Watch this value that this value points to in memory
368 ///
369 /// Sets a watchpoint on the value.
370 ///
371 /// \param[in] resolve_location
372 /// Resolve the location of this value once and watch its address.
373 /// This value must currently be set to \b true as watching all
374 /// locations of a variable or a variable path is not yet supported,
375 /// though we plan to support it in the future.
376 ///
377 /// \param[in] read
378 /// Stop when this value is accessed.
379 ///
380 /// \param[in] write
381 /// Stop when this value is modified
382 ///
383 /// \param[out] error
384 /// An error object. Contains the reason if there is some failure.
385 ///
386 /// \return
387 /// An SBWatchpoint object. This object might not be valid upon
388 /// return due to a value not being contained in memory, too
389 /// large, or watchpoint resources are not available or all in
390 /// use.
391 lldb::SBWatchpoint WatchPointee(bool resolve_location, bool read, bool write,
392 SBError &error);
393
394 /// If this value represents a C++ class that has a vtable, return an value
395 /// that represents the virtual function table.
396 ///
397 /// SBValue::GetError() will be in the success state if this value represents
398 /// a C++ class with a vtable, or an appropriate error describing that the
399 /// object isn't a C++ class with a vtable or not a C++ class.
400 ///
401 /// SBValue::GetName() will be the demangled symbol name for the virtual
402 /// function table like "vtable for <classname>".
403 ///
404 /// SBValue::GetValue() will be the address of the first vtable entry if the
405 /// current SBValue is a class with a vtable, or nothing the current SBValue
406 /// is not a C++ class or not a C++ class that has a vtable.
407 ///
408 /// SBValue::GetValueAtUnsigned(...) will return the address of the first
409 /// vtable entry.
410 ///
411 /// SBValue::GetLoadAddress() will return the address of the vtable pointer
412 /// found in the parent SBValue.
413 ///
414 /// SBValue::GetNumChildren() will return the number of virtual function
415 /// pointers in the vtable, or zero on error.
416 ///
417 /// SBValue::GetChildAtIndex(...) will return each virtual function pointer
418 /// as a SBValue object.
419 ///
420 /// The child SBValue objects will have the following values:
421 ///
422 /// SBValue::GetError() will indicate success if the vtable entry was
423 /// successfully read from memory, or an error if not.
424 ///
425 /// SBValue::GetName() will be the vtable function index in the form "[%u]"
426 /// where %u is the index.
427 ///
428 /// SBValue::GetValue() will be the virtual function pointer value as a
429 /// string.
430 ///
431 /// SBValue::GetValueAtUnsigned(...) will return the virtual function
432 /// pointer value.
433 ///
434 /// SBValue::GetLoadAddress() will return the address of the virtual function
435 /// pointer.
436 ///
437 /// SBValue::GetNumChildren() returns 0
439
440protected:
441 friend class SBBlock;
443 friend class SBFrame;
444 friend class SBModule;
445 friend class SBTarget;
446 friend class SBThread;
447 friend class SBType;
448 friend class SBTypeStaticField;
449 friend class SBTypeSummary;
450 friend class SBValueList;
451
452 friend class lldb_private::python::SWIGBridge;
453
454 SBValue(const lldb::ValueObjectSP &value_sp);
455
456 /// Same as the protected version of GetSP that takes a locker, except that we
457 /// make the
458 /// locker locally in the function. Since the Target API mutex is recursive,
459 /// and the
460 /// StopLocker is a read lock, you can call this function even if you are
461 /// already
462 /// holding the two above-mentioned locks.
463 ///
464 /// \return
465 /// A ValueObjectSP of the best kind (static, dynamic or synthetic) we
466 /// can cons up, in accordance with the SBValue's settings.
467 lldb::ValueObjectSP GetSP() const;
468
469 /// Get the appropriate ValueObjectSP from this SBValue, consulting the
470 /// use_dynamic and use_synthetic options passed in to SetSP when the
471 /// SBValue's contents were set. Since this often requires examining memory,
472 /// and maybe even running code, it needs to acquire the Target API and
473 /// Process StopLock.
474 /// Those are held in an opaque class ValueLocker which is currently local to
475 /// SBValue.cpp.
476 /// So you don't have to get these yourself just default construct a
477 /// ValueLocker, and pass it into this.
478 /// If we need to make a ValueLocker and use it in some other .cpp file, we'll
479 /// have to move it to
480 /// ValueObject.h/cpp or somewhere else convenient. We haven't needed to so
481 /// far.
482 ///
483 /// \param[in] value_locker
484 /// An object that will hold the Target API, and Process RunLocks, and
485 /// auto-destroy them when it goes out of scope. Currently this is only
486 /// useful in
487 /// SBValue.cpp.
488 ///
489 /// \return
490 /// A ValueObjectSP of the best kind (static, dynamic or synthetic) we
491 /// can cons up, in accordance with the SBValue's settings.
492 lldb::ValueObjectSP GetSP(lldb_private::ValueLocker &value_locker) const;
493
494 // these calls do the right thing WRT adjusting their settings according to
495 // the target's preferences
496 void SetSP(const lldb::ValueObjectSP &sp);
497
498 void SetSP(const lldb::ValueObjectSP &sp, bool use_synthetic);
499
500 void SetSP(const lldb::ValueObjectSP &sp, lldb::DynamicValueType use_dynamic);
501
502 void SetSP(const lldb::ValueObjectSP &sp, lldb::DynamicValueType use_dynamic,
503 bool use_synthetic);
504
505 void SetSP(const lldb::ValueObjectSP &sp, lldb::DynamicValueType use_dynamic,
506 bool use_synthetic, const char *name);
507
508protected:
510
511private:
512 typedef std::shared_ptr<lldb_private::ValueImpl> ValueImplSP;
514
515 void SetSP(ValueImplSP impl_sp);
516};
517
518} // namespace lldb
519
520#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:784
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:1259
bool GetDescription(lldb::SBStream &description)
Definition SBValue.cpp:1097
bool GetValueDidChange()
Definition SBValue.cpp:240
lldb::SBValue EvaluateExpression(const char *expr) const
Definition SBValue.cpp:1028
friend class SBValueList
Definition SBValue.h:450
lldb::SBValue GetChildAtIndex(uint32_t idx)
Definition SBValue.cpp:501
lldb::SBTypeFilter GetTypeFilter()
Definition SBValue.cpp:345
lldb::SBAddress GetAddress()
Definition SBValue.cpp:1196
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:1223
const char * GetTypeName()
Definition SBValue.cpp:137
bool GetExpressionPath(lldb::SBStream &description)
Definition SBValue.cpp:1003
LLDB_DEPRECATED("Use GetType().IsPointerType() instead") bool TypeIsPointerType()
friend class lldb_private::python::SWIGBridge
Definition SBValue.h:452
friend class SBCommandReturnObject
Definition SBValue.h:442
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:1408
friend class SBTypeSummary
Definition SBValue.h:449
void SetSP(const lldb::ValueObjectSP &sp)
Definition SBValue.cpp:951
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:1242
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:1293
void SetSyntheticChildrenGenerated(bool)
Definition SBValue.cpp:696
void Clear()
Definition SBValue.cpp:94
lldb::SBProcess GetProcess()
Definition SBValue.cpp:890
const char * GetLocation()
Definition SBValue.cpp:279
lldb::SBValue CreateBoolValue(const char *name, bool value)
Definition SBValue.cpp:485
bool IsSynthetic()
Definition SBValue.cpp:676
friend class SBTarget
Definition SBValue.h:445
size_t GetByteSize()
Definition SBValue.cpp:159
friend class SBModule
Definition SBValue.h:444
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:722
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:1398
friend class SBTypeStaticField
Definition SBValue.h:448
lldb::SBWatchpoint Watch(bool resolve_location, bool read, bool write, SBError &error)
Watch this value if it resides in memory.
Definition SBValue.cpp:1319
lldb::SBTypeFormat GetTypeFormat()
Definition SBValue.cpp:313
lldb::user_id_t GetID()
Definition SBValue.cpp:116
lldb::SBFrame GetFrame()
Definition SBValue.cpp:916
const char * GetValue()
Definition SBValue.cpp:187
bool MightHaveChildren()
Find out if a SBValue might have children.
Definition SBValue.cpp:803
lldb::SBTypeSummary GetTypeSummary()
Definition SBValue.cpp:329
lldb::SBValue GetDynamicValue(lldb::DynamicValueType use_dynamic)
Definition SBValue.cpp:584
bool IsDynamic()
Definition SBValue.cpp:666
bool IsSyntheticChildrenGenerated()
Definition SBValue.cpp:686
lldb::SBValue GetSyntheticValue()
Definition SBValue.cpp:621
lldb::SBValue CreateChildAtOffset(const char *name, uint32_t offset, lldb::SBType type)
Definition SBValue.cpp:385
lldb::SBValue Dereference()
Definition SBValue.cpp:846
lldb::SBValue GetStaticValue()
Definition SBValue.cpp:596
lldb::SBValue Cast(lldb::SBType type)
Definition SBValue.cpp:404
friend class SBThread
Definition SBValue.h:446
lldb::SBValue GetNonSyntheticValue()
Definition SBValue.cpp:609
bool GetPreferSyntheticValue()
Definition SBValue.cpp:651
uint32_t GetIndexOfChildWithName(const char *name)
Definition SBValue.cpp:538
friend class SBBlock
Definition SBValue.h:441
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:1420
const char * GetObjectDescription()
Definition SBValue.cpp:209
const char * GetSummary()
Definition SBValue.cpp:254
friend class lldb_private::ScriptInterpreter
Definition SBValue.h:509
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:942
lldb::SBTypeSynthetic GetTypeSynthetic()
Definition SBValue.cpp:365
void SetFormat(lldb::Format format)
Definition SBValue.cpp:1160
lldb::SBValue AddressOf()
Definition SBValue.cpp:1169
friend class SBFrame
Definition SBValue.h:443
bool SetValueFromCString(const char *value_str, lldb::SBError &error)
Definition SBValue.cpp:291
lldb::DynamicValueType GetPreferDynamicValue()
Definition SBValue.cpp:636
std::shared_ptr< lldb_private::ValueImpl > ValueImplSP
Definition SBValue.h:512
lldb::SBThread GetThread()
Definition SBValue.cpp:903
ValueImplSP m_opaque_sp
Definition SBValue.h:513
lldb::SBValue GetChildMemberWithName(const char *name)
Definition SBValue.cpp:552
lldb::SBTarget GetTarget()
Definition SBValue.cpp:877
uint64_t GetValueAsUnsigned(lldb::SBError &error, uint64_t fail_value=0)
Definition SBValue.cpp:742
uint32_t GetNumChildren()
Return the number of children of this variable.
Definition SBValue.cpp:827
void SetPreferDynamicValue(lldb::DynamicValueType use_dynamic)
Definition SBValue.cpp:644
ValueType GetValueType()
Definition SBValue.cpp:197
void * GetOpaqueType()
Definition SBValue.cpp:867
friend class SBType
Definition SBValue.h:447
bool IsValid()
Definition SBValue.cpp:80
lldb::SBValue GetValueForExpressionPath(const char *expr_path)
Definition SBValue.cpp:705
lldb::addr_t GetLoadAddress()
Definition SBValue.cpp:1184
lldb::SBType GetType()
Definition SBValue.cpp:225
void SetPreferSyntheticValue(bool use_synthetic)
Definition SBValue.cpp:659
lldb::SBDeclaration GetDeclaration()
Definition SBValue.cpp:1305
lldb::Format GetFormat()
Definition SBValue.cpp:1150
bool IsRuntimeSupportValue()
Definition SBValue.cpp:815
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