Open firelizzard18 opened 4 weeks ago
CC @adonovan
Since this is a gopls feature request, transferring to the Go issue tracker.
Prior art: https://github.com/loov/lensm
This is a reasonable request, though before we invest piecemeal in small improvements to the assembly UI, we should consider whether installing a more sophisticated disassembly visualization (including blocks and control-flow edges, similar to https://github.com/aclements/objbrowse or https://github.com/loov/lensm) is a better use of time.
As an immediate workaround, you can use the L%d
line numbers in the third column to figure out which instructions belong to the source statement of interest.
@adonovan I’d be happy with visualization like that. I’m fine changing this issue to that if you’d like.
Is your feature request related to a problem? Please describe. I wanted to understand why this allocates:
Describe the solution you'd like I'd like to be able to select a line and view the assembly for that line (or for a range of lines).
Describe alternatives you've considered I can (and did) use "Browse amd64 assembly for normalize" but that doesn't scale well to larger functions.
Additional context https://github.com/golang/go/issues/67478