vscode-go
vscode-go copied to clipboard
Source action to see assembly for a range of lines
Is your feature request related to a problem? Please describe. I wanted to understand why this allocates:
func normalize(v any) (any, typeCode, bool) {
switch v := v.(type) {
case string:
return v, typeCodeString, true
// ...
}
}
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