5#ifndef INCLUDE_V8_UNWINDER_H_
6#define INCLUDE_V8_UNWINDER_H_
17struct CalleeSavedRegisters;
113 size_t code_pages_length,
116 const void* stack_base);
Definition: v8-unwinder.h:80
static bool PCIsInV8(size_t code_pages_length, const MemoryRange *code_pages, void *pc)
static bool TryUnwindV8Frames(const JSEntryStubs &entry_stubs, size_t code_pages_length, const MemoryRange *code_pages, RegisterState *register_state, const void *stack_base)
Definition: libplatform.h:15
EmbedderStateTag
Definition: v8-embedder-state-scope.h:22
StateTag
Definition: v8-unwinder.h:36
@ COMPILER
Definition: v8-unwinder.h:41
@ BYTECODE_COMPILER
Definition: v8-unwinder.h:40
@ EXTERNAL
Definition: v8-unwinder.h:43
@ GC
Definition: v8-unwinder.h:38
@ ATOMICS_WAIT
Definition: v8-unwinder.h:44
@ PARSER
Definition: v8-unwinder.h:39
@ LOGGING
Definition: v8-unwinder.h:46
@ IDLE
Definition: v8-unwinder.h:45
@ JS
Definition: v8-unwinder.h:37
@ OTHER
Definition: v8-unwinder.h:42
Definition: v8-unwinder.h:65
MemoryRange code
Definition: v8-unwinder.h:66
Definition: v8-unwinder.h:69
JSEntryStub js_entry_stub
Definition: v8-unwinder.h:70
JSEntryStub js_construct_entry_stub
Definition: v8-unwinder.h:71
JSEntryStub js_run_microtasks_entry_stub
Definition: v8-unwinder.h:72
Definition: v8-unwinder.h:60
size_t length_in_bytes
Definition: v8-unwinder.h:62
const void * start
Definition: v8-unwinder.h:61
Definition: v8-unwinder.h:21
RegisterState(const RegisterState &other)
void * lr
Definition: v8-unwinder.h:30
RegisterState & operator=(const RegisterState &other)
void * sp
Definition: v8-unwinder.h:28
void * pc
Definition: v8-unwinder.h:27
void * fp
Definition: v8-unwinder.h:29
std::unique_ptr< CalleeSavedRegisters > callee_saved
Definition: v8-unwinder.h:32
Definition: v8-unwinder.h:50
void * context
Definition: v8-unwinder.h:54
EmbedderStateTag embedder_state
Definition: v8-unwinder.h:57
void * embedder_context
Definition: v8-unwinder.h:55
size_t frames_count
Definition: v8-unwinder.h:51
void * external_callback_entry
Definition: v8-unwinder.h:52
StateTag vm_state
Definition: v8-unwinder.h:56
#define V8_EXPORT
Definition: v8config.h:793