v8/tools
bmeurer 0b3e554e03 Revert of [wasm] Initial signal handler (patchset #56 id:1090001 of https://codereview.chromium.org/2371833007/ )
Reason for revert:
Breaks tree, i.e. https://build.chromium.org/p/client.v8/builders/V8%20Linux64%20ASAN/builds/18928/steps/Check/logs/grow-memory

Original issue's description:
> [wasm] Initial signal handler
>
> This is basically the minimum viable signal handler for Wasm bounds checks.
> It includes the TLS check and the fine grained instructions checks. These
> two checks provide most of the safety for the signal handler. Future CLs will
> add code range and data range checks for more robustness.
>
> The trap handling code and data structures are all in src/trap-handler, with
> the code that actually runs in the signal handler confined to
> src/trap-handler/signal-handler.cc.
>
> This changes adds a new V8 API that the embedder should call from a signal
> handler that will give V8 the chance to handle the fault first. For hosts that
> do not want to implement their own signal handler, we include the option to
> install a simple one. This simple handler is also used for the tests.
>
> When a Wasm module is instantiated, information about each function is passed
> to the trap handler, which is used to classify faults. These are removed during
> the instance finalizer.
>
> Several future enhancements are planned before turning this on by default.
> Obviously, the additional checks will be added to MaybeHandleFault. We are
> also planning to add a two-level CodeObjectData table that is grouped by
> isolates to make cleanup easier and also reduce potential for contending on
> a single data structure.
>
> BUG= https://bugs.chromium.org/p/v8/issues/detail?id=5277
>
> Review-Url: https://codereview.chromium.org/2371833007
> Cr-Commit-Position: refs/heads/master@{#43523}
> Committed: a5af7fe9ee

TBR=ahaas@chromium.org,bradnelson@google.com,hpayer@chromium.org,jochen@chromium.org,mark@chromium.org,mseaborn@chromium.org,titzer@chromium.org,eholk@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG= https://bugs.chromium.org/p/v8/issues/detail?id=5277

Review-Url: https://codereview.chromium.org/2723133003
Cr-Commit-Position: refs/heads/master@{#43525}
2017-03-01 19:47:27 +00:00
..
blink_tests [Interpreter] Remove failure expectation for observer-expectations blink test. 2016-06-27 16:10:20 +00:00
cfi Port cfi blacklist from chromium. 2015-09-15 08:45:51 +00:00
dev [tools] Introduce gm.py 2017-02-22 15:09:28 +00:00
foozzie [foozzie] Suppress more array buffer range errors 2017-02-28 13:37:40 +00:00
gcmole [test] Upgrade gcmole plugin 2017-02-16 14:54:22 +00:00
generate_shim_headers
ignition [Tools] Update linux_perf_report to split out GC. 2016-11-17 13:52:22 +00:00
jsfunfuzz [compiler] Make --debug-code the default in debug builds. 2016-12-02 11:36:55 +00:00
luci-go Roll isolate binaries generated at infra@9249eb0 2017-01-20 13:35:56 +00:00
mb v8: Remove dependency on xdisplaycheck 2016-12-02 16:54:59 +00:00
memory Reland "[test] Add back lsan leak detection" 2017-02-01 10:39:28 +00:00
msan [gn] Add missing dep and blacklist for msan 2016-07-29 09:01:24 +00:00
ninja
perf [benchmarks] Add R script for statistical tests on benchmark results 2016-02-05 12:29:58 +00:00
perf_tests
profviz [ic] Drop TimerEventScopes from *IC_Miss runtime functions 2016-11-10 13:10:25 +00:00
release [release] Let merge tools use gerrit by default 2017-02-27 09:41:40 +00:00
sanitizers [tools] Fix merging sancov files from multiple test attempts 2016-10-14 10:00:26 +00:00
sodium
testrunner Revert of [wasm] Initial signal handler (patchset #56 id:1090001 of https://codereview.chromium.org/2371833007/ ) 2017-03-01 19:47:27 +00:00
turbolizer [turbolizer] Fix distinguishing simplified nodes 2016-11-24 15:32:42 +00:00
unittests [test] Implement results processor for perf runner. 2017-02-16 15:43:19 +00:00
v8.xcodeproj
vim
visual_studio
android-build.sh
android-ll-prof.sh
android-run.py Bug fix: android-run.py 2016-07-18 09:45:23 +00:00
android-sync.sh Bug fix: A bug in android-sync tool 2016-01-28 11:06:27 +00:00
bash-completion.sh [tools] Fix tools/bash-completion.sh for bool flags and harmony features 2015-12-10 10:01:39 +00:00
BUILD.gn [gn] Fix gn targets for tools 2016-06-06 14:25:30 +00:00
callstats.html [RuntimeStats] Show all entries which are in at least one version. 2017-02-08 17:29:56 +00:00
callstats.py [RCS] Disable concurrent recompilation for callstats.py 2017-02-02 22:33:46 +00:00
check-inline-includes.sh Remove inline header includes from non-inline headers (1). 2015-08-12 07:32:54 +00:00
check-static-initializers.gyp [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
check-static-initializers.isolate [swarming] Isolate static initializer check. 2016-01-08 12:58:30 +00:00
check-static-initializers.sh
check-unused-bailouts.sh Remove unused bailout reasons. 2015-07-13 13:34:12 +00:00
codemap.js Dump C++ symbols and merge into v8 log. 2016-04-28 06:57:33 +00:00
compare-table-gen.js Add more exhaustive tests for Math.min and Math.max. 2015-04-10 12:35:16 +00:00
concatenate-files.py
consarray.js
cpu.sh [tools] Allow specifying cores for cpu.sh script. 2015-11-18 10:53:30 +00:00
cross_build_gcc.sh
csvparser.js
DEPS
detect-builtins.js [tools] Fix detect-builtins.js 2016-06-09 10:17:32 +00:00
disasm.py ll_prof: Do not use the deprecated tempfile.mktemp() 2015-10-19 16:08:38 +00:00
draw_instruction_graph.sh
dump-cpp.py [prof] Add slide offset in dumpcpp script 2016-05-30 08:56:59 +00:00
dumpcpp-driver.js [prof] Add slide offset in dumpcpp script 2016-05-30 08:56:59 +00:00
dumpcpp.js [prof] Add slide offset in dumpcpp script 2016-05-30 08:56:59 +00:00
eval_gc_nvp.py [tools] Compute percentiles for GC NVP 2016-04-08 12:05:59 +00:00
eval_gc_time.sh Reland of "[heap] Better integrate handling of aborted compaction pages" 2016-04-14 11:07:20 +00:00
find_depot_tools.py
find-commit-for-patch.py
freebsd-tick-processor
fuzz-harness.sh [compiler] Make --debug-code the default in debug builds. 2016-12-02 11:36:55 +00:00
gc_nvp_common.py Clean up mark-compact phases and GC counter names. 2015-12-11 11:26:21 +00:00
gc-nvp-to-csv.py [tools] Add gc-nvp-to-csv.py script. 2015-06-19 10:40:47 +00:00
gc-nvp-trace-processor.py [tools] Add gc-nvp-to-csv.py script. 2015-06-19 10:40:47 +00:00
gdb-v8-support.py gdb-v8-support.py: Fix old style print statement 2016-07-03 07:11:47 +00:00
gdbinit [gdbinit] Rename TypeFeedback* to Feedback*. 2017-02-14 12:59:14 +00:00
gen-inlining-tests.py [turbofan] Improve inline-exception tests. 2016-08-29 11:17:16 +00:00
gen-postmortem-metadata.py Fix gen-postmortem-metadata.py after r43075 2017-02-09 23:42:21 +00:00
generate-builtins-tests.py
generate-ten-powers.scm
grokdump.py [grokdump] Web iface: fix stack summary, add buffering. 2016-10-04 08:37:16 +00:00
gyp_flag_compare.py [gn] Let gyp/gn comparison be more verbose on error 2016-07-12 11:18:40 +00:00
ic-explorer.html [tools] Support more map information in --trace-ic and ic-explorer.html 2016-10-27 09:56:14 +00:00
ic-processor Reimplement TraceIC using the logger 2017-02-20 09:50:40 +00:00
ic-processor-driver.js Reimplement TraceIC using the logger 2017-02-20 09:50:40 +00:00
ic-processor.js Reimplement TraceIC using the logger 2017-02-20 09:50:40 +00:00
isolate_driver.py [swarming] Port updated version of isolate_driver.py 2016-07-06 14:21:12 +00:00
js2c.py [js2c] Fix ordering issue of TextMacro expansion 2016-08-16 16:51:39 +00:00
jsmin.py jsmin.py: Fix issue with escaping of back ticks 2015-06-24 22:29:46 +00:00
linux-tick-processor
ll_prof.py Fix annotated disassembly in ll_prof.py 2016-04-06 12:38:44 +00:00
logreader.js [tick processor] Introduce --pairwise-timed-range processing mode 2015-05-05 14:17:48 +00:00
mac-nm
mac-tick-processor
mingw-generate-makefiles.sh [build] Move gyp folder 2016-04-27 12:37:35 +00:00
objdump-v8 Fix objdump assembly truncations, d8 support 2016-07-21 18:16:31 +00:00
OWNERS Add initial set of sub directory OWNERS file 2015-04-02 08:46:24 +00:00
parser-shell.cc Reland of land: [Parse] ParseInfo owns the parsing Zone. (patchset #1 id:1 of https://codereview.chromium.org/2683733002/ ) 2017-02-07 20:46:47 +00:00
parser-shell.gyp Reland of land "Turn libbase into a component" (patchset #1 id:1 of https://codereview.chromium.org/2396933002/ ) 2016-10-07 07:56:52 +00:00
perf-to-html.py [tools] Handle benchmark runs reporting more than one result. 2016-05-02 14:25:00 +00:00
plot-timer-events tools: Fix a syntax error in plot-timer-events 2016-05-23 10:19:47 +00:00
presubmit.py Add checkdeps to tools/presubmit.py. 2017-02-23 23:15:49 +00:00
process-heap-prof.py
profile_view.js
profile.js
run_perf.py [test] Fix android platform on perf runner 2017-02-17 13:11:56 +00:00
run-deopt-fuzzer.gyp [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
run-deopt-fuzzer.isolate [Swarming] Isolate deopt fuzzer. 2016-02-18 10:48:21 +00:00
run-deopt-fuzzer.py [compiler] Make --debug-code the default in debug builds. 2016-12-02 11:36:55 +00:00
run-llprof.sh
run-perf.sh [tools] run-perf: ensure command line arguments are prepended 2016-10-05 15:15:38 +00:00
run-tests.py [test] Reorder test suites and variants for better parallel throughput 2017-02-08 18:48:27 +00:00
run-valgrind.gyp [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
run-valgrind.isolate [Swarming] Isolate valgrind runner. 2016-02-15 12:47:54 +00:00
run-valgrind.py [test] Clean up valgrind runner. 2016-01-14 10:42:32 +00:00
run.py
shell-utils.h [presubmit] Enable readability/namespace linter checking. 2015-09-30 13:47:11 +00:00
SourceMap.js
splaytree.js
stats-viewer.py
test-server.py
tick-processor.html Remove snapshot log parsing and option from tools. 2016-04-05 15:31:32 +00:00
tickprocessor-driver.js [--prof] Adding support for RuntimeCallTimerScope based tick separation 2016-06-10 09:16:42 +00:00
tickprocessor.js [tools] Also handle LoadGlobalIC in tickprocessor. 2017-02-01 14:11:07 +00:00
trace-maps-processor.py
try_perf.py Remove SIMD.js from V8. 2017-02-14 06:57:25 +00:00
turbolizer-perf.py [turbolizer] Fixed naming of turbolizer perf script. 2016-07-28 12:38:00 +00:00
update-wasm-fuzzers.sh [wasm] Binary 0xD: update encoding of opcodes, types, and add immediates. 2016-10-26 16:56:49 +00:00
v8-info.sh
v8-rolls.sh
v8heapconst.py Update heap constants 2016-12-20 15:26:08 +00:00
v8heapconst.py.tmpl
verify_source_deps.py [inspector] added inspector test runner [part 1] 2016-09-30 15:52:46 +00:00
whitespace.txt Whitespace change to trigger the perf bots 2017-02-28 10:49:41 +00:00
windows-tick-processor.bat