GoPLS Viewer

Home|gopls/go/analysis/passes/asmdecl/testdata/src/a/asm.go
1// Copyright 2010 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// This file contains declarations to test the assembly in test_asm.s.
6
7package a
8
9type S struct {
10    i int32
11    b bool
12    s string
13}
14
15func arg1(x int8y uint8)
16func arg2(x int16y uint16)
17func arg4(x int32y uint32)
18func arg8(x int64y uint64)
19func argint(x inty uint)
20func argptr(x *bytey *bytec chan intm map[int]intf func())
21func argstring(xy string)
22func argslice(xy []string)
23func argiface(x interface{}, y interface {
24    m()
25})
26func argcomplex(x complex64y complex128)
27func argstruct(x Sy struct{})
28func argarray(x [2]S)
29func returnint() int
30func returnbyte(x intbyte
31func returnnamed(x byte) (r1 intr2 int16r3 stringr4 byte)
32func returnintmissing() int
33func leaf(xy intint
34
35func noprof(x int)
36func dupok(x int)
37func nosplit(x int)
38func rodata(x int)
39func noptr(x int)
40func wrapper(x int)
41
42func f15271() (x uint32)
43func f17584(x float32y complex64)
44func f29318(x [2][2]uint64)
45
46func noframe1(x int32)
47func noframe2(x int32)
48
49func fvariadic(int, ...int)
50
51func pickStableABI(x int)
52func pickInternalABI(x int)
53func pickFutureABI(x int)
54
55func returnABIInternal() int
56func returnmissingABIInternal() int
57
58func retjmp() int
59
MembersX
dupok.x
f15271
pickStableABI.x
arg1.x
argptr
argptr.m
argcomplex.x
argstruct.y
nosplit
f15271.x
f17584
S.b
arg2
argint.y
argstring.x
returnnamed.r2
pickInternalABI.x
rodata.x
f17584.y
noframe2.x
argptr.x
argstring.y
argarray
returnbyte.x
returnnamed
wrapper
pickStableABI
S
arg2.y
arg4
leaf.y
nosplit.x
arg4.x
argptr.f
argarray.x
returnintmissing
fvariadic
argiface
returnbyte
S.s
argint
leaf
rodata
returnmissingABIInternal
S.i
arg1
arg8
argstruct
returnnamed.x
argptr.y
argiface.x
dupok
wrapper.x
pickInternalABI
argcomplex.y
returnnamed.r3
returnnamed.r4
pickFutureABI
arg2.x
arg4.y
f29318.x
noframe1.x
pickFutureABI.x
argslice
argstruct.x
leaf.x
noptr
f17584.x
f29318
arg8.x
argslice.x
argiface.y
returnint
noprof.x
noframe1
noframe2
returnABIInternal
argstring
retjmp
arg1.y
argint.x
argcomplex
noprof
noptr.x
arg8.y
argptr.c
argslice.y
returnnamed.r1
Members
X