go/src/runtime/callers_test.go

func f1(pan bool) []uintptr {}

func f2(pan bool) []uintptr {}

func f3(pan bool) []uintptr {}

func testCallers(t *testing.T, pcs []uintptr, pan bool) {}

func testCallersEqual(t *testing.T, pcs []uintptr, want []string) {}

func TestCallers(t *testing.T) {}

func TestCallersPanic(t *testing.T) {}

func TestCallersDoublePanic(t *testing.T) {}

// Test that a defer after a successful recovery looks like it is called directly
// from the function with the defers.
func TestCallersAfterRecovery(t *testing.T) {}

func TestCallersAbortedPanic(t *testing.T) {}

func TestCallersAbortedPanic2(t *testing.T) {}

func TestCallersNilPointerPanic(t *testing.T) {}

func TestCallersDivZeroPanic(t *testing.T) {}

func TestCallersDeferNilFuncPanic(t *testing.T) {}

// Same test, but forcing non-open-coded defer by putting the defer in a loop.  See
// issue #36050
func TestCallersDeferNilFuncPanicWithLoop(t *testing.T) {}

// issue #51988
// Func.Endlineno was lost when instantiating generic functions, leading to incorrect
// stack trace positions.
func TestCallersEndlineno(t *testing.T) {}

func testNormalEndlineno(t *testing.T) {}

func testGenericEndlineno[_ any](t *testing.T) {}

func testCallerLine(t *testing.T, want int) {}

func callerLine(t *testing.T, skip int) int {}

func BenchmarkCallers(b *testing.B) {}

func callersCached(b *testing.B, n int) int {}

func callersInlined(b *testing.B, n int) int {}

func callersInlined1(b *testing.B, n int) int {}

func callersInlined2(b *testing.B, n int) int {}

func callersInlined3(b *testing.B, n int) int {}

func callersInlined4(b *testing.B, n int) int {}

func callersNoCache(b *testing.B, n int) int {}

func BenchmarkFPCallers(b *testing.B) {}

func fpCallersCached(b *testing.B, n int) int {}

func TestFPUnwindAfterRecovery(t *testing.T) {}