From: Michael Pratt Date: Tue, 28 Jun 2022 18:47:49 +0000 (-0400) Subject: cmd/compile: drop "buildcfg" from no instrument packages X-Git-Tag: go1.19rc1~8 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=d602380f58e2a2ab4b262c7d69b78ff634cba5e8;p=gostls13.git 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 Reviewed-by: Cherry Mui TryBot-Result: Gopher Robot Run-TryBot: Michael Pratt --- 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.