• Heschi Kreinick's avatar
    cmd/compile: distinguish args and return values in DWARF · 3ba818c8
    Heschi Kreinick authored
    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: 's avatarDavid Chase <drchase@google.com>
    3ba818c8
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...