• Clemens Backes's avatar
    [wasm][debug] Make some control opcodes non-breakable · dbda6c3d
    Clemens Backes authored
    Most control structures in WebAssembly do not have a clear execution
    semantics, they are more like markers. Hence the execute state, and the
    change in the state, when breaking on them and stepping over them is
    unclear.
    Hence this CL just makes them non-breakable. If the user tries to set a
    breakpoint on them, this breakpoint will automatically be propagated to
    the first instruction after the respective control opcode (this is
    tested for other cases in existing tests).
    
    R=thibaudm@chromium.org
    
    Bug: v8:10326
    Change-Id: Iaf540a94789c9cbc87d23ddfb794e4b01776b49f
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2122017Reviewed-by: 's avatarThibaud Michaud <thibaudm@chromium.org>
    Commit-Queue: Clemens Backes <clemensb@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#66876}
    dbda6c3d
wasm-opcodes.cc 20.2 KB