5#ifndef INCLUDE_V8_UNWINDER_H_
6#define INCLUDE_V8_UNWINDER_H_
17struct CalleeSavedRegisters;
124 size_t code_pages_length,
127 const void* stack_base);
Definition: v8-unwinder.h:91
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
constexpr bool IsExternal(StateTag state)
Definition: v8-unwinder.h:52
constexpr bool IsIdle(StateTag state)
Definition: v8-unwinder.h:56
StateTag
Definition: v8-unwinder.h:37
@ IDLE_EXTERNAL
Definition: v8-unwinder.h:47
@ COMPILER
Definition: v8-unwinder.h:42
@ BYTECODE_COMPILER
Definition: v8-unwinder.h:41
@ EXTERNAL
Definition: v8-unwinder.h:44
@ GC
Definition: v8-unwinder.h:39
@ ATOMICS_WAIT
Definition: v8-unwinder.h:45
@ PARSER
Definition: v8-unwinder.h:40
@ LOGGING
Definition: v8-unwinder.h:48
@ IDLE
Definition: v8-unwinder.h:46
@ JS
Definition: v8-unwinder.h:38
@ OTHER
Definition: v8-unwinder.h:43
Definition: v8-unwinder.h:76
MemoryRange code
Definition: v8-unwinder.h:77
Definition: v8-unwinder.h:80
JSEntryStub js_entry_stub
Definition: v8-unwinder.h:81
JSEntryStub js_construct_entry_stub
Definition: v8-unwinder.h:82
JSEntryStub js_run_microtasks_entry_stub
Definition: v8-unwinder.h:83
Definition: v8-unwinder.h:71
size_t length_in_bytes
Definition: v8-unwinder.h:73
const void * start
Definition: v8-unwinder.h:72
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:61
void * context
Definition: v8-unwinder.h:65
EmbedderStateTag embedder_state
Definition: v8-unwinder.h:68
void * embedder_context
Definition: v8-unwinder.h:66
size_t frames_count
Definition: v8-unwinder.h:62
void * external_callback_entry
Definition: v8-unwinder.h:63
StateTag vm_state
Definition: v8-unwinder.h:67
#define V8_EXPORT
Definition: v8config.h:860