Skip to content

debug/gosym: read start line of a function from gopclntab #58864

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

brancz
Copy link
Contributor

@brancz brancz commented Mar 4, 2023

This field was introduced in go 1.20 therefore we need to safeguard it to only be read for pclntabs of that version or higher, as otherwise nonsensical bytes would be read. The fallback is now the default value of 0.

Fixes #58474

This field was introduced in go 1.20 therefore we need to safeguard it
to only be read for pclntabs of that version or higher, as otherwise
nonsensical bytes would be read. The fallback is now the default value
of 0.

Fixes golang#58474
@gopherbot
Copy link
Contributor

This PR (HEAD: 7f5f178) has been imported to Gerrit for code review.

Please visit https://go-review.googlesource.com/c/go/+/473455 to see it.

Tip: You can toggle comments from me using the comments slash command (e.g. /comments off)
See the Wiki page for more info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

proposal: debug/gosym: expose function start line and inline tree
2 participants