]> Cypherpunks repositories - gostls13.git/commit
cmd/link: make Exitf panic under -h
authorCherry Mui <cherryyz@google.com>
Wed, 22 Feb 2023 17:09:56 +0000 (12:09 -0500)
committerCherry Mui <cherryyz@google.com>
Wed, 22 Feb 2023 20:39:11 +0000 (20:39 +0000)
commit4304529a16774719687ff09f18a04e27aa8894c2
treed7839005ad43b542d4b889dda99b2e40771f9757
parente0e2685c80d2c7f3d68b35b6122545659737ad94
cmd/link: make Exitf panic under -h

If the -h flag is specified, currently it makes Errorf panic, but
not Exitf. Do so for Exitf as well.

Change-Id: I3e8d8899fd439f7299be3f9e9a63993b04852a93
Reviewed-on: https://go-review.googlesource.com/c/go/+/470297
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/link/internal/ld/util.go