• Andreas Haas's avatar
    [wasm] Do not serialize modules that don't contain TurboFan code · 272e5a87
    Andreas Haas authored
    The wasm serialization format only contains TurboFan code. All other
    functions are only represented by placeholders. With this CL
    serialization fails if the serialized module does not contain any
    TurboFan functions and would therefore consist only of placeholders.
    
    This is a defense in depth approach, because ideally serialization
    only gets triggered when TurboFan code is available. However, in some
    scenarios like debugging it can happen that modules without TurboFan
    code get serialized.
    
    Bug: v8:12281
    Change-Id: Ib05430ff89eb2317da80fc0d086ce1d7ab0e919d
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3212510
    Commit-Queue: Andreas Haas <ahaas@chromium.org>
    Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#77715}
    272e5a87
Name
Last commit
Last update
..
benchmarks Loading commit data...
bigint Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
debugging Loading commit data...
fuzzer Loading commit data...
fuzzilli 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...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-api-tests 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...