cmd/link: missing go_kind attr for some dwarf pointer types #52717
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
)?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?
go build
, then usereadelf -wi main | grep "Unknown AT value: 2900: 0"
to print the dwarf types info.Output
What did you expect to see?
The attr 2900 is
DW_AT_go_kind
, it should not be 0 in any types.What did you see instead?
the attr DW_AT_go_kind of some types is 0.
The dwarf syms defined by src/cmd/link/internal/ld/dwarf.go^(*dwctxt).defptrto missed attr DW_AT_go_kind.
The text was updated successfully, but these errors were encountered: