aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2022-06-28 14:47:49 -0400
committerMichael Pratt <mpratt@google.com>2022-07-05 20:07:49 +0000
commitd602380f58e2a2ab4b262c7d69b78ff634cba5e8 (patch)
tree6d92cb9e860534516a19e3e4659cd052e5c79e5a
parentc1110910713766eb06d75ed48db3722d318a845e (diff)
downloadgo-d602380f58e2a2ab4b262c7d69b78ff634cba5e8.tar.gz
go-d602380f58e2a2ab4b262c7d69b78ff634cba5e8.zip
cmd/compile: drop "buildcfg" from no instrument packages
Package buildcfg was added to this list by CL 403851, but package buildcfg does not exist. This was probably intended to refer to internal/buildcfg, but internal/buildcfg is only used by the compiler so it is not clear why it couldn't be instrumented. For #44853. Change-Id: Iad2517358be79c3eabf240376156bcff0c4bcefc Reviewed-on: https://go-review.googlesource.com/c/go/+/414516 Reviewed-by: Bryan Mills <bcmills@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Michael Pratt <mpratt@google.com>
-rw-r--r--src/cmd/compile/internal/base/base.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cmd/compile/internal/base/base.go b/src/cmd/compile/internal/base/base.go
index 5e1493e275..39ce8e66f7 100644
--- a/src/cmd/compile/internal/base/base.go
+++ b/src/cmd/compile/internal/base/base.go
@@ -70,7 +70,6 @@ var NoInstrumentPkgs = []string{
"runtime/msan",
"runtime/asan",
"internal/cpu",
- "buildcfg",
}
// Don't insert racefuncenter/racefuncexit into the following packages.