Flutter Engine
The Flutter Engine
Namespaces | Macros
stack_trace.cc File Reference
#include "vm/stack_trace.h"
#include "vm/dart_api_impl.h"
#include "vm/object_store.h"
#include "vm/stack_frame.h"
#include "vm/symbols.h"

Go to the source code of this file.

Namespaces

namespace  dart
 

Macros

#define USED_CLASS_LIST(V)
 
#define DECLARE_CONSTANT(symbol)   k##symbol,
 
#define USED_FIELD_LIST(V)
 
#define DECLARE_CONSTANT(class_symbol, field_symbol)    k##class_symbol##_##field_symbol,
 
#define PLUS_ONE(...)   +1
 
#define DECLARE_GETTER(symbol)
 
#define DECLARE_GETTER(class_symbol, field_symbol)
 

Macro Definition Documentation

◆ DECLARE_CONSTANT [1/2]

#define DECLARE_CONSTANT (   class_symbol,
  field_symbol 
)     k##class_symbol##_##field_symbol,

Definition at line 210 of file stack_trace.cc.

◆ DECLARE_CONSTANT [2/2]

#define DECLARE_CONSTANT (   symbol)    k##symbol,

Definition at line 210 of file stack_trace.cc.

◆ DECLARE_GETTER [1/2]

#define DECLARE_GETTER (   class_symbol,
  field_symbol 
)
Value:
ObjectPtr Get##class_symbol##_##field_symbol(const Object& obj) { \
auto& field = fields_[k##class_symbol##_##field_symbol]; \
if (field == nullptr) { \
field = &Field::Handle(zone_, class_symbol().LookupFieldAllowPrivate( \
Symbols::field_symbol())); \
ASSERT(!field->IsNull()); \
} \
return Instance::Cast(obj).GetField(*field); \
}
const GrXPFactory * Get(SkBlendMode mode)

Definition at line 234 of file stack_trace.cc.

◆ DECLARE_GETTER [2/2]

#define DECLARE_GETTER (   symbol)
Value:
const Class& symbol() { \
auto& cls = classes_[k##symbol]; \
if (cls == nullptr) { \
cls = &Class::Handle( \
zone_, async_lib_.LookupClassAllowPrivate(Symbols::symbol())); \
ASSERT(!cls->IsNull()); \
} \
return *cls; \
}

Definition at line 234 of file stack_trace.cc.

◆ PLUS_ONE

#define PLUS_ONE (   ...)    +1

Definition at line 216 of file stack_trace.cc.

◆ USED_CLASS_LIST

#define USED_CLASS_LIST (   V)
Value:
V(_AsyncStarStreamController) \
V(_BufferingStreamSubscription) \
V(_Completer) \
V(_AsyncCompleter) \
V(_SyncCompleter) \
V(_ControllerSubscription) \
V(_Future) \
V(_FutureListener) \
V(_StreamController) \
V(_StreamIterator) \
V(_SyncStreamController) \
V(_StreamControllerAddStreamState) \
V(_AddStreamState)
#define V(name)
Definition: raw_object.h:125

Definition at line 167 of file stack_trace.cc.

◆ USED_FIELD_LIST

#define USED_FIELD_LIST (   V)
Value:
V(_AsyncStarStreamController, asyncStarBody) \
V(_AsyncStarStreamController, controller) \
V(_BufferingStreamSubscription, _onData) \
V(_BufferingStreamSubscription, _onDone) \
V(_BufferingStreamSubscription, _onError) \
V(_BufferingStreamSubscription, _state) \
V(_Completer, future) \
V(_Future, _resultOrListeners) \
V(_Future, _state) \
V(_FutureListener, callback) \
V(_FutureListener, result) \
V(_FutureListener, state) \
V(_FutureListener, _nextListener) \
V(_StreamController, _state) \
V(_StreamController, _varData) \
V(_StreamControllerAddStreamState, _varData) \
V(_StreamIterator, _hasValue) \
V(_StreamIterator, _stateData) \
V(_AddStreamState, addStreamFuture)
AtkStateType state
FlKeyEvent uint64_t FlKeyResponderAsyncCallback callback
GAsyncResult * result

Definition at line 188 of file stack_trace.cc.