]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/link: separate out DWARF processing from dodata's allocateSections
authorThan McIntosh <thanm@google.com>
Mon, 20 Apr 2020 11:47:43 +0000 (07:47 -0400)
committerThan McIntosh <thanm@google.com>
Tue, 21 Apr 2020 16:30:47 +0000 (16:30 +0000)
commit7a22f11e962a88813f945e227d3d67d94f3dc094
tree63173503a7d783c110ea40d1551b3c3e48ef4a6b
parent87b43088cd736c32f56b864b8185a311d31b1852
[dev.link] cmd/link: separate out DWARF processing from dodata's allocateSections

Split out DWARF symbol-to-section assignment into its own separate
helper routine, to improve readability. No change in functionality.

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