go/src/runtime/gcinfo_test.go

const typeScalar

const typePointer

// TestGCInfo tests that various objects in heap, data and bss receive correct GC pointer type info.
func TestGCInfo(t *testing.T) {}

func verifyGCInfo(t *testing.T, name string, p any, mask0 []byte) {}

func trimDead(mask []byte) []byte {}

var infoPtr

type Ptr

var infoPtr10

type ScalarPtr

var infoScalarPtr

var infoScalarPtr4

type PtrScalar

var infoPtrScalar

type BigStruct

func infoBigStruct() []byte {}

type Iface

type IfaceImpl

func (IfaceImpl) f() {}

var bssPtr

var bssScalarPtr

var bssPtrScalar

var bssBigStruct

var bssString

var bssSlice

var bssEface

var bssIface

var dataPtr

var dataScalarPtr

var dataPtrScalar

var dataBigStruct

var dataString

var dataSlice

var dataEface

var dataIface

var infoString

var infoSlice

var infoEface

var infoIface