aboutsummaryrefslogtreecommitdiff
path: root/src/plugin/plugin_dlopen.go
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2023-03-09 12:10:25 -0500
committerGopher Robot <gobot@golang.org>2023-03-09 17:47:01 +0000
commitafbcf2138cb5f95d829f0a556ce3aaf77627cc32 (patch)
tree4e105be6909a37e8082d4f314cce52ee29164796 /src/plugin/plugin_dlopen.go
parent71c84d4b4149bebc2abcc495ef744e1a010a18e7 (diff)
downloadgo-afbcf2138cb5f95d829f0a556ce3aaf77627cc32.tar.xz
cmd/compile: report profile open/parse errors
Currently we fail to print errors from os.Open and profile.Parse of the PGO profile, losing context useful to understand these errors. In fixing this, cleanup error use overall to return an error from pgo.New and report the problematic file at the top level. Change-Id: Id7e9c781c4b8520eee96b6f5fe8a0b757d947f7f Reviewed-on: https://go-review.googlesource.com/c/go/+/474995 Auto-Submit: Michael Pratt <mpratt@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com> Run-TryBot: Michael Pratt <mpratt@google.com>
Diffstat (limited to 'src/plugin/plugin_dlopen.go')
0 files changed, 0 insertions, 0 deletions