aboutsummaryrefslogtreecommitdiff
path: root/src/debug/elf/testdata
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2024-11-01 14:56:25 -0400
committerRuss Cox <rsc@golang.org>2024-11-07 12:17:55 +0000
commitdaa6c9310e6bc94426b04f908962dff558209408 (patch)
treeeda011b42f3dd7745deecb96afdb2f09277e98cf /src/debug/elf/testdata
parent5b20eec8a0eb3bd4681e315c0c4023c5164ea7b9 (diff)
downloadgo-daa6c9310e6bc94426b04f908962dff558209408.tar.xz
cmd/link: remove dummy argument from ld.Errorf
As the comment notes, all calls to Errorf now pass nil, so remove that argument entirely. There is a TODO to remove uses of Errorf entirely, but that seems wrong: sometimes there is no symbol on which to report the error, and in that situation, Errorf is appropriate. So clarify that in the docs. Change-Id: I92b3b6e8e3f61ba8356ace8cd09573d0b55d7869 Reviewed-on: https://go-review.googlesource.com/c/go/+/625617 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'src/debug/elf/testdata')
0 files changed, 0 insertions, 0 deletions