go/src/runtime/crash_test.go

var toRemove

const entrypointVar

func TestMain(m *testing.M) {}

var testprog

type buildexe

func runTestProg(t *testing.T, binary, name string, env ...string) string {}

func runBuiltTestProg(t *testing.T, exe, name string, env ...string) string {}

var serializeBuild

func buildTestProg(t *testing.T, binary string, flags ...string) (string, error) {}

func TestVDSO(t *testing.T) {}

func testCrashHandler(t *testing.T, cgo bool) {}

func TestCrashHandler(t *testing.T) {}

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

func TestSimpleDeadlock(t *testing.T) {}

func TestInitDeadlock(t *testing.T) {}

func TestLockedDeadlock(t *testing.T) {}

func TestLockedDeadlock2(t *testing.T) {}

func TestGoexitDeadlock(t *testing.T) {}

func TestStackOverflow(t *testing.T) {}

func TestThreadExhaustion(t *testing.T) {}

func TestRecursivePanic(t *testing.T) {}

func TestRecursivePanic2(t *testing.T) {}

func TestRecursivePanic3(t *testing.T) {}

func TestRecursivePanic4(t *testing.T) {}

func TestRecursivePanic5(t *testing.T) {}

func TestGoexitCrash(t *testing.T) {}

func TestGoexitDefer(t *testing.T) {}

func TestGoNil(t *testing.T) {}

func TestMainGoroutineID(t *testing.T) {}

func TestNoHelperGoroutines(t *testing.T) {}

func TestBreakpoint(t *testing.T) {}

func TestGoexitInPanic(t *testing.T) {}

// Issue 14965: Runtime panics should be of type runtime.Error
func TestRuntimePanicWithRuntimeError(t *testing.T) {}

func panicValue(fn func()) (recovered any) {}

func TestPanicAfterGoexit(t *testing.T) {}

func TestRecoveredPanicAfterGoexit(t *testing.T) {}

func TestRecoverBeforePanicAfterGoexit(t *testing.T) {}

func TestRecoverBeforePanicAfterGoexit2(t *testing.T) {}

func TestNetpollDeadlock(t *testing.T) {}

func TestPanicTraceback(t *testing.T) {}

func testPanicDeadlock(t *testing.T, name string, want string) {}

func TestPanicDeadlockGosched(t *testing.T) {}

func TestPanicDeadlockSyscall(t *testing.T) {}

func TestPanicLoop(t *testing.T) {}

func TestMemPprof(t *testing.T) {}

var concurrentMapTest

func TestConcurrentMapWrites(t *testing.T) {}

func TestConcurrentMapReadWrite(t *testing.T) {}

func TestConcurrentMapIterateWrite(t *testing.T) {}

func TestConcurrentMapWritesIssue69447(t *testing.T) {}

type point

func (p *point) negate() {}

// Test for issue #10152.
func TestPanicInlined(t *testing.T) {}

// Test for issues #3934 and #20018.
// We want to delay exiting until a panic print is complete.
func TestPanicRace(t *testing.T) {}

func TestBadTraceback(t *testing.T) {}

func TestTimePprof(t *testing.T) {}

// Test that runtime.abort does so.
func TestAbort(t *testing.T) {}

// For TestRuntimePanic: test a panic in the runtime package without
// involving the testing harness.
func init() {}

func TestRuntimePanic(t *testing.T) {}

func TestTracebackRuntimeFunction(t *testing.T) {}

func TestTracebackRuntimeMethod(t *testing.T) {}

// Test that g0 stack overflows are handled gracefully.
func TestG0StackOverflow(t *testing.T) {}

// For TestCrashWhileTracing: test a panic without involving the testing
// harness, as we rely on stdout only containing trace output.
func init() {}

func TestCrashWhileTracing(t *testing.T) {}

// Test that panic message is not clobbered.
// See issue 30150.
func TestDoublePanic(t *testing.T) {}

// Test that panic while panicking discards error message
// See issue 52257
func TestPanicWhilePanicking(t *testing.T) {}

func TestPanicOnUnsafeSlice(t *testing.T) {}

func TestNetpollWaiters(t *testing.T) {}