Descriptioncmd/cc: allow `quoted` identifiers in assembly input
$ cat x.go
package main
type T int
func (t *T) Get() int
func main() {
t := new(T)
*t = 42
println(t.Get())
}
$ cat x.s
TEXT `ยท(*T).Get`(SB), 7, $0
MOVQ p+0(FP), AX
MOVQ 0(AX), AX
MOVQ AX, ret+8(FP)
RET
$ go build -o a.out
$ ./a.out
42
$
Patch Set 1 #Patch Set 2 : diff -r 10d448aecfbf https://go.googlecode.com/hg/ #
Total comments: 2
MessagesTotal messages: 6
|