Gopher Robot submitted the change![Open in Gerrit]()
Change information
Commit message:
cmd/compile: add loclist for removed DCL nodes
Certain return parameters which live in registers and end up pruned by
earlier SSA passes will end up with a DWARF entry but no location list.
This patch fixes this by ensuring those params have proper location
lists generated for them.
Change-Id: I4fff074e62c3010abdee85934fb286510b21c707
Files:
- M src/cmd/compile/internal/dwarfgen/dwarf.go
- M src/cmd/compile/internal/ssa/config.go
- M src/cmd/compile/internal/ssa/debug.go
- M src/cmd/compile/internal/ssagen/ssa.go
- M src/cmd/link/dwarf_test.go
Change size: M
Delta: 5 files changed, 201 insertions(+), 15 deletions(-)
Branch: refs/heads/master
Submit Requirements:
Code-Review: +1 by Keith Randall, +1 by David Chase, +1 by Derek Parker, +2 by Keith Randall
TryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI
Open in Gerrit
Gerrit-MessageType: merged
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I4fff074e62c3010abdee85934fb286510b21c707
Gerrit-Change-Number: 696575
Gerrit-PatchSet: 15