v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <stdlib.h>
#include "v8.h"
#include "api.h"
#include "cctest.h"
#include "codegen.h"
#include "disassembler.h"
#include "isolate.h"
#include "log.h"
#include "sampler.h"
#include "trace-extension.h"
#include "vm-state-inl.h"
Go to the source code of this file.
Functions | |
void | CreateFramePointerGrabberConstructor (v8::Local< v8::Context > context, const char *constructor_name) |
TEST (CFromJSStackTrace) | |
TEST (PureJSStackTrace) | |
TEST (PureCStackTrace) | |
TEST (JsEntrySp) | |
void CreateFramePointerGrabberConstructor | ( | v8::Local< v8::Context > | context, |
const char * | constructor_name | ||
) |
Definition at line 105 of file test-log-stack-tracer.cc.
References FunctionTemplate::GetFunction(), Context::GetIsolate(), Context::Global(), FunctionTemplate::New(), and FunctionTemplate::SetClassName().
TEST | ( | CFromJSStackTrace | ) |
Definition at line 142 of file test-log-stack-tracer.cc.
References CHECK, CHECK_EQ, CHECK_GT, TickSample::external_callback, TickSample::frames_count, FUNCTION_ADDR, TickSample::has_external_callback, TraceExtension::InitTraceEnv(), Handle< T >::IsEmpty(), CcTest::isolate(), CcTest::NewContext(), v8::internal::sample, TickSample::stack, and TraceExtension::Trace().
TEST | ( | PureJSStackTrace | ) |
Definition at line 189 of file test-log-stack-tracer.cc.
References CHECK, CHECK_EQ, CHECK_GT, TickSample::external_callback, TickSample::frames_count, FUNCTION_ADDR, TickSample::has_external_callback, TraceExtension::InitTraceEnv(), Handle< T >::IsEmpty(), CcTest::isolate(), TraceExtension::JSTrace(), CcTest::NewContext(), v8::internal::sample, and TickSample::stack.
TEST | ( | PureCStackTrace | ) |
Definition at line 264 of file test-log-stack-tracer.cc.
References CHECK_EQ, TraceExtension::InitTraceEnv(), CcTest::isolate(), CcTest::NewContext(), and v8::internal::sample.
TEST | ( | JsEntrySp | ) |
Definition at line 275 of file test-log-stack-tracer.cc.
References CHECK_EQ, TraceExtension::GetJsEntrySp(), CcTest::isolate(), and CcTest::NewContext().