cmd/objdump: symbolization of global variable doesn't work for shared objects #24712
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
help wanted
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What operating system and processor architecture are you using (
go env
)?darwin/amd64
What did you do?
The address of global variable is symbolized (
main.X(SB)
), which is nice.But this is not correct for shared objects, e.g. plugin:
Note the
__cgo_yield+200(SB)
, which should actually be X in the GOT, like whatcompile -S
printscc @aarzilli
The text was updated successfully, but these errors were encountered: