Description[debugger] implement per-function code coverage.
Collect code coverage from the available invocation counts.
The granularity is at function level, and invocation counts may
be lost to GC.
Coverage::Collect returns a std::vector of Coverage::ScriptData.
Each ScriptData contains a script ID and a std::vector of
Coverage::RangeEntry.
Each RangeEntry consists of a end position and the invocation
count. The start position is implicit from the end position of
the previous RangeEntry, or 0 if it's the first RangeEntry.
R=jgruber@chromium.org
BUG=v8:5808
Review-Url: https://codereview.chromium.org/2689493002
Cr-Commit-Position: refs/heads/master@{#43072}
Committed: https://chromium.googlesource.com/v8/v8/+/058d7ab7f4644b41be3eacf4f9e3f858df89ff4b
Patch Set 1 #Patch Set 2 : fix includes #Patch Set 3 : fix tests #Patch Set 4 : fix one more test #Patch Set 5 : one more fix, and rename #
Total comments: 11
Patch Set 6 : address comments #
Dependent Patchsets: Messages
Total messages: 35 (24 generated)
|