v8/test
Pierre Langlois 93716b9e71 [snapshot] Add support for native counters.
Counters in generated code, as enabled with --native-code-counters, do not work
in the snapshot. This adds a `v8_enable_snapshot_code_counters` build option
enabled by defaut in debug mode that allows code from the snapshot to increment
the current isolate's set of counters.

For this to work, we need to add native code counters in the external reference
table.

To keep the no snapshot configuration similar, we've also enabled the
--native-code-counters flag by default for debug builds.

Change-Id: I4478b79858c9b04f57e06e7ec67449e9e3a76f53
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1528998
Commit-Queue: Pierre Langlois <pierre.langlois@arm.com>
Reviewed-by: Peter Marshall <petermarshall@chromium.org>
Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
Cr-Commit-Position: refs/heads/master@{#60495}
2019-03-27 17:45:50 +00:00
..
benchmarks Reland "Preparing v8 to use with python3 /test" 2019-03-20 09:56:06 +00:00
cctest [cctest] Add V8_EXPORT_PRIVATE for cctest (wasm part) 2019-03-27 13:59:46 +00:00
common [wasm-hint] Unit Test for Wasm Compilation Hints Decoder 2019-03-20 10:49:46 +00:00
debugger Revert "[debug] Mark toLocaleString and TA#join builtins as side-effect free." 2019-03-25 13:57:10 +00:00
fuzzer [wasm][fuzzer] Run micro tasks after each fuzzer execution 2019-03-15 14:23:45 +00:00
inspector Reland "[inspector] Allow limiting the total size of collected scripts." 2019-03-16 06:08:17 +00:00
intl [Intl] Only use DecimalFormat 2019-03-26 00:28:47 +00:00
js-perf-test [js-perf-test] Add more WeakMap perf tests 2019-03-25 10:47:29 +00:00
memory [snapshot] Remove the builtins snapshot 2018-10-31 10:18:28 +00:00
message [parser] Improve parse error message for missing name in FunctionDeclaration 2019-03-20 16:46:29 +00:00
mjsunit [asmjs] Check function body size limit 2019-03-27 17:20:20 +00:00
mkgrokdump Make mkgrokdump depend on the page size 2019-03-18 17:49:48 +00:00
mozilla Reland "Preparing v8 to use with python3 /test" 2019-03-20 09:56:06 +00:00
preparser [test] Don't test jitless without embedded-builtins 2019-02-26 14:33:01 +00:00
test262 Roll test262 2019-03-26 21:39:06 +00:00
torque [torque] Simplify class and struct construction 2019-02-27 17:36:37 +00:00
unittests [snapshot] Add support for native counters. 2019-03-27 17:45:50 +00:00
wasm-js [testrunner] handle timeout param in file 2019-02-27 17:49:17 +00:00
wasm-spec-tests [wasm] Update spec tests 2019-02-27 10:42:02 +00:00
webkit [parser] Improve parse error message for missing name in FunctionDeclaration 2019-03-20 16:46:29 +00:00
BUILD.gn Add target for common test headers 2019-02-12 09:30:01 +00:00
OWNERS Make tmrts an infra OWNER 2019-02-15 09:02:24 +00:00