]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/link: refactor dwarf gen methods to be comp-unit centric
authorThan McIntosh <thanm@google.com>
Thu, 11 Jun 2020 18:48:08 +0000 (14:48 -0400)
committerThan McIntosh <thanm@google.com>
Wed, 17 Jun 2020 12:01:20 +0000 (12:01 +0000)
commit27144d166b25de731bc26ee5bce861e4574b81bb
tree296eac3cd47a76491143bb8fdb8efae55a0f48f1
parentd08bab99b74b6da2f10e16fdcd4fb4b410ae07cb
[dev.link] cmd/link: refactor dwarf gen methods to be comp-unit centric

Refactor some of the linker's DWARF generation methods so as to have
helper routines that do all the work for a given comp unit for a given
section (range, loc, etc). No change in functionality, this is just a
reorg in preparation for a later patch in this sequence.

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