v8/test
Yang Guo e66cee7e9e [debug] only break on entry when immediately called from JS
When we break on function entry, check whether the target function is being
called from JS after entering V8 through V8's API. We implement this by
keeping track of the stack height when we enter V8 through the API, and compare
the caller JS frame's stack height with that.

R=szuend@chromium.org

Bug: chromium:991217, chromium:992406
Change-Id: I258ad9cef11fe0ef48de6fd5055790792fd0ec0c
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1762298
Commit-Queue: Yang Guo <yangguo@chromium.org>
Reviewed-by: Simon Zünd <szuend@chromium.org>
Cr-Commit-Position: refs/heads/master@{#63331}
2019-08-22 09:01:56 +00:00
..
benchmarks [test] Skip flaky test on predictable mode 2019-05-07 13:57:18 +00:00
cctest [debug] only break on entry when immediately called from JS 2019-08-22 09:01:56 +00:00
common Use relative paths to OWNERS files 2019-08-12 13:52:52 +00:00
debugger Use relative paths to OWNERS files 2019-08-12 13:52:52 +00:00
fuzzer [regexp] Fix clusterfuzz syntax errors for regexp-builtins 2019-08-22 05:50:35 +00:00
inspector [debugger] Report function proxies as proxies, not as functions 2019-08-21 11:03:30 +00:00
intl [Intl] Adding volume units. 2019-07-24 17:16:46 +00:00
js-perf-test [jsperf] Add benchmark for LoadConstantFromPrototype 2019-08-16 09:33:06 +00:00
memory [owners] Remove redundant OWNERS files in test/ 2019-06-24 12:44:32 +00:00
message [scanner] fix bug with reporting invalid numeric separator 2019-08-08 16:36:36 +00:00
mjsunit [wasm] 32-bit support WebAssembly's i64<>JavaScript's BigInt conversions 2019-08-21 17:03:51 +00:00
mkgrokdump Reland "Add postmortem debugging helper library" 2019-07-31 14:30:19 +00:00
mozilla [regexp] Add missing case for EscapeRegExpPattern 2019-07-09 08:11:51 +00:00
preparser Add OWNERS files for src and test 2019-05-30 04:51:21 +00:00
test262 [class] Fix ClassScope::LookupPrivateName to walk scope chain 2019-08-20 20:18:39 +00:00
torque [torque] Add user-defined Slice struct 2019-08-21 14:52:35 +00:00
unittests [wasm] 32-bit support WebAssembly's i64<>JavaScript's BigInt conversions 2019-08-21 17:03:51 +00:00
wasm-api-tests [wasm-c-api] Roll 3094fe2: Implement Global::get/set for refs 2019-08-21 15:54:59 +00:00
wasm-js Use relative paths to OWNERS files 2019-08-12 13:52:52 +00:00
wasm-spec-tests [mips][wasm] Correct wasm address space limit. 2019-08-02 14:54:08 +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