/ go Public
cmd/compile: missing DWARF location lists for return values #50990
Issues related to the Go compiler and/or runtime.
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
What version of Go are you using (
Does this issue reproduce with the latest release?
With Go1.17.6, DWARF entries for return values of optimized functions were not available at all due to related issue #48573
What operating system and processor architecture are you using (
What did you do?
Build an application with the Go 1.18beta2 toolchain using the command
go build Main.go(optimized binary):
Disassembly of `main.testFunc`
What did you expect to see?
DWARF location lists for function return values:
Example for return value `d`
What did you see instead?
Missing DWARF location lists for all function return values of
DWARF data of main.testFunc
I have checked many functions of optimized binaries, for all of them I can see the same problem.
The text was updated successfully, but these errors were encountered: