Skip to content
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

cmd/compile: set prologue_end on every arch #36612

Open
derekparker opened this issue Jan 16, 2020 · 1 comment
Open

cmd/compile: set prologue_end on every arch #36612

derekparker opened this issue Jan 16, 2020 · 1 comment
Assignees
Milestone

Comments

@derekparker
Copy link
Contributor

@derekparker derekparker commented Jan 16, 2020

As of Go 1.11 and commit 7bac2a9 support was added to put information about the end of the function prologue into the produced DWARF information, however it currently only works for x86.

Ideally the DWARF information produced is consistent across arches. In Delve if this information is not present we have to disassemble the function in order to pattern match known function prologues in order to skip them. This is undesirable to say the least and I would like to delete that code.

Opening this issue to track adding prologue_end to the DWARF information produced on every arch.

@derekparker

This comment has been minimized.

Copy link
Contributor Author

@derekparker derekparker commented Jan 16, 2020

@dr2chase dr2chase self-assigned this Jan 22, 2020
@dr2chase dr2chase added this to the Go1.15 milestone Jan 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.