• Peter Marshall's avatar
    [tools] Add an API for unwinding the V8 stack · f4bb38c3
    Peter Marshall authored
    This API allows the embedder to provide a stack and PC, FP and
    SP registers. V8 will then attempt to unwind the stack to the C++ frame
    that called into JS. This API is signal-safe, meaning it does not call
    any signal-unsafe OS functions or read/write any V8 state.
    
    Bug: v8:8116
    
    Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng
    Change-Id: I7e3e73753b711737020b6a5f11946096658afa6f
    Reviewed-on: https://chromium-review.googlesource.com/c/1186724
    Commit-Queue: Peter Marshall <petermarshall@chromium.org>
    Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#57749}
    f4bb38c3
unwinder.cc 2.87 KB