1
0
mirror of https://github.com/golang/go synced 2024-11-08 08:46:17 -07:00
go/src/cmd
Heschi Kreinick 3ba818c894 cmd/compile: distinguish args and return values in DWARF
Set DW_AT_variable_parameter on DW_TAG_formal_parameters that are
actually return values. variable_parameter is supposed to indicate inout
parameters, but Go doesn't really have those, and DWARF doesn't have
explicit support for multiple return values. This seems to be the best
compromise, especially since the implementation of the two is very
similar -- both are stack slots.

Fixes #21100

Change-Id: Icebabc92b7b397e0aa00a7237478cce84ad1a670
Reviewed-on: https://go-review.googlesource.com/71670
Run-TryBot: Heschi Kreinick <heschi@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
2017-10-18 18:46:04 +00:00
..
addr2line
api all: revert "all: prefer strings.IndexByte over strings.Index" 2017-10-05 23:19:10 +00:00
asm cmd/internal/obj/arm: better solution of .S/.P/.U/.W suffix check 2017-10-17 15:18:12 +00:00
buildid cmd/buildid: add new tool factoring out code needed by go command 2017-10-11 18:16:02 +00:00
cgo cmd/asm, cmd/cgo, cmd/compile, cmd/cover, cmd/link: use standard -V output 2017-10-06 20:28:40 +00:00
compile cmd/compile: distinguish args and return values in DWARF 2017-10-18 18:46:04 +00:00
cover cmd/cover: don't try to attach directives to synthetic decls 2017-10-17 22:14:28 +00:00
dist cmd/link: split PE loader into its own package 2017-10-12 21:35:43 +00:00
doc all: revert "all: prefer strings.LastIndexByte over strings.LastIndex" 2017-10-05 23:19:42 +00:00
fix all: revert "all: prefer strings.LastIndexByte over strings.LastIndex" 2017-10-05 23:19:42 +00:00
go cmd/go: clean up x.exe properly in TestImportMain 2017-10-18 00:21:04 +00:00
gofmt
internal cmd/compile: distinguish args and return values in DWARF 2017-10-18 18:46:04 +00:00
link cmd/link: replace SCONTAINER with an attribute bit 2017-10-16 06:40:37 +00:00
nm
objdump
pack
pprof
trace
vendor
vet runtime: unify 386 entry point code 2017-10-17 04:03:16 +00:00