v8/test
Toon Verwaest 2dbcdc028a [profiler] Make ScrapeNativeContext check types and only run it where safe.
Previously ScrapeNativeContext was written quite defensively which could result
in false positives and crashes.

This CL makes the function always bail out when we're running on non-ia32/x64
since only those 2 properly verify whether the program is setting up a frame.
If we are setting up a frame, the context will be garbage.

This CL also disables profiler tests when TSAN is running since TSAN makes
ScrapeNativeContext unsafe: it considers SIGPROF asynchronous and will run the
handler after the program has already run further than the context that's
passed into the handler.

Bug: v8:9860, v8:9869
Change-Id: I5a08374feba2e0e77ddd59e02dc2d7e9c90c2e04
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1866469
Reviewed-by: Peter Marshall <petermarshall@chromium.org>
Commit-Queue: Toon Verwaest <verwaest@chromium.org>
Auto-Submit: Toon Verwaest <verwaest@chromium.org>
Cr-Commit-Position: refs/heads/master@{#64354}
2019-10-17 14:27:18 +00:00
..
benchmarks [test] Skip slow tests 2019-10-14 07:37:15 +00:00
cctest [profiler] Make ScrapeNativeContext check types and only run it where safe. 2019-10-17 14:27:18 +00:00
common [wasm] Rename {Get,Set}Global to Global{Get,Set} 2019-10-08 14:27:50 +00:00
debugger Reland "[Heap] Create a fast path for young allocations." 2019-09-16 13:25:51 +00:00
fuzzer [wasm] Fix typo in compile fuzzer 2019-10-17 10:20:48 +00:00
inspector [class] implement static private methods 2019-10-10 15:34:44 +00:00
intl [Intl] Only set HourCycle if needed 2019-10-11 20:44:17 +00:00
js-perf-test [perf-test] Add a performance test for LdaGlobal bytecodes 2019-10-09 16:34:33 +00:00
memory [owners] Remove redundant OWNERS files in test/ 2019-06-24 12:44:32 +00:00
message [wasm-simd] Implement memory tracing for kSimd128 data types 2019-10-11 20:45:21 +00:00
mjsunit [Turbofan] Improve serializer environment handling for catch blocks 2019-10-17 14:20:39 +00:00
mkgrokdump Reland "Unconditionally enable snapshot builds and remove 'v8_use_snapshot'" 2019-10-16 06:01:05 +00:00
mozilla Skip flaky slow test on arm64 2019-10-16 22:03:19 +00:00
preparser Add OWNERS files for src and test 2019-05-30 04:51:21 +00:00
test262 [regexp] Modify matchAll to throw on non-globals. 2019-10-16 13:34:15 +00:00
torque [torque] Add HeapSlice location references to Torque 2019-08-30 11:51:32 +00:00
unittests Reland "Unconditionally enable snapshot builds and remove 'v8_use_snapshot'" 2019-10-16 06:01:05 +00:00
wasm-api-tests [wasm-c-api] Roll bf31edf: Fix life times of host info 2019-08-26 14:28:51 +00:00
wasm-js [wasm][bulk] Update the element segment decoding to the new spec changes 2019-09-17 13:25:42 +00:00
wasm-spec-tests Rename clemensh to clemensb in OWNERS 2019-09-26 08:44:44 +00:00
webkit [regexp] Add missing case for EscapeRegExpPattern 2019-07-09 08:11:51 +00:00
BUILD.gn [wasm-c-api] Add tests and fixes 2019-05-28 09:57:04 +00:00
OWNERS Use relative paths to OWNERS files 2019-08-12 13:52:52 +00:00