Skip to content

Commit

Permalink
cmd/compile: drop "buildcfg" from no instrument packages
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
prattmic committed Jul 5, 2022
1 parent c111091 commit d602380
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/cmd/compile/internal/base/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ var NoInstrumentPkgs = []string{
"runtime/msan",
"runtime/asan",
"internal/cpu",
"buildcfg",
}

// Don't insert racefuncenter/racefuncexit into the following packages.
Expand Down

0 comments on commit d602380

Please sign in to comment.