-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
coredump: Add gosym sub command #234
base: main
Are you sure you want to change the base?
coredump: Add gosym sub command #234
Conversation
gosym symbolizes go test cases using addr2line. This is useful for debugging the correctness of go stack unwinding results.
91354e8
to
0177cef
Compare
This enables gosym to work with tesdata/arm64/go.symbhack.readheader.json which references several modules.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the review, I incorporated your suggestions 🙇
Could this instead be a flag for |
I could try that. What would you like to name this flag?
I probably won't have time to take care of non-Go binaries for now. This is already a bit of yak shave since what I'm really trying to do is debug and improve some go unwinding issues I'm seeing 😅. But yeah, making this more generic sounds good to me. |
gosym symbolizes go test cases using gopclntab and prints them. This is useful for
debugging the correctness of go stack unwinding results.
Example: