• Thibaud Michaud's avatar
    [wasm][debug] Handle OSR edge case · d5e0d1f7
    Thibaud Michaud authored
    When the top frame is paused at a breakpoint, and this breakpoint is
    being removed or was already removed, introduce a "dead breakpoint" in
    the new code. This ensures that:
    - The source position for the new frame is correct, otherwise it would
    just pick the source position of the previous call,
    - The offset between the source position and return address is the same
    in the new and old code, which is necessary for OSR to find the correct
    return address.
    
    R=clemensb@chromium.org
    
    Bug: v8:10337
    Change-Id: I400886ff14846d3973d0634592c05960c05de738
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2377686
    Commit-Queue: Thibaud Michaud <thibaudm@chromium.org>
    Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#69731}
    d5e0d1f7
Name
Last commit
Last update
..
arm Loading commit data...
arm64 Loading commit data...
ia32 Loading commit data...
mips Loading commit data...
mips64 Loading commit data...
ppc Loading commit data...
s390 Loading commit data...
x64 Loading commit data...
DEPS Loading commit data...
liftoff-assembler-defs.h Loading commit data...
liftoff-assembler.cc Loading commit data...
liftoff-assembler.h Loading commit data...
liftoff-compiler.cc Loading commit data...
liftoff-compiler.h Loading commit data...
liftoff-register.h Loading commit data...