]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/link: dump symbol info on crash under -v
authorCherry Zhang <cherryyz@google.com>
Fri, 10 Jul 2020 22:53:12 +0000 (18:53 -0400)
committerCherry Zhang <cherryyz@google.com>
Mon, 13 Jul 2020 21:39:20 +0000 (21:39 +0000)
commit5698ec36a86afcba0f7fe06e97e4cd5deaabe3f9
tree4c6d5698e5fac2254c5932f2010ec80b55ce20da
parentf3a29d3a34c498954c6d80059f3ba7d5ffbb46d9
[dev.link] cmd/link: dump symbol info on crash under -v

If the linker panics, it usually helps dumping all symbols'
information for debugging. Do it under -v.

Change-Id: I66f9e32a0133e763a631f17a218dcdc805c5df2f
Reviewed-on: https://go-review.googlesource.com/c/go/+/242078
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jeremy Faller <jeremy@golang.org>
src/cmd/link/internal/ld/main.go