aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/testdata
diff options
context:
space:
mode:
authorThan McIntosh <thanm@google.com>2021-10-28 12:24:31 -0400
committerThan McIntosh <thanm@google.com>2022-09-26 21:48:18 +0000
commitefa3f1749fabe3b3062edff7651baa8cb1f574ab (patch)
treef44441fac23b9ef0aaeaca09b03cdbec32dbcc82 /src/runtime/testdata
parent63668a5155c808f474d5adab676ef3f3aa50c1d3 (diff)
downloadgo-efa3f1749fabe3b3062edff7651baa8cb1f574ab.tar.xz
internal/coverage: add apis for reading/writing counter data
Add utilities for reading and writing of counter data files as part of the new code coverage implementation. Trivia note: currently the contents of counter data files are emitted in little-endian form, which for the counters is somewhat painful in that we need to visit each counter value and properly encode it. It might be better to instead emit counters in native endianity and then teach the tools to decode properly in the case of an endianity mismatch. Updates #51430. Change-Id: I124fdcb40fc339a48b64b35264bf24c3be50ddd4 Reviewed-on: https://go-review.googlesource.com/c/go/+/359403 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: David Chase <drchase@google.com> Run-TryBot: Than McIntosh <thanm@google.com>
Diffstat (limited to 'src/runtime/testdata')
0 files changed, 0 insertions, 0 deletions