Description[debug] introduce precise binary code coverage.
With precise binary code coverage, the reported count is either 0 or 1.
We only report 1 the first time we collect coverage data after the
function has been executed.
Since we do not care about the accurate execution count, we can optimize
the function once it has been executed once.
Also change best effort coverage to be implicitly binary.
R=caseq@chromium.org, jgruber@chromium.org, pfeldman@chromium.org
BUG=v8:5808
Review-Url: https://codereview.chromium.org/2766573003
Cr-Commit-Position: refs/heads/master@{#44074}
Committed: https://chromium.googlesource.com/v8/v8/+/d71ef941edca6ff99850a71ac146d9bbae5e61b7
Patch Set 1 #
Total comments: 3
Patch Set 2 : address comments #
Total comments: 1
Patch Set 3 : rebase #Patch Set 4 : Address comments and make best-effort coverage implicitly binary. #Patch Set 5 : fix test #
Dependent Patchsets: Messages
Total messages: 25 (17 generated)
|