v8/test
ahaas 79570f87a1 [wasm] Do not use setjmp/longjmp in cctests.
The use of setjmp/longjmp makes the cctests in test-run-wasm and
test-run-wasm-64 flaky on Windows, and I think that it is better not
to use it. With this CL I replace it as follows:

Similar to the setjmp/longjmp implementation we still call a C
function when a trap happens. However, instead of calling longjmp in
this C function we just set a flag which indicates that a trap
happened and then return. After we return from the C function we leave
the frame of the current wasm function and return with a RET
instruction. At the end of a test the wasm test runner checks the flag
to see if a trap happened.

Please take a special look at the LeaveFrame function on arm64.

R=titzer@chromium.org, clemensh@chromium.org, v8-arm-ports@googlegroups.com
CC=jarin@chromium.org

Review-Url: https://codereview.chromium.org/2685583003
Cr-Commit-Position: refs/heads/master@{#43095}
2017-02-10 13:11:40 +00:00
..
benchmarks [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
cctest [wasm] Do not use setjmp/longjmp in cctests. 2017-02-10 13:11:40 +00:00
common [iwyu] Include handles.h less. 2017-01-27 13:53:13 +00:00
debugger [debugger] implement per-function code coverage. 2017-02-09 19:00:49 +00:00
fuzzer [fuzzer] Create a README for libfuzzer fuzzers. 2017-02-10 12:13:09 +00:00
inspector [wasm] Accept version 0x1 binaries. 2017-02-09 02:09:47 +00:00
intl Fix two DCHECK failures in ICU case mapping code 2017-01-13 23:12:43 +00:00
js-perf-test [Test] Add TypedArray constructor benchmarks. 2017-02-10 09:30:28 +00:00
memory [snapshot] support multiple contexts in the same snapshot. 2016-06-15 15:39:06 +00:00
message Enable --harmony-trailing-commas 2017-01-31 23:30:57 +00:00
mjsunit [debugger] add precise mode for code coverage. 2017-02-10 08:21:03 +00:00
mozilla [wasm] Add guard regions to end of WebAssembly.Memory buffers 2016-11-17 20:29:13 +00:00
preparser [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
promises-aplus Make test262 test runner check for which exception is thrown 2016-03-14 21:20:37 +00:00
simdjs [test] Deprecate test data download for most test suites 2016-08-08 12:39:48 +00:00
test262 [regexp] Update lastIndex semantics in RegExpBuiltinExec 2017-02-09 14:54:05 +00:00
unittests Revert of [Compiler] Enable handles created during parsing and scope analysis to be deferred. (patchset #9 id:180001 of https://codereview.chromium.org/2650883002/ ) 2017-02-10 12:30:26 +00:00
webkit Enable --harmony-trailing-commas 2017-01-31 23:30:57 +00:00
bot_default.gyp Add inspector tests to default tests to run locally. 2016-11-04 08:50:07 +00:00
bot_default.isolate [debugger] basic test infrastructure for new debugger test api. 2016-10-21 06:38:05 +00:00
BUILD.gn Properly define v8_enable_inspector and its override in GN. 2016-11-21 19:29:38 +00:00
default.gyp Add inspector tests to default tests to run locally. 2016-11-04 08:50:07 +00:00
default.isolate Add inspector tests to default tests to run locally. 2016-11-04 08:50:07 +00:00
optimize_for_size.gyp [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
optimize_for_size.isolate [debugger] basic test infrastructure for new debugger test api. 2016-10-21 06:38:05 +00:00
perf.gyp [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
perf.isolate [test] Isolate files the perf runner depends on 2016-11-08 10:25:13 +00:00