aboutsummaryrefslogtreecommitdiff
path: root/src/internal/fuzz
diff options
context:
space:
mode:
authorJay Conrod <jayconrod@google.com>2021-09-21 13:54:58 -0700
committerJay Conrod <jayconrod@google.com>2021-09-24 17:23:19 +0000
commitd5d3f80013fa9c4fda5ed2fd3d04868dd212ff8d (patch)
treedfd8c890e22a91eb5d883640c1792966de4cf262 /src/internal/fuzz
parent217507eb035933bac6c990844f0d71d6000fd339 (diff)
downloadgo-d5d3f80013fa9c4fda5ed2fd3d04868dd212ff8d.tar.xz
cmd/go: adjust comments on why fuzzing instrumentation is disabled
For #48504 Related #14565 Change-Id: Ibe43c75224525c4b80dbb66a1b6e0d688e47e2e4 Reviewed-on: https://go-review.googlesource.com/c/go/+/351314 Trust: Jay Conrod <jayconrod@google.com> Trust: Katie Hockman <katie@golang.org> Run-TryBot: Jay Conrod <jayconrod@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Katie Hockman <katie@golang.org>
Diffstat (limited to 'src/internal/fuzz')
-rw-r--r--src/internal/fuzz/counters_unsupported.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/internal/fuzz/counters_unsupported.go b/src/internal/fuzz/counters_unsupported.go
index 743ef45a66..9595cb93f7 100644
--- a/src/internal/fuzz/counters_unsupported.go
+++ b/src/internal/fuzz/counters_unsupported.go
@@ -7,7 +7,9 @@
package fuzz
// TODO(#48504): re-enable on platforms where instrumentation works.
-// This was disabled due to an init failure on aix_ppc64.
+// In theory, we shouldn't need this file at all: if the binary was built
+// without coverage, then _counters and _ecounters should have the same address.
+// However, this caused an init failure on aix/ppc64, so it's disabled here.
// coverage returns a []byte containing unique 8-bit counters for each edge of
// the instrumented source code. This coverage data will only be generated if