• Thibaud Michaud's avatar
    Reland "[wasm][liftoff][eh] Implement catch_all" · 30dd7b46
    Thibaud Michaud authored
    This is a reland of 6e234e9d
    Fix CFI by adding a BTI instruction at the start of the handler.
    
    Original change's description:
    > [wasm][liftoff][eh] Implement catch_all
    >
    > Inline a catch handler after each potentially throwing call. The handler
    > just merges values into the actual catch environment and then jumps to
    > the catch body.
    >
    > This automatically adds support for unwind, which also uses the
    > "CatchAll" interface method.
    >
    > Many tests can be written either with "catch" or with "catch_all".
    > Duplicate them to get coverage for both.
    >
    > R=clemensb@chromium.org
    >
    > Bug: v8:11453
    > Change-Id: I789ad44b8d1e496f026157d5c37a12004a8b37e3
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2726497
    > Reviewed-by: Clemens Backes <clemensb@chromium.org>
    > Commit-Queue: Thibaud Michaud <thibaudm@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#73129}
    
    Bug: v8:11453
    Change-Id: I84d90877e6227a1966b6347877a9c18e213d9419
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2732023
    Commit-Queue: Thibaud Michaud <thibaudm@chromium.org>
    Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#73184}
    30dd7b46
test-run-wasm-exceptions.cc 21.4 KB