Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/compile: set prologue_end on every arch #36612
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.