go/src/cmd/link/internal/ld/dwarf_test.go

func mustHaveDWARF(t testing.TB) {}

const DefaultOpt

const NoOpt

const OptInl4

const OptAllInl4

func TestRuntimeTypesPresent(t *testing.T) {}

func findTypes(t *testing.T, dw *dwarf.Data, want map[string]bool) (found map[string]bool) {}

type builtFile

func gobuild(t *testing.T, dir string, testfile string, gcflags string) *builtFile {}

func gobuildTestdata(t *testing.T, pkgDir string, gcflags string) *builtFile {}

// Helper to build a snippet of source for examination with dwtest.Examiner.
func gobuildAndExamine(t *testing.T, source string, gcflags string) (*dwarf.Data, *dwtest.Examiner) {}

func findSubprogramDIE(t *testing.T, ex *dwtest.Examiner, sym string) *dwarf.Entry {}

func TestEmbeddedStructMarker(t *testing.T) {}

func findMembers(rdr *dwarf.Reader) (map[string]bool, error) {}

func TestSizes(t *testing.T) {}

func TestFieldOverlap(t *testing.T) {}

func TestSubprogramDeclFileLine(t *testing.T) {}

func TestVarDeclLine(t *testing.T) {}

// TestInlinedRoutineCallFileLine tests the call file and line records for an
// inlined subroutine.
func TestInlinedRoutineCallFileLine(t *testing.T) {}

// TestInlinedRoutineArgsVars tests the argument and variable records for an inlined subroutine.
func TestInlinedRoutineArgsVars(t *testing.T) {}

func abstractOriginSanity(t *testing.T, pkgDir string, flags string) {}

func TestAbstractOriginSanity(t *testing.T) {}

func TestAbstractOriginSanityIssue25459(t *testing.T) {}

func TestAbstractOriginSanityIssue26237(t *testing.T) {}

func TestRuntimeTypeAttrInternal(t *testing.T) {}

// External linking requires a host linker (https://golang.org/src/cmd/cgo/doc.go l.732)
func TestRuntimeTypeAttrExternal(t *testing.T) {}

func testRuntimeTypeAttr(t *testing.T, flags string) {}

func TestIssue27614(t *testing.T) {}

func TestStaticTmp(t *testing.T) {}

func TestPackageNameAttr(t *testing.T) {}

func TestMachoIssue32233(t *testing.T) {}

func TestWindowsIssue36495(t *testing.T) {}

func TestIssue38192(t *testing.T) {}

func TestIssue39757(t *testing.T) {}

func TestIssue42484(t *testing.T) {}

// processParams examines the formal parameter children of subprogram
// DIE "die" using the explorer "ex" and returns a string that
// captures the name, order, and classification of the subprogram's
// input and output parameters. For example, for the go function
//
//	func foo(i1 int, f1 float64) (string, bool) {
//
// this function would return a string something like
//
//	i1:0:1 f1:1:1 ~r0:2:2 ~r1:3:2
//
// where each chunk above is of the form NAME:ORDER:INOUTCLASSIFICATION
func processParams(die *dwarf.Entry, ex *dwtest.Examiner) string {}

func TestOutputParamAbbrevAndAttr(t *testing.T) {}

func TestDictIndex(t *testing.T) {}

func TestOptimizedOutParamHandling(t *testing.T) {}

func TestIssue54320(t *testing.T) {}

const zeroSizedVarProg

func TestZeroSizedVariable(t *testing.T) {}

func TestConsistentGoKindAndRuntimeType(t *testing.T) {}