Definition at line 44 of file exceptions.cc.
◆ PreallocatedStackTraceBuilder()
dart::PreallocatedStackTraceBuilder::PreallocatedStackTraceBuilder |
( |
const Instance & |
stacktrace | ) |
|
|
inlineexplicit |
Definition at line 46 of file exceptions.cc.
47 : stacktrace_(StackTrace::Cast(stacktrace)),
48 cur_index_(0),
49 dropped_frames_(0) {
53 }
static Isolate * Current()
IsolateObjectStore * isolate_object_store() const
◆ ~PreallocatedStackTraceBuilder()
dart::PreallocatedStackTraceBuilder::~PreallocatedStackTraceBuilder |
( |
| ) |
|
|
inline |
◆ AddFrame()
void dart::PreallocatedStackTraceBuilder::AddFrame |
( |
const Object & |
code, |
|
|
uword |
pc_offset |
|
) |
| |
|
overridevirtual |
Implements dart::StackTraceBuilder.
Definition at line 68 of file exceptions.cc.
69 {
71
74 intptr_t null_slot =
start - 2;
75
76 dropped_frames_++;
77
78
81
82 dropped_frames_++;
83 }
84
86
88 intptr_t
prev = (
i - 1);
93 }
95 }
98 cur_index_ += 1;
99}
static float prev(float f)
void SetPcOffsetAtFrame(intptr_t frame_index, uword pc_offset) const
void SetCodeAtFrame(intptr_t frame_index, const Object &code) const
static constexpr int kPreallocatedStackdepth
uword PcOffsetAtFrame(intptr_t frame_index) const
ObjectPtr CodeAtFrame(intptr_t frame_index) const
The documentation for this class was generated from the following file: