• Michael Starzinger's avatar
    [wasm] Support exceptions between interpreter frames. · 5b8c7f84
    Michael Starzinger authored
    This adds support for handling exceptions between different frames of
    one single interpreter activation. Frames are dropped until a local
    handler is found. If none is found in the current activation then we
    delegate to the existing stack unwinding mechanism to deal with multiple
    activations interspersed with non-interpreter stack frames on the actual
    machine stack.
    
    R=clemensh@chromium.org
    TEST=cctest/test-run-wasm-exceptions
    BUG=v8:8091
    
    Change-Id: Ia4abb27ff037bf0d3e3b05721bd3c971ef820e3c
    Reviewed-on: https://chromium-review.googlesource.com/c/1445989
    Commit-Queue: Michael Starzinger <mstarzinger@chromium.org>
    Reviewed-by: 's avatarClemens Hammacher <clemensh@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#59228}
    5b8c7f84
test-run-wasm-exceptions.cc 4.97 KB