• yangguo's avatar
    [debugger] implement per-function code coverage. · 058d7ab7
    yangguo authored
    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}
    058d7ab7
Name
Last commit
Last update
..
arm Loading commit data...
arm64 Loading commit data...
ia32 Loading commit data...
mips Loading commit data...
mips64 Loading commit data...
ppc Loading commit data...
s390 Loading commit data...
x64 Loading commit data...
x87 Loading commit data...
OWNERS Loading commit data...
debug-coverage.cc Loading commit data...
debug-coverage.h Loading commit data...
debug-evaluate.cc Loading commit data...
debug-evaluate.h Loading commit data...
debug-frames.cc Loading commit data...
debug-frames.h Loading commit data...
debug-interface.h Loading commit data...
debug-scopes.cc Loading commit data...
debug-scopes.h Loading commit data...
debug.cc Loading commit data...
debug.h Loading commit data...
debug.js Loading commit data...
interface-types.h Loading commit data...
liveedit.cc Loading commit data...
liveedit.h Loading commit data...
liveedit.js Loading commit data...
mirrors.js Loading commit data...