go/src/debug/dwarf/type_test.go

var typedefTests

var machoBug

func elfData(t *testing.T, name string) *Data {}

func machoData(t *testing.T, name string) *Data {}

func peData(t *testing.T, name string) *Data {}

func TestTypedefsELF(t *testing.T) {}

func TestTypedefsMachO(t *testing.T) {}

func TestTypedefsELFDwarf4(t *testing.T) {}

func testTypedefs(t *testing.T, d *Data, kind string, testcases map[string]string) {}

func TestTypedefCycle(t *testing.T) {}

var unsupportedTypeTests

func TestUnsupportedTypes(t *testing.T) {}

var expectedBitOffsets1

var expectedBitOffsets2

func TestBitOffsetsELF(t *testing.T) {}

func TestBitOffsetsMachO(t *testing.T) {}

func TestBitOffsetsMachO4(t *testing.T) {}

func TestBitOffsetsELFDwarf4(t *testing.T) {}

func TestBitOffsetsELFDwarf5(t *testing.T) {}

func testBitOffsets(t *testing.T, d *Data, tag string, expectedBitOffsets map[string]string) {}

var bitfieldTests

// TestBitFieldZeroArrayIssue50685 checks to make sure that the DWARF
// type reading code doesn't get confused by the presence of a
// specifically-sized bitfield member immediately following a field
// whose type is a zero-length array. Prior to the fix for issue
// 50685, we would get this type for the case in testdata/bitfields.c:
//
// another_struct {quix short unsigned int@0; xyz [-1]int@4; x unsigned int@4 : 1@31; array [40]long long int@8}
//
// Note the "-1" for the xyz field, which should be zero.
func TestBitFieldZeroArrayIssue50685(t *testing.T) {}