• 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
..
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...