debug/elf: duplicate llvm-dwarfdump entries in go1.18rc1 #51725
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
What version of Go are you using (
go version
)?go 1.18rc1
Does this issue reproduce with the latest release?
Only with go 1.18
What operating system and processor architecture are you using (
go env
)?linux_amd64
What did you do?
I compiled the linked
https_server.go
with go 1.18rc1, andllvm-dwarfdump https_server
to inspect the debug info.Search for
DW_AT_name ("crypto/tls.(*Conn).Write")
.What did you expect to see?
I expect the
DW_TAG_formal_parameter
for return values~r0
and~r1
to appear only once in the dwarfdump.https_server.zip
What did you see instead?
The
DW_TAG_formal_parameter
for return values~r0
and~r1
are duplicated in the dwarfdump.In go1.17, this doesn't seem to happen.
The text was updated successfully, but these errors were encountered: