]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/link: check for dwarf enabled in loadlibfull
authorThan McIntosh <thanm@google.com>
Thu, 5 Mar 2020 15:58:02 +0000 (10:58 -0500)
committerThan McIntosh <thanm@google.com>
Tue, 10 Mar 2020 14:17:13 +0000 (14:17 +0000)
commit24064a302c36b86f2f57932c71aeff876d2afc47
tree6459de20ecf7a69b67715e70f7b0378c7c9435a4
parentcb2843704e50512ab98f28cac06ee09e0207c0f7
[dev.link] cmd/link: check for dwarf enabled in loadlibfull

Check dwarfEnabled before invoking dwarfConvertSymbols (not needed if
we're not doing dwarf gen).

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