Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::PrintObjectPointersVisitor Class Reference
Inheritance diagram for dart::PrintObjectPointersVisitor:
dart::ObjectPointerVisitor

Public Member Functions

 PrintObjectPointersVisitor ()
 
void VisitPointers (ObjectPtr *first, ObjectPtr *last) override
 
- Public Member Functions inherited from dart::ObjectPointerVisitor
 ObjectPointerVisitor (IsolateGroup *isolate_group)
 
virtual ~ObjectPointerVisitor ()
 
IsolateGroupisolate_group () const
 
virtual void VisitTypedDataViewPointers (TypedDataViewPtr view, CompressedObjectPtr *first, CompressedObjectPtr *last)
 
virtual void VisitPointers (ObjectPtr *first, ObjectPtr *last)=0
 
void VisitCompressedPointers (uword heap_base, CompressedObjectPtr *first, CompressedObjectPtr *last)
 
void VisitPointers (ObjectPtr *p, intptr_t len)
 
void VisitPointer (ObjectPtr *p)
 
const char * gc_root_type () const
 
void set_gc_root_type (const char *gc_root_type)
 
void clear_gc_root_type ()
 
virtual bool visit_weak_persistent_handles () const
 
virtual bool trace_values_through_fields () const
 
const ClassTableclass_table () const
 
virtual bool CanVisitSuspendStatePointers (SuspendStatePtr suspend_state)
 

Detailed Description

Definition at line 90 of file gdb_helpers.cc.

Constructor & Destructor Documentation

◆ PrintObjectPointersVisitor()

dart::PrintObjectPointersVisitor::PrintObjectPointersVisitor ( )
inline

Definition at line 92 of file gdb_helpers.cc.

static IsolateGroup * Current()
Definition: isolate.h:539
ObjectPointerVisitor(IsolateGroup *isolate_group)
Definition: visitor.cc:11

Member Function Documentation

◆ VisitPointers()

void dart::PrintObjectPointersVisitor::VisitPointers ( ObjectPtr first,
ObjectPtr last 
)
inlineoverridevirtual

Implements dart::ObjectPointerVisitor.

Definition at line 95 of file gdb_helpers.cc.

95 {
96 for (ObjectPtr* p = first; p <= last; p++) {
97 Object& obj = Object::Handle(*p);
98 OS::PrintErr("%p: %s\n", p, obj.ToCString());
99 }
100 }
static void static void PrintErr(const char *format,...) PRINTF_ATTRIBUTE(1
static Object & Handle()
Definition: object.h:407

The documentation for this class was generated from the following file: