vscode-go icon indicating copy to clipboard operation
vscode-go copied to clipboard

Source action to see assembly for a range of lines

Open firelizzard18 opened this issue 1 year ago • 0 comments

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

firelizzard18 avatar Aug 23 '24 23:08 firelizzard18