diff options
| author | Russ Cox <rsc@golang.org> | 2024-11-01 14:56:25 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2024-11-07 12:17:55 +0000 |
| commit | daa6c9310e6bc94426b04f908962dff558209408 (patch) | |
| tree | eda011b42f3dd7745deecb96afdb2f09277e98cf /src/debug/elf/testdata | |
| parent | 5b20eec8a0eb3bd4681e315c0c4023c5164ea7b9 (diff) | |
| download | go-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
