]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.12] cmd/link: revise previous __DWARF segment protection fix
authorThan McIntosh <thanm@google.com>
Thu, 20 Jun 2019 13:02:05 +0000 (09:02 -0400)
committerAlexander Rakoczy <alex@golang.org>
Mon, 8 Jul 2019 16:55:36 +0000 (16:55 +0000)
commitc955c54431f18f407294f86b12b5b39a82ee9ee0
treeed7f6b66df622f8314f178540d5fd7869cbfc2b6
parente050fac971440e3e08bb82fb921d63d5851ac3bc
[release-branch.go1.12] cmd/link: revise previous __DWARF segment protection fix

Tweak the previous fix for issue 32673 (in CL 182958) to work around
problems with c-shared build mode that crop up on some of the builders
(10.11, 10.12).  We now consistently set vmaddr and vmsize to zero
for the DWARF segment regardless of build mode.

Fixes #32697

Change-Id: Id1fc213590ad00c28352925e2d754d760e022b5e
Reviewed-on: https://go-review.googlesource.com/c/go/+/183237
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-on: https://go-review.googlesource.com/c/go/+/183398
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/link/internal/ld/macho_combine_dwarf.go