]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: add debug log prior to export data lookup
authorMichael Pratt <mpratt@google.com>
Wed, 24 Apr 2024 15:31:19 +0000 (11:31 -0400)
committerMichael Pratt <mpratt@google.com>
Wed, 24 Apr 2024 15:55:17 +0000 (15:55 +0000)
commitd037bba19b26064dcbd19be2c17e042c8d421f2c
tree1c31b4c521c31b35621473fa78e2642cff287227
parent508e76197842792f87504d9f031ce4f7bf453c4f
cmd/compile: add debug log prior to export data lookup

If there is a crash in LookupFunc (which has occurred a few times now),
this ensures that we log the offending symbol before crashing.

For #67016.

Change-Id: I0119597de2be3d1b97c41a9361273d1feb90ec11
Reviewed-on: https://go-review.googlesource.com/c/go/+/581437
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/compile/internal/pgoir/irgraph.go