]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/link: stop emitting .debug_pubnames/.debug_pubtypes
authorThan McIntosh <thanm@google.com>
Wed, 10 Jun 2020 14:05:37 +0000 (10:05 -0400)
committerThan McIntosh <thanm@google.com>
Wed, 17 Jun 2020 12:00:56 +0000 (12:00 +0000)
commitbc1dbe58cf35454b4f8f981707013fd868c6ce6f
tree6a0263b20596e50a973259b3c70fdacb77e294df
parent188e995ae9de004322d3f822f70dc9d814e2c03b
[dev.link] cmd/link: stop emitting .debug_pubnames/.debug_pubtypes

Don't emit the .debug_pubnames/.debug_pubtypes sections. These sections
are not used by either GDB or Delve, and C++ compilers [notably GCC
and Clang] no longer emit the sections by default.

Change-Id: Ic3309755e88c8e1aa28a29366bc7f0df1748fe64
Reviewed-on: https://go-review.googlesource.com/c/go/+/237426
Reviewed-by: Jeremy Faller <jeremy@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/link/internal/ld/dwarf.go