debug/dwarf: incorrect runtime.newproc DIE in .zdebug_info #53802
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Build a hello world:
Then check the
runtime.newproc
entry in .zdebug_infoThere are 2 different DIE for
runtime.newproc
, but only the first one is correct.The second entry is actually for
runtime.newproc.abi0
, and we can tell it from the .symtab, but the dwarf emitter made mistakes:What did you expect to see?
I expected to see the only one entry for
runtime.newproc
.What did you see instead?
I saw 2 different entries for
runtime.newproc
, in which one entry should have beenruntime.newproc.abi0
.The text was updated successfully, but these errors were encountered: