v8/test/mjsunit/regress/wasm
Clemens Hammacher 88e169dc62 [wasm] Stop decoding sections once an error occured
We went on decoding the next section, which happened to be the start
section. But since the function section had an error, the signature
pointer was not still {nullptr} on the start function, leading to a
segfault.

Drive-by fix: Improve decoder trace output.

R=ahaas@chromium.org
BUG=chromium:708714, chromium:708787

Change-Id: I5ae2adb32764b9d154f1ca878019f26ac31839b4
Reviewed-on: https://chromium-review.googlesource.com/472847
Reviewed-by: Andreas Haas <ahaas@chromium.org>
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#44521}
2017-04-10 13:00:50 +00:00
..
loop-stack-check.js [wasm] Do not generate a loop stack check upon a decoder error. 2016-10-13 14:33:11 +00:00
regress-5860.js [wasm] Do not patch memory references in imported functions. 2017-01-24 09:43:57 +00:00
regression-5531.js [wasm] Remove non-standard kExprI8Const bytecode 2017-01-09 13:57:26 +00:00
regression-5800.js [wasm] Fix codegen issue for i64.add and i64.sub on ia32 2017-01-19 01:16:19 +00:00
regression-5884.js [wasm] Do the default int64-lowering for all non-i64 stores. 2017-01-26 09:38:13 +00:00
regression-6054.js [wasm][arm] Emit MaybeCheckConstPool in the trap code generation 2017-03-20 09:52:04 +00:00
regression-6164.js [wasm] Consider void returns in the int64-lowering 2017-03-29 13:51:33 +00:00
regression-02256.js [tests] Cleanup tests that use assertOptimized()/assertUnoptimized(). 2017-01-26 17:39:09 +00:00
regression-02256b.js [tests] Cleanup tests that use assertOptimized()/assertUnoptimized(). 2017-01-26 17:39:09 +00:00
regression-02862.js [wasm] fix for GC during instantiation. 2016-09-29 04:24:42 +00:00
regression-643595.js [wasm] disable serialization for asm-wasm 2016-12-15 05:06:54 +00:00
regression-644682.js
regression-647649.js
regression-648079.js [wasm] Simd128 types should not be available in asmjs modules. 2016-10-07 07:52:19 +00:00
regression-651961.js [wasm] Linear/Exported memory maximum property should be set when maximum is defined. 2016-11-08 09:55:27 +00:00
regression-654377.js [wasm] Do not create TF nodes during verification 2016-10-13 08:21:47 +00:00
regression-663994.js [wasm] The exports property of a wasm instance should always exist 2017-01-10 09:55:10 +00:00
regression-666741.js [wasm] Throw a RangeError if Wasm memory could not be allocated. 2016-11-21 21:58:53 +00:00
regression-667745.js [wasm] Some simplifications in function-body-decoder.cc. 2017-01-18 18:59:58 +00:00
regression-670683.js [wasm] Fix the regression-680683 test. 2017-03-30 17:37:29 +00:00
regression-674447.js [serializer] do not serialize script wrappers. 2016-12-19 10:53:02 +00:00
regression-680938.js [wasm] WebAssembly.Memory.grow() should handle the no instance case 2017-01-18 04:45:07 +00:00
regression-684858.js [wasm] Implement extensible name section 2017-04-07 16:31:47 +00:00
regression-688876.js [x64] Consider both operands when emitting the REX prefix for testb. 2017-02-08 10:27:45 +00:00
regression-689450.js [turbofan] For Word32Shl optimizations only consider the last 5 bits of the shift 2017-02-16 12:09:32 +00:00
regression-694433.js [wasm] Enforce module size limit early enough 2017-02-21 18:13:02 +00:00
regression-698587.js [wasm] Fix code specialization for empty memory buffer 2017-03-06 13:39:54 +00:00
regression-699485.js [wasm] Detach memory buffer only when GrowMemory is called from the JS API 2017-03-27 22:59:55 +00:00
regression-702460.js [wasm] Gate SIMD load/store opcodes with the --wasm-simd-prototype flag. 2017-03-31 22:52:59 +00:00
regression-702839.js [wasm] Identify interpreter entry as direct call target 2017-03-20 14:58:55 +00:00
regression-703568.js [wasm] [asm.js] Store function start position also for init function 2017-03-22 17:02:16 +00:00
regression-708714.js [wasm] Stop decoding sections once an error occured 2017-04-10 13:00:50 +00:00