cmd/link: bad debug_frame section on macOS with buildmode=pie [Debugging] #25841
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
dsymutil, I'm pretty sure, surprising nobody.
main.main DIE in go.o, before external linker/dsymutil:
and the FDE:
It looks to me like dysmutil just doesn't adjust the addresses in .debug_frame, but I haven't looked at the code to figure out why.