• Michael Starzinger's avatar
    [wasm] Fix source positions for rethrown exceptions. · 89272565
    Michael Starzinger authored
    This fixes the source position printed in the stack trace for exceptions
    rethrown from within Wasm code. This only affects the message propagated
    to the console, not the trace stored as part of the exception object.
    
    Note that there still is a more fundamental issues with preserving the
    original message of a caught exception and funneling it through to each
    rethrow site, which is still missing. This change just makes sure that
    the interpreter and TurboFan are consistent.
    
    R=clemensh@chromium.org
    TEST=message/fail/wasm-exception-rethrow
    BUG=v8:8091
    
    Change-Id: Iac04149ded3c54f5b23faeb83b1228081bbd3dfa
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1598754Reviewed-by: 's avatarClemens Hammacher <clemensh@chromium.org>
    Commit-Queue: Michael Starzinger <mstarzinger@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#61374}
    89272565
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-js Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
OWNERS Loading commit data...