• Clemens Hammacher's avatar
    [wasm] Make error messages deterministic · eb1d2d70
    Clemens Hammacher authored
    Compilation only stores whether an error has been found, but not the
    exact error or it's location. This is generated by running a validation
    pass once all wire bytes have been received.
    This unifies error messages by removing one more location where we
    generate compilation error messages, and makes it deterministic because
    a) we always report the error in the first failing function, and
    b) if names are present, the error message will always contain the
       function name.
    
    R=titzer@chromium.org
    
    Bug: chromium:926311, v8:8814
    Change-Id: I79551b8bb73dcee503484de343a3ada60a6add4f
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1521112
    Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
    Reviewed-by: 's avatarBen Titzer <titzer@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#60242}
    eb1d2d70
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...