Files
sdk/runtime
Liam Appelbe 2eb4ea5b34 [vm] Add record coverage instructions to statements.
RecordBranchCoverage method introduced in
https://dart-review.googlesource.com/c/sdk/+/224320

RecordBranchCoverage only inserts the RecordCoverage instruction if
the --branch-coverage flag is enabled. It also encodes the branch
coverage and normal coverage token positions differently, so that
source_report.cc can ignore the branch coverage positions (for now).

Next step after this is to add a special RPC to source_report.cc, that
reads and reports the branch coverage positions.

Change-Id: If8ac2cbba7777378e2fb0734aba9624e65c48f2b
TEST=CI (proper tests on the way once I implement the new RPC)
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/224082
Reviewed-by: Alexander Markov <alexmarkov@google.com>
Commit-Queue: Liam Appelbe <liama@google.com>
2021-12-16 23:19:29 +00:00
..
2021-12-16 22:07:00 +00:00
2021-12-16 22:07:00 +00:00