V8 Project
|
#include <frames.h>
Public Member Functions | |
SafeStackFrameIterator (Isolate *isolate, Address fp, Address sp, Address js_entry_sp) | |
StackFrame * | frame () const |
void | Advance () |
StackFrame::Type | top_frame_type () const |
Private Member Functions | |
void | AdvanceOneFrame () |
bool | IsValidStackAddress (Address addr) const |
bool | IsValidFrame (StackFrame *frame) const |
bool | IsValidCaller (StackFrame *frame) |
bool | IsValidExitFrame (Address fp) const |
bool | IsValidTop (ThreadLocalTop *top) const |
Private Attributes | |
const Address | low_bound_ |
const Address | high_bound_ |
StackFrame::Type | top_frame_type_ |
ExternalCallbackScope * | external_callback_scope_ |
v8::internal::SafeStackFrameIterator::SafeStackFrameIterator | ( | Isolate * | isolate, |
Address | fp, | ||
Address | sp, | ||
Address | js_entry_sp | ||
) |
Definition at line 194 of file frames.cc.
References Advance(), v8::internal::Isolate::c_entry_fp(), v8::internal::StandardFrame::ComputePCAddress(), DCHECK, external_callback_scope_, v8::internal::fp, v8::internal::ExitFrame::GetStateForFramePointer(), IsValidStackAddress(), IsValidTop(), v8::internal::StandardFrameConstants::kContextOffset, v8::internal::StandardFrameConstants::kMarkerOffset, NONE, NULL, v8::internal::sp, v8::internal::STATIC_ASSERT(), v8::internal::Isolate::thread_local_top(), and top_frame_type_.
void v8::internal::SafeStackFrameIterator::Advance | ( | ) |
Definition at line 327 of file frames.cc.
References AdvanceOneFrame(), DCHECK, external_callback_scope_, and NULL.
Referenced by v8::internal::TickSample::Init(), and SafeStackFrameIterator().
|
private |
Definition at line 261 of file frames.cc.
References DCHECK, IsValidCaller(), IsValidFrame(), and NULL.
Referenced by Advance().
|
inline |
Definition at line 325 of file frames-inl.h.
References DCHECK.
Referenced by v8::internal::TickSample::Init(), IsValidCaller(), and IsValidFrame().
|
private |
Definition at line 289 of file frames.cc.
References v8::internal::Memory::Address_at(), frame(), IsValidExitFrame(), IsValidStackAddress(), v8::internal::EntryFrameConstants::kCallerFPOffset, and NULL.
Referenced by AdvanceOneFrame().
Definition at line 314 of file frames.cc.
References v8::internal::ExitFrame::ComputeStackPointer(), v8::internal::ExitFrame::FillState(), v8::internal::fp, IsValidStackAddress(), NULL, and v8::internal::sp.
Referenced by IsValidCaller(), and IsValidTop().
|
private |
Definition at line 284 of file frames.cc.
References frame(), and IsValidStackAddress().
Referenced by AdvanceOneFrame().
Definition at line 907 of file frames.h.
Referenced by IsValidCaller(), IsValidExitFrame(), IsValidFrame(), and SafeStackFrameIterator().
|
private |
Definition at line 250 of file frames.cc.
References v8::internal::Isolate::c_entry_fp(), v8::internal::Isolate::handler(), IsValidExitFrame(), and NULL.
Referenced by SafeStackFrameIterator().
|
inline |
Definition at line 902 of file frames.h.
Referenced by v8::internal::TickSample::Init().
|
private |
Definition at line 918 of file frames.h.
Referenced by Advance(), and SafeStackFrameIterator().
|
private |
|
private |
|
private |
Definition at line 917 of file frames.h.
Referenced by SafeStackFrameIterator().