From 4d2855b55d8feb56eebc1fffb82c26b2ffc937b4 Mon Sep 17 00:00:00 2001 From: Dmitri Shuralyov Date: Tue, 15 Aug 2023 11:45:57 -0400 Subject: cmd/pprof: update vendored github.com/google/pprof Pull in the latest published version of github.com/google/pprof as part of the continuous process of keeping Go's dependencies up to date. Done with: go get github.com/google/pprof go mod tidy go mod vendor For #36905. Change-Id: I2a48e912712bc916c9d749acb1550682f919477e Reviewed-on: https://go-review.googlesource.com/c/go/+/519657 Reviewed-by: Dmitri Shuralyov TryBot-Result: Gopher Robot Reviewed-by: Russ Cox LUCI-TryBot-Result: Go LUCI Auto-Submit: Dmitri Shuralyov Run-TryBot: Dmitri Shuralyov --- .../vendor/github.com/google/pprof/internal/binutils/addr2liner.go | 2 +- .../github.com/google/pprof/internal/binutils/addr2liner_llvm.go | 2 +- src/cmd/vendor/github.com/google/pprof/internal/binutils/disasm.go | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/cmd/vendor/github.com/google/pprof/internal/binutils') diff --git a/src/cmd/vendor/github.com/google/pprof/internal/binutils/addr2liner.go b/src/cmd/vendor/github.com/google/pprof/internal/binutils/addr2liner.go index 0c702398d3..c2e45c6a83 100644 --- a/src/cmd/vendor/github.com/google/pprof/internal/binutils/addr2liner.go +++ b/src/cmd/vendor/github.com/google/pprof/internal/binutils/addr2liner.go @@ -83,7 +83,7 @@ func (a *addr2LinerJob) close() { a.cmd.Wait() } -// newAddr2liner starts the given addr2liner command reporting +// newAddr2Liner starts the given addr2liner command reporting // information about the given executable file. If file is a shared // library, base should be the address at which it was mapped in the // program under consideration. diff --git a/src/cmd/vendor/github.com/google/pprof/internal/binutils/addr2liner_llvm.go b/src/cmd/vendor/github.com/google/pprof/internal/binutils/addr2liner_llvm.go index 844c7a475d..491422fcda 100644 --- a/src/cmd/vendor/github.com/google/pprof/internal/binutils/addr2liner_llvm.go +++ b/src/cmd/vendor/github.com/google/pprof/internal/binutils/addr2liner_llvm.go @@ -66,7 +66,7 @@ func (a *llvmSymbolizerJob) close() { a.cmd.Wait() } -// newLlvmSymbolizer starts the given llvmSymbolizer command reporting +// newLLVMSymbolizer starts the given llvmSymbolizer command reporting // information about the given executable file. If file is a shared // library, base should be the address at which it was mapped in the // program under consideration. diff --git a/src/cmd/vendor/github.com/google/pprof/internal/binutils/disasm.go b/src/cmd/vendor/github.com/google/pprof/internal/binutils/disasm.go index e64adf58cd..2709ef877c 100644 --- a/src/cmd/vendor/github.com/google/pprof/internal/binutils/disasm.go +++ b/src/cmd/vendor/github.com/google/pprof/internal/binutils/disasm.go @@ -95,8 +95,8 @@ func matchSymbol(names []string, start, end uint64, r *regexp.Regexp, address ui // Match all possible demangled versions of the name. for _, o := range [][]demangle.Option{ {demangle.NoClones}, - {demangle.NoParams}, - {demangle.NoParams, demangle.NoTemplateParams}, + {demangle.NoParams, demangle.NoEnclosingParams}, + {demangle.NoParams, demangle.NoEnclosingParams, demangle.NoTemplateParams}, } { if demangled, err := demangle.ToString(name, o...); err == nil && r.MatchString(demangled) { return []string{demangled} -- cgit v1.3-5-g9baa