go/src/runtime
Damien Neil f9f5d1e844 runtime/race: detect when TestRace fails to run all tests, skip failures
TestRace runs a collection of tests, some of which are expected
to fail with data races. Make TestRace more robust at detecting
when the test run is cut short, such as when a test causes
an unhandled panic.

Skip TestRaceRangeFuncIterator, which contains an unhandled panic.
This test was causing all subsequent tests to not run.

Skip TestNoRaceRangeFuncIterator, which contains an unexpected data race.
This test was not running due to the above failure.

For #72925

Change-Id: Id662375cc498ea25ae308619709768588bf6a2f0
Reviewed-on: https://go-review.googlesource.com/c/go/+/658875
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Damien Neil <dneil@google.com>
2025-03-19 10:21:06 -07:00
..
asan runtime: in asan mode unregister root regions on free 2025-03-19 07:06:55 -07:00
cgo runtime, runtime/cgo: use libc for sigaction syscalls when cgo is enabled on loong64 2025-03-17 18:30:39 -07:00
coverage cmd/preprofile, runtime/coverage: add package comment 2024-09-16 17:07:00 +00:00
debug crypto/internal/fips140: make Version return latest when not frozen 2025-03-07 11:33:03 -08:00
metrics cmd/go: allow symlinks of non-directory files in embed 2025-03-11 07:51:38 -07:00
msan runtime: route calls to msan_memmove through cgo 2025-02-25 21:41:00 -08:00
pprof runtime: skip TestCgoCallbackPprof on platforms with broken profiling 2025-03-17 06:04:15 -07:00
race runtime/race: detect when TestRace fails to run all tests, skip failures 2025-03-19 10:21:06 -07:00
testdata runtime: only set isExtraInC if there are no Go frames left 2025-03-14 12:54:11 -07:00
trace
HACKING.md runtime: update HACKING.md with execution traces and debuglog 2025-02-11 11:23:37 -08:00
Makefile
abi_test.go all: use testenv.Executable instead of os.Executable and os.Args[0] 2025-02-24 11:03:10 -08:00
alg.go internal/runtime/maps: proper capacity hint handling 2024-10-30 14:07:22 +00:00
align_runtime_test.go
align_test.go
arena.go runtime: decorate anonymous memory mappings 2025-03-04 11:22:33 -08:00
arena_test.go
asan.go runtime: in asan mode unregister root regions on free 2025-03-19 07:06:55 -07:00
asan0.go runtime: in asan mode unregister root regions on free 2025-03-19 07:06:55 -07:00
asan_amd64.s runtime: in asan mode unregister root regions on free 2025-03-19 07:06:55 -07:00
asan_arm64.s runtime: in asan mode unregister root regions on free 2025-03-19 07:06:55 -07:00
asan_loong64.s runtime: in asan mode unregister root regions on free 2025-03-19 07:06:55 -07:00
asan_ppc64le.s runtime: in asan mode unregister root regions on free 2025-03-19 07:06:55 -07:00
asan_riscv64.s runtime: in asan mode unregister root regions on free 2025-03-19 07:06:55 -07:00
asm.s runtime: cleanup crashstack code 2024-05-16 21:49:14 +00:00
asm_386.s runtime: remove ret field from gobuf 2025-02-26 14:48:55 -08:00
asm_amd64.h
asm_amd64.s cmd/compile, runtime: remove plan9 special case avoiding SSE 2025-03-11 14:11:35 -07:00
asm_arm.s runtime: remove ret field from gobuf 2025-02-26 14:48:55 -08:00
asm_arm64.s runtime: remove ret field from gobuf 2025-02-26 14:48:55 -08:00
asm_loong64.s runtime/cgo: use standard ABI call setg_gcc in crosscall1 on loong64 2025-02-26 17:36:57 -08:00
asm_mips64x.s runtime: remove ret field from gobuf 2025-02-26 14:48:55 -08:00
asm_mipsx.s runtime: remove ret field from gobuf 2025-02-26 14:48:55 -08:00
asm_ppc64x.h
asm_ppc64x.s runtime: remove ret field from gobuf 2025-02-26 14:48:55 -08:00
asm_riscv64.h cmd/go: add rva23u64 as a valid value for GORISCV64 2025-02-05 03:44:40 -08:00
asm_riscv64.s runtime: remove ret field from gobuf 2025-02-26 14:48:55 -08:00
asm_s390x.s runtime: remove ret field from gobuf 2025-02-26 14:48:55 -08:00
asm_wasm.s runtime: remove ret field from gobuf 2025-02-26 14:48:55 -08:00
atomic_arm64.s
atomic_loong64.s cmd/compile/internal: intrinsify publicationBarrier on loong64 2024-11-08 01:04:43 +00:00
atomic_mips64x.s
atomic_mipsx.s
atomic_pointer.go runtime/internal: clean up completely 2025-03-11 12:26:32 -07:00
atomic_ppc64x.s
atomic_riscv64.s
auxv_none.go
badlinkname.go all: document legacy //go:linkname for final round of modules 2024-05-29 17:58:53 +00:00
badlinkname_linux.go runtime: push vdsoClockgettimeSym linkname on linux/arm64 2024-05-21 14:47:42 +00:00
bitcursor_test.go runtime: get rid of gc programs for types 2024-11-18 20:36:14 +00:00
callers_test.go runtime: use slices and maps to clean up tests 2024-07-25 00:23:03 +00:00
cgo.go cmd/cgo: enable #cgo noescape/nocallback 2024-08-16 23:44:54 +00:00
cgo_mmap.go
cgo_ppc64x.go
cgo_sigaction.go runtime, runtime/cgo: use libc for sigaction syscalls when cgo is enabled on loong64 2025-03-17 18:30:39 -07:00
cgocall.go runtime: only set isExtraInC if there are no Go frames left 2025-03-14 12:54:11 -07:00
cgocallback.go
cgocheck.go runtime: get rid of gc programs for types 2024-11-18 20:36:14 +00:00
chan.go internal/synctest: new package for testing concurrent code 2024-11-19 19:40:40 +00:00
chan_test.go
chanbarrier_test.go runtime: parallel run test 2024-05-06 17:50:18 +00:00
checkptr.go all: document legacy //go:linkname for modules with ≥20,000 dependents 2024-05-23 00:18:55 +00:00
checkptr_test.go
closure_test.go
compiler.go
complex.go
complex_test.go
conv_wasm_test.go
coro.go internal/synctest: new package for testing concurrent code 2024-11-19 19:40:40 +00:00
coro_test.go runtime: skip coro cgo test on platforms without cgo 2024-05-17 21:36:37 +00:00
covercounter.go runtime/coverage: remove uses of //go:linkname 2024-05-21 19:41:02 +00:00
covermeta.go internal/coverage/cfile: remove more //go:linkname usage 2024-05-22 09:57:47 +00:00
cpuflags.go cmd/compiler,internal/runtime/atomic: optimize Cas{64,32} on loong64 2024-11-19 01:15:07 +00:00
cpuflags_amd64.go runtime: add ERMS-based memmove support for modern CPU platforms 2024-07-22 21:22:16 +00:00
cpuflags_arm64.go
cpuprof.go runtime,internal: move runtime/internal/sys to internal/runtime/sys 2024-07-23 19:05:35 +00:00
cputicks.go
crash_cgo_test.go runtime: add function runtime.cgoSigtramp support on loong64 and enable cgo-traceback testcases 2025-03-17 18:31:30 -07:00
crash_test.go all: surround -test.run arguments with ^$ 2025-02-25 10:58:29 -08:00
crash_unix_test.go all: use testenv.Executable instead of os.Executable and os.Args[0] 2025-02-24 11:03:10 -08:00
create_file_nounix.go
create_file_unix.go
debug.go runtime: add runtime.debugPinnerV1 2024-05-11 20:38:24 +00:00
debug_test.go all: skip and fix various tests with -asan and -msan 2024-10-28 21:04:51 +00:00
debugcall.go runtime: move getcallersp to internal/runtime/sys 2024-09-17 17:01:20 +00:00
debuglog.go runtime: decorate anonymous memory mappings 2025-03-04 11:22:33 -08:00
debuglog_off.go runtime: switch debuglog from const-toggled to type-toggled 2024-07-30 13:10:56 +00:00
debuglog_on.go runtime: switch debuglog from const-toggled to type-toggled 2024-07-30 13:10:56 +00:00
debuglog_test.go runtime: make TestDebugLogInterleaving much more robust 2024-07-30 17:16:52 +00:00
defer_test.go runtime: use slices and maps to clean up tests 2024-07-25 00:23:03 +00:00
defs1_linux.go
defs1_netbsd_386.go
defs1_netbsd_amd64.go
defs1_netbsd_arm.go
defs1_netbsd_arm64.go
defs1_solaris_amd64.go
defs2_linux.go
defs3_linux.go
defs_aix.go
defs_aix_ppc64.go
defs_arm_linux.go
defs_darwin.go
defs_darwin_amd64.go
defs_darwin_arm64.go
defs_dragonfly.go
defs_dragonfly_amd64.go
defs_freebsd.go
defs_freebsd_386.go
defs_freebsd_amd64.go
defs_freebsd_arm.go
defs_freebsd_arm64.go
defs_freebsd_riscv64.go
defs_illumos_amd64.go
defs_linux.go
defs_linux_386.go
defs_linux_amd64.go
defs_linux_arm.go
defs_linux_arm64.go
defs_linux_loong64.go runtime: add padding to Linux kernel structures sigcontext on loong64 2024-08-07 01:13:35 +00:00
defs_linux_mips64x.go
defs_linux_mipsx.go
defs_linux_ppc64.go
defs_linux_ppc64le.go
defs_linux_riscv64.go
defs_linux_s390x.go
defs_netbsd.go
defs_netbsd_386.go
defs_netbsd_amd64.go
defs_netbsd_arm.go
defs_openbsd.go
defs_openbsd_386.go
defs_openbsd_amd64.go
defs_openbsd_arm.go
defs_openbsd_arm64.go
defs_openbsd_mips64.go
defs_openbsd_ppc64.go
defs_openbsd_riscv64.go
defs_plan9_386.go
defs_plan9_amd64.go
defs_plan9_arm.go
defs_solaris.go
defs_solaris_amd64.go
defs_windows.go
defs_windows_386.go
defs_windows_amd64.go
defs_windows_arm.go
defs_windows_arm64.go
duff_386.s
duff_amd64.s
duff_arm.s
duff_arm64.s
duff_loong64.s
duff_mips64x.s
duff_ppc64x.s
duff_riscv64.s
duff_s390x.s
ehooks_test.go internal/runtime/exithook: make safe for concurrent os.Exit 2024-05-24 16:41:13 +00:00
env_plan9.go
env_posix.go all: document legacy //go:linkname for modules with ≥2,000 dependents 2024-05-23 01:16:47 +00:00
env_test.go
error.go runtime: move getcallerpc to internal/runtime/sys 2024-09-17 15:14:14 +00:00
example_test.go runtime: Added usage example for the runtime.AddCleanup() function. 2025-02-26 08:54:51 -08:00
export_aix_test.go
export_arm_test.go
export_darwin_test.go
export_debug_amd64_test.go
export_debug_arm64_test.go
export_debug_loong64_test.go runtime: add debug call injection support on loong64 2024-08-02 14:38:24 +00:00
export_debug_ppc64le_test.go
export_debug_test.go runtime: add debug call injection support on loong64 2024-08-02 14:38:24 +00:00
export_debuglog_test.go runtime: make TestDebugLogInterleaving much more robust 2024-07-30 17:16:52 +00:00
export_linux_test.go
export_map_noswiss_test.go all: wire up swisstable maps 2024-10-14 19:58:47 +00:00
export_map_swiss_test.go all: wire up swisstable maps 2024-10-14 19:58:47 +00:00
export_mmap_test.go
export_pipe2_test.go
export_pipe_test.go
export_test.go runtime: decorate anonymous memory mappings 2025-03-04 11:22:33 -08:00
export_unix_test.go
export_windows_test.go runtime: move getcallersp to internal/runtime/sys 2024-09-17 17:01:20 +00:00
extern.go internal/godebugs: add decoratemappings as an opaque godebug setting 2025-03-10 08:29:59 -07:00
fastlog2.go
fastlog2_test.go
fastlog2table.go
fds_nonunix.go
fds_test.go
fds_unix.go
float.go
float_test.go
funcdata.h
gc_test.go runtime: usleep in TestWeakToStrongMarkTermination 2024-12-16 08:57:31 -08:00
gcinfo_test.go runtime: get rid of gc programs for types 2024-11-18 20:36:14 +00:00
go_tls.h
hash32.go
hash64.go runtime,internal: move runtime/internal/math to internal/runtime/math 2024-07-23 19:05:16 +00:00
hash_test.go all: use testenv.Executable instead of os.Executable and os.Args[0] 2025-02-24 11:03:10 -08:00
heap_test.go
heapdump.go runtime: decorate anonymous memory mappings 2025-03-04 11:22:33 -08:00
histogram.go runtime,internal: move runtime/internal/sys to internal/runtime/sys 2024-07-23 19:05:35 +00:00
histogram_test.go
iface.go internal/abi: use arch family instead of arch string 2025-02-25 06:55:59 -08:00
iface_test.go
import_test.go
importx_test.go
ints.s runtime, reflect: avoid allocation in structType.Field common cases 2024-09-10 22:38:30 +00:00
lfstack.go
lfstack_test.go
libfuzzer.go
libfuzzer_amd64.s
libfuzzer_arm64.s
linkname.go cmd/cgo: enable #cgo noescape/nocallback 2024-08-16 23:44:54 +00:00
linkname_swiss.go runtime: mapiter linkname compatibility layer 2025-01-28 11:10:41 -08:00
linkname_unix.go cmd/link: disallow pull-only linknames 2024-05-15 19:57:43 +00:00
lock_futex.go runtime: allow futex OSes to use sema-based mutex 2024-11-15 21:15:59 +00:00
lock_futex_tristate.go runtime: unify lock2, allow deeper sleep 2024-11-15 21:16:04 +00:00
lock_js.go runtime: unify lock2, allow deeper sleep 2024-11-15 21:16:04 +00:00
lock_sema.go runtime: unify lock2, allow deeper sleep 2024-11-15 21:16:04 +00:00
lock_sema_tristate.go runtime: unify lock2, allow deeper sleep 2024-11-15 21:16:04 +00:00
lock_spinbit.go runtime: clean up new lock2 structure 2024-11-20 23:27:49 +00:00
lock_wasip1.go runtime: unify lock2, allow deeper sleep 2024-11-15 21:16:04 +00:00
lockrank.go internal/synctest: new package for testing concurrent code 2024-11-19 19:40:40 +00:00
lockrank_off.go runtime: mark lockWithRankMayAcquire as nosplit 2024-07-19 19:51:57 +00:00
lockrank_on.go runtime: always acquire M when acquiring locks by rank 2024-04-22 14:29:04 +00:00
lockrank_test.go
malloc.go runtime: remove nextSampleNoFP from plan9 2025-03-12 05:41:22 -07:00
malloc_test.go all: use testenv.Executable instead of os.Executable and os.Args[0] 2025-02-24 11:03:10 -08:00
map_benchmark_test.go runtime: fix MapCycle test 2024-11-18 18:27:41 +00:00
map_fast32_noswiss.go runtime: move getcallerpc to internal/runtime/sys 2024-09-17 15:14:14 +00:00
map_fast32_swiss.go runtime,internal/runtime/maps: specialized swissmaps 2024-10-30 15:14:31 +00:00
map_fast64_noswiss.go runtime: move getcallerpc to internal/runtime/sys 2024-09-17 15:14:14 +00:00
map_fast64_swiss.go runtime,internal/runtime/maps: specialized swissmaps 2024-10-30 15:14:31 +00:00
map_faststr_noswiss.go runtime: move getcallerpc to internal/runtime/sys 2024-09-17 15:14:14 +00:00
map_faststr_swiss.go runtime,internal/runtime/maps: specialized swissmaps 2024-10-30 15:14:31 +00:00
map_noswiss.go runtime: fix iterator returns map entries after clear (pre-swissmap) 2024-11-12 21:08:08 +00:00
map_noswiss_test.go runtime: fix iterator returns map entries after clear (pre-swissmap) 2024-11-12 21:08:08 +00:00
map_swiss.go runtime: mapiter linkname compatibility layer 2025-01-28 11:10:41 -08:00
map_swiss_test.go internal/runtime/maps: remove type fields 2024-10-29 18:54:17 +00:00
map_test.go all: use testenv.Executable instead of os.Executable and os.Args[0] 2025-02-24 11:03:10 -08:00
mbarrier.go all: fix some function names and typos in comment 2024-11-21 22:16:20 +00:00
mbitmap.go runtime: get rid of gc programs for types 2024-11-18 20:36:14 +00:00
mcache.go runtime: simplify mem profile checking in mallocgc 2024-10-21 15:46:39 +00:00
mcentral.go runtime: optimize 8-byte allocation pointer data writing 2024-10-21 14:47:08 +00:00
mcheckmark.go runtime: fix GODEBUG=gccheckmark=1 and add smoke test 2025-02-03 08:21:09 -08:00
mcleanup.go runtime: document that cleanups can run concurrently with each other 2025-02-26 11:35:44 -08:00
mcleanup_test.go runtime: fix the equality check in AddCleanup 2025-01-22 09:26:33 -08:00
mem.go runtime: in asan mode unregister root regions on free 2025-03-19 07:06:55 -07:00
mem_aix.go runtime: decorate anonymous memory mappings 2025-03-04 11:22:33 -08:00
mem_bsd.go runtime: decorate anonymous memory mappings 2025-03-04 11:22:33 -08:00
mem_darwin.go runtime: decorate anonymous memory mappings 2025-03-04 11:22:33 -08:00
mem_js.go
mem_linux.go runtime: decorate anonymous memory mappings 2025-03-04 11:22:33 -08:00
mem_nonsbrk.go runtime: reserve fewer memory for aligned reservation on sbrk systems 2024-10-25 17:13:47 +00:00
mem_plan9.go
mem_sbrk.go runtime: decorate anonymous memory mappings 2025-03-04 11:22:33 -08:00
mem_wasip1.go
mem_wasm.go runtime: (re)use unused linear memory on Wasm 2024-10-21 21:52:53 +00:00
mem_windows.go runtime: decorate anonymous memory mappings 2025-03-04 11:22:33 -08:00
memclr_386.s
memclr_amd64.s
memclr_arm.s
memclr_arm64.s runtime: memclrNoHeapPointers optimization for block alignment 2024-10-03 21:06:16 +00:00
memclr_loong64.s runtime: optimize the function memclrNoHeapPointers on loong64 2024-09-05 00:41:13 +00:00
memclr_mips64x.s
memclr_mipsx.s
memclr_plan9_386.s
memclr_plan9_amd64.s
memclr_ppc64x.s cmd/internal/obj/ppc64: support for extended mnemonics of BC 2024-10-29 13:14:38 +00:00
memclr_riscv64.s
memclr_s390x.s
memclr_wasm.s
memmove_386.s
memmove_amd64.s runtime: add ERMS-based memmove support for modern CPU platforms 2024-07-22 21:22:16 +00:00
memmove_arm.s
memmove_arm64.s
memmove_linux_amd64_test.go runtime: skip TestMemmoveOverflow with asan 2024-10-29 22:12:53 +00:00
memmove_loong64.s runtime: optimize the function memmove on loong64 2024-09-11 21:43:27 +00:00
memmove_mips64x.s
memmove_mipsx.s
memmove_plan9_386.s
memmove_plan9_amd64.s
memmove_ppc64x.s cmd/internal/obj/ppc64: support for extended mnemonics of BC 2024-10-29 13:14:38 +00:00
memmove_riscv64.s
memmove_s390x.s
memmove_test.go runtime: exclude allocation(s) from memmove/memclr benchmarking 2025-02-23 09:38:24 -08:00
memmove_wasm.s
metrics.go
metrics_test.go runtime: log profile when mutex profile test fails 2025-03-15 13:07:01 -07:00
mfinal.go runtime: minor mfinal.go code cleanup 2025-02-19 14:25:03 -08:00
mfinal_test.go all: skip and fix various tests with -asan and -msan 2024-10-28 21:04:51 +00:00
mfixalloc.go runtime,internal: move runtime/internal/sys to internal/runtime/sys 2024-07-23 19:05:35 +00:00
mgc.go runtime: minor mfinal.go code cleanup 2025-02-19 14:25:03 -08:00
mgclimit.go runtime: reduced struct sizes found via pahole 2024-04-22 22:07:41 +00:00
mgclimit_test.go
mgcmark.go runtime: fix GODEBUG=gccheckmark=1 and add smoke test 2025-02-03 08:21:09 -08:00
mgcpacer.go runtime: avoid futile mark worker acquisition 2024-08-01 21:11:15 +00:00
mgcpacer_test.go
mgcscavenge.go runtime,internal: move runtime/internal/sys to internal/runtime/sys 2024-07-23 19:05:35 +00:00
mgcscavenge_test.go
mgcstack.go runtime,internal: move runtime/internal/sys to internal/runtime/sys 2024-07-23 19:05:35 +00:00
mgcsweep.go weak: move internal/weak to weak, and update according to proposal 2024-11-18 22:29:23 +00:00
mgcwork.go runtime,internal: move runtime/internal/sys to internal/runtime/sys 2024-07-23 19:05:35 +00:00
mheap.go runtime: decorate anonymous memory mappings 2025-03-04 11:22:33 -08:00
minmax.go
minmax_test.go
mkduff.go
mkfastlog2table.go
mklockrank.go internal/synctest: new package for testing concurrent code 2024-11-19 19:40:40 +00:00
mkpreempt.go runtime: use return for async preemption resumption on arm64 2025-02-14 19:36:58 -08:00
mksizeclasses.go runtime: write out a batch with alignment info for traceallocfree 2024-05-22 20:31:27 +00:00
mmap.go
mpagealloc.go runtime: decorate anonymous memory mappings 2025-03-04 11:22:33 -08:00
mpagealloc_32bit.go runtime: decorate anonymous memory mappings 2025-03-04 11:22:33 -08:00
mpagealloc_64bit.go runtime: decorate anonymous memory mappings 2025-03-04 11:22:33 -08:00
mpagealloc_test.go
mpagecache.go runtime,internal: move runtime/internal/sys to internal/runtime/sys 2024-07-23 19:05:35 +00:00
mpagecache_test.go
mpallocbits.go runtime,internal: move runtime/internal/sys to internal/runtime/sys 2024-07-23 19:05:35 +00:00
mpallocbits_test.go
mprof.go runtime: decorate anonymous memory mappings 2025-03-04 11:22:33 -08:00
mranges.go
mranges_test.go
msan.go runtime: route calls to msan_memmove through cgo 2025-02-25 21:41:00 -08:00
msan0.go
msan_amd64.s runtime: route calls to msan_memmove through cgo 2025-02-25 21:41:00 -08:00
msan_arm64.s runtime: route calls to msan_memmove through cgo 2025-02-25 21:41:00 -08:00
msan_loong64.s runtime: route calls to msan_memmove through cgo 2025-02-25 21:41:00 -08:00
msize.go
mspanset.go
mstats.go
mwbbuf.go
nbpipe_pipe.go
nbpipe_pipe2.go
nbpipe_pipe_test.go
nbpipe_test.go
net_plan9.go
netpoll.go runtime: revise the documentation comments for netpoll 2024-10-21 13:40:40 +00:00
netpoll_aix.go runtime: revise the documentation comments for netpoll 2024-10-21 13:40:40 +00:00
netpoll_epoll.go runtime: revise the documentation comments for netpoll 2024-10-21 13:40:40 +00:00
netpoll_fake.go
netpoll_kqueue.go runtime: utilize EVFILT_USER more effectively 2024-11-21 16:24:21 +00:00
netpoll_kqueue_event.go runtime: utilize EVFILT_USER more effectively 2024-11-21 16:24:21 +00:00
netpoll_kqueue_pipe.go runtime: utilize EVFILT_USER more effectively 2024-11-21 16:24:21 +00:00
netpoll_os_test.go
netpoll_solaris.go runtime: revise the documentation comments for netpoll 2024-10-21 13:40:40 +00:00
netpoll_stub.go runtime: revise the documentation comments for netpoll 2024-10-21 13:40:40 +00:00
netpoll_wasip1.go runtime, syscall: use pointer types on wasmimport functions 2024-11-11 21:33:33 +00:00
netpoll_windows.go runtime: revise the documentation comments for netpoll 2024-10-21 13:40:40 +00:00
nonwindows_stub.go
norace_test.go
nosan_linux_test.go runtime: skip TestNewOSProc0 with asan and msan 2024-10-29 16:24:08 +00:00
note_js.go runtime: don't use maps in js note implementation 2024-08-01 19:13:58 +00:00
note_other.go runtime: don't use maps in js note implementation 2024-08-01 19:13:58 +00:00
numcpu_freebsd_test.go
os2_aix.go runtime: move getcallersp to internal/runtime/sys 2024-09-17 17:01:20 +00:00
os2_freebsd.go
os2_openbsd.go
os2_plan9.go
os2_solaris.go
os3_plan9.go runtime: make use of stringslite.{HasPrefix, HasSuffix} 2024-05-17 15:41:45 +00:00
os3_solaris.go
os_aix.go
os_android.go
os_darwin.go runtime: use arc4random_buf() for readRandom 2024-10-07 15:34:53 +00:00
os_darwin_arm64.go
os_dragonfly.go runtime: allow futex OSes to use sema-based mutex 2024-11-15 21:15:59 +00:00
os_freebsd.go runtime: decorate anonymous memory mappings 2025-03-04 11:22:33 -08:00
os_freebsd2.go
os_freebsd_amd64.go
os_freebsd_arm.go
os_freebsd_arm64.go
os_freebsd_noauxv.go
os_freebsd_riscv64.go
os_illumos.go
os_js.go
os_linux.go runtime: decorate anonymous memory mappings 2025-03-04 11:22:33 -08:00
os_linux_arm.go
os_linux_arm64.go
os_linux_be64.go
os_linux_generic.go
os_linux_loong64.go internal/cpu, runtime: make linux/loong64 HWCAP data available 2024-08-29 09:15:06 +00:00
os_linux_mips64x.go
os_linux_mipsx.go
os_linux_noauxv.go
os_linux_novdso.go
os_linux_ppc64x.go
os_linux_riscv64.go cpu/internal: provide runtime detection of RISC-V extensions on Linux 2025-02-05 03:47:25 -08:00
os_linux_s390x.go
os_linux_x86.go
os_netbsd.go
os_netbsd_386.go
os_netbsd_amd64.go
os_netbsd_arm.go
os_netbsd_arm64.go
os_nonopenbsd.go
os_only_solaris.go
os_openbsd.go runtime: overwrite startupRand instead of clearing it 2024-10-07 15:35:02 +00:00
os_openbsd_arm.go
os_openbsd_arm64.go
os_openbsd_libc.go
os_openbsd_mips64.go
os_openbsd_syscall.go
os_openbsd_syscall1.go
os_openbsd_syscall2.go
os_plan9.go runtime: make use of stringslite.{HasPrefix, HasSuffix} 2024-05-17 15:41:45 +00:00
os_plan9_arm.go
os_solaris.go runtime: move getcallersp to internal/runtime/sys 2024-09-17 17:01:20 +00:00
os_unix.go
os_unix_nonlinux.go os: ignore SIGSYS in checkPidfd 2024-09-26 13:17:09 +00:00
os_wasip1.go runtime, syscall: use pointer types on wasmimport functions 2024-11-11 21:33:33 +00:00
os_wasm.go runtime: (re)use unused linear memory on Wasm 2024-10-21 21:52:53 +00:00
os_windows.go runtime: move getcallersp to internal/runtime/sys 2024-09-17 17:01:20 +00:00
os_windows_arm.go
os_windows_arm64.go
panic.go runtime/internal: clean up completely 2025-03-11 12:26:32 -07:00
panic32.go runtime: move getcallerpc to internal/runtime/sys 2024-09-17 15:14:14 +00:00
panic_test.go runtime: properly frame panic values in tracebacks 2024-05-08 19:10:41 +00:00
panicnil_test.go
pinner.go runtime: make special offset a uintptr 2024-12-09 21:38:18 +00:00
pinner_test.go
plugin.go
preempt.go runtime/internal: clean up completely 2025-03-11 12:26:32 -07:00
preempt_386.s
preempt_amd64.s runtime: remove VZEROUPPER in asyncPreempt on darwin/amd64 2024-07-23 17:16:29 +00:00
preempt_arm.s
preempt_arm64.s runtime: use return for async preemption resumption on arm64 2025-02-14 19:36:58 -08:00
preempt_loong64.s
preempt_mips64x.s
preempt_mipsx.s
preempt_nonwindows.go
preempt_ppc64x.s
preempt_riscv64.s
preempt_s390x.s
preempt_wasm.s
print.go
proc.go runtime: in asan mode call __lsan_do_leak_check when exiting 2025-03-05 18:23:46 -08:00
proc_runtime_test.go
proc_test.go Revert "runtime: Goexit on C-created thread report more useful error message" 2024-09-10 23:32:53 +00:00
profbuf.go
profbuf_test.go runtime: use slices and maps to clean up tests 2024-07-25 00:23:03 +00:00
proflabel.go runtime: remove datadog-agent from prof labels hall of shame 2024-12-09 18:41:45 +00:00
race.go internal/runtime/maps: enable race for map functions in internal/runtime/maps 2024-10-30 14:59:34 +00:00
race0.go
race_amd64.s runtime: move getcallerpc to internal/runtime/sys 2024-09-17 15:14:14 +00:00
race_arm64.s sync/atomic: public And/Or ops and race instrumentation 2024-05-17 18:37:29 +00:00
race_ppc64le.s sync/atomic: public And/Or ops and race instrumentation 2024-05-17 18:37:29 +00:00
race_s390x.s sync/atomic: public And/Or ops and race instrumentation 2024-05-17 18:37:29 +00:00
rand.go internal/byteorder: use canonical Go casing in names 2024-11-20 20:59:28 +00:00
rand_test.go
rdebug.go
retry.go
rt0_aix_ppc64.s runtime: on AIX, fix call to _cgo_sys_thread_create in _rt0_ppc64_aix_lib 2024-08-20 13:01:47 +00:00
rt0_android_386.s
rt0_android_amd64.s
rt0_android_arm.s
rt0_android_arm64.s
rt0_darwin_amd64.s
rt0_darwin_arm64.s
rt0_dragonfly_amd64.s
rt0_freebsd_386.s
rt0_freebsd_amd64.s
rt0_freebsd_arm.s
rt0_freebsd_arm64.s
rt0_freebsd_riscv64.s
rt0_illumos_amd64.s
rt0_ios_amd64.s
rt0_ios_arm64.s
rt0_js_wasm.s cmd/link, runtime: support library mode on wasip1 2024-08-13 21:27:50 +00:00
rt0_linux_386.s
rt0_linux_amd64.s
rt0_linux_arm.s
rt0_linux_arm64.s
rt0_linux_loong64.s
rt0_linux_mips64x.s
rt0_linux_mipsx.s
rt0_linux_ppc64.s
rt0_linux_ppc64le.s all: convert PPC64 CMPx ...,R0,... to CMPx Rx,$0 2024-05-22 18:17:17 +00:00
rt0_linux_riscv64.s
rt0_linux_s390x.s
rt0_netbsd_386.s
rt0_netbsd_amd64.s
rt0_netbsd_arm.s
rt0_netbsd_arm64.s
rt0_openbsd_386.s
rt0_openbsd_amd64.s
rt0_openbsd_arm.s
rt0_openbsd_arm64.s
rt0_openbsd_mips64.s
rt0_openbsd_ppc64.s
rt0_openbsd_riscv64.s
rt0_plan9_386.s
rt0_plan9_amd64.s
rt0_plan9_arm.s
rt0_solaris_amd64.s
rt0_wasip1_wasm.s cmd/link, runtime: support library mode on wasip1 2024-08-13 21:27:50 +00:00
rt0_windows_386.s
rt0_windows_amd64.s
rt0_windows_arm.s
rt0_windows_arm64.s
runtime-gdb.py internal/runtime/maps: small maps point directly to a group 2024-10-28 20:35:25 +00:00
runtime-gdb_test.go runtime: increase GDB version testing requirement to 10 from 7.7 2025-03-11 20:07:53 -07:00
runtime-gdb_unix_test.go
runtime-lldb_test.go
runtime-seh_windows_test.go
runtime.go runtime: adjust comments for auxv getAuxv 2025-02-05 09:41:51 -08:00
runtime1.go internal/godebugs: add decoratemappings as an opaque godebug setting 2025-03-10 08:29:59 -07:00
runtime2.go runtime: only set isExtraInC if there are no Go frames left 2025-03-14 12:54:11 -07:00
runtime_boring.go runtime: remove unused fipstls_runtime_arg0 function 2025-02-18 09:03:18 -08:00
runtime_linux_test.go
runtime_mmap_test.go
runtime_test.go runtime: add test for mutex starvation 2024-11-14 22:05:16 +00:00
runtime_unix_test.go
rwmutex.go runtime: always acquire M when acquiring locks by rank 2024-04-22 14:29:04 +00:00
rwmutex_test.go
security_aix.go
security_issetugid.go
security_linux.go
security_nonunix.go
security_test.go
security_unix.go runtime: make use of stringslite.{HasPrefix, HasSuffix} 2024-05-17 15:41:45 +00:00
select.go internal/synctest: new package for testing concurrent code 2024-11-19 19:40:40 +00:00
sema.go internal/synctest: new package for testing concurrent code 2024-11-19 19:40:40 +00:00
sema_test.go
semasleep_test.go runtime: increase timeout in TestSpuriousWakeupsNeverHangSemasleep 2025-02-28 10:17:23 -08:00
set_vma_name_linux.go internal/godebugs: add decoratemappings as an opaque godebug setting 2025-03-10 08:29:59 -07:00
set_vma_name_stub.go runtime: decorate anonymous memory mappings 2025-03-04 11:22:33 -08:00
sigaction.go runtime, runtime/cgo: use libc for sigaction syscalls when cgo is enabled on loong64 2025-03-17 18:30:39 -07:00
signal_386.go
signal_aix_ppc64.go
signal_amd64.go
signal_arm.go
signal_arm64.go runtime,internal: move runtime/internal/sys to internal/runtime/sys 2024-07-23 19:05:35 +00:00
signal_darwin.go
signal_darwin_amd64.go
signal_darwin_arm64.go
signal_dragonfly.go
signal_dragonfly_amd64.go
signal_freebsd.go
signal_freebsd_386.go
signal_freebsd_amd64.go
signal_freebsd_arm.go
signal_freebsd_arm64.go
signal_freebsd_riscv64.go
signal_linux_386.go
signal_linux_amd64.go
signal_linux_arm.go
signal_linux_arm64.go
signal_linux_loong64.go
signal_linux_mips64x.go
signal_linux_mipsx.go
signal_linux_ppc64x.go
signal_linux_riscv64.go
signal_linux_s390x.go runtime,internal: move runtime/internal/sys to internal/runtime/sys 2024-07-23 19:05:35 +00:00
signal_loong64.go runtime: add debug call injection support on loong64 2024-08-02 14:38:24 +00:00
signal_mips64x.go
signal_mipsx.go runtime,internal: move runtime/internal/sys to internal/runtime/sys 2024-07-23 19:05:35 +00:00
signal_netbsd.go
signal_netbsd_386.go
signal_netbsd_amd64.go
signal_netbsd_arm.go
signal_netbsd_arm64.go
signal_openbsd.go
signal_openbsd_386.go
signal_openbsd_amd64.go
signal_openbsd_arm.go
signal_openbsd_arm64.go
signal_openbsd_mips64.go
signal_openbsd_ppc64.go
signal_openbsd_riscv64.go
signal_plan9.go
signal_ppc64x.go runtime,internal: move runtime/internal/sys to internal/runtime/sys 2024-07-23 19:05:35 +00:00
signal_riscv64.go
signal_solaris.go
signal_solaris_amd64.go
signal_unix.go runtime: use indirect call in adjustSignalStack to avoid nosplit overflow 2024-11-19 19:40:27 +00:00
signal_windows.go runtime,internal: move runtime/internal/sys to internal/runtime/sys 2024-07-23 19:05:35 +00:00
signal_windows_test.go
sigqueue.go
sigqueue_note.go
sigqueue_plan9.go
sigtab_aix.go
sigtab_linux_generic.go
sigtab_linux_mipsx.go
sizeclasses.go runtime: write out a batch with alignment info for traceallocfree 2024-05-22 20:31:27 +00:00
sizeof_test.go runtime: remove ret field from gobuf 2025-02-26 14:48:55 -08:00
slice.go runtime: move getcallerpc to internal/runtime/sys 2024-09-17 15:14:14 +00:00
slice_test.go
softfloat64.go
softfloat64_test.go
stack.go runtime: decorate anonymous memory mappings 2025-03-04 11:22:33 -08:00
stack_test.go
start_line_amd64_test.go runtime/internal: clean up completely 2025-03-11 12:26:32 -07:00
start_line_test.go
stkframe.go runtime: get rid of gc programs for types 2024-11-18 20:36:14 +00:00
string.go cmd/compile, runtime: optimize concatbytes 2025-02-25 12:23:56 -08:00
string_test.go
stubs.go cmd/compile, runtime: use PC of deferreturn for panic transfer 2025-02-25 08:35:38 -08:00
stubs2.go
stubs3.go
stubs_386.go
stubs_amd64.go
stubs_arm.go
stubs_arm64.go
stubs_linux.go
stubs_loong64.go
stubs_mips64x.go
stubs_mipsx.go
stubs_nonlinux.go
stubs_nonwasm.go cmd/link, runtime: support library mode on wasip1 2024-08-13 21:27:50 +00:00
stubs_ppc64.go
stubs_ppc64x.go
stubs_riscv64.go
stubs_s390x.go
stubs_wasm.go runtime: move getcallersp to internal/runtime/sys 2024-09-17 17:01:20 +00:00
symtab.go runtime: add some linknames back for `github.com/bytedance/sonic` 2025-02-18 10:23:57 -08:00
symtab_test.go
symtabinl.go all: document legacy //go:linkname for modules with ≥100 dependents 2024-05-29 16:25:21 +00:00
symtabinl_test.go cmd/compile: don't treat an InlMark as a read during deadstore 2024-07-23 20:55:24 +00:00
synctest.go runtime: establish happens-before between goroutine and bubble exit 2025-02-10 10:48:27 -08:00
synctest_test.go internal/synctest: new package for testing concurrent code 2024-11-19 19:40:40 +00:00
sys_aix_ppc64.s
sys_arm.go
sys_arm64.go
sys_darwin.go runtime: use arc4random_buf() for readRandom 2024-10-07 15:34:53 +00:00
sys_darwin_amd64.s runtime: use arc4random_buf() for readRandom 2024-10-07 15:34:53 +00:00
sys_darwin_arm64.go
sys_darwin_arm64.s runtime: use arc4random_buf() for readRandom 2024-10-07 15:34:53 +00:00
sys_dragonfly_amd64.s
sys_freebsd_386.s
sys_freebsd_amd64.s
sys_freebsd_arm.s
sys_freebsd_arm64.s
sys_freebsd_riscv64.s
sys_libc.go runtime: move getcallersp to internal/runtime/sys 2024-09-17 17:01:20 +00:00
sys_linux_386.s
sys_linux_amd64.s runtime: use vDSO for getrandom() on linux 2024-09-28 01:07:09 +00:00
sys_linux_arm.s
sys_linux_arm64.s runtime: use vDSO for getrandom() on linux 2024-09-28 01:07:09 +00:00
sys_linux_loong64.s runtime: add function runtime.cgoSigtramp support on loong64 and enable cgo-traceback testcases 2025-03-17 18:31:30 -07:00
sys_linux_mips64x.s
sys_linux_mipsx.s
sys_linux_ppc64x.s runtime: use vDSO for getrandom() on linux 2024-09-28 01:07:09 +00:00
sys_linux_riscv64.s runtime: using ABIInternal on syscall for riscv64 2024-11-25 02:23:41 +00:00
sys_linux_s390x.s runtime: fix usleep on s390x/linux 2025-02-13 11:05:31 -08:00
sys_loong64.go
sys_mips64x.go
sys_mipsx.go
sys_netbsd_386.s
sys_netbsd_amd64.s
sys_netbsd_arm.s
sys_netbsd_arm64.s
sys_nonppc64x.go
sys_openbsd.go
sys_openbsd1.go
sys_openbsd2.go
sys_openbsd3.go all: document legacy //go:linkname for modules with ≥100,000 dependents 2024-05-22 20:12:46 +00:00
sys_openbsd_386.s
sys_openbsd_amd64.s
sys_openbsd_arm.s
sys_openbsd_arm64.s
sys_openbsd_mips64.s
sys_openbsd_ppc64.s
sys_openbsd_riscv64.s
sys_plan9_386.s
sys_plan9_amd64.s
sys_plan9_arm.s
sys_ppc64x.go
sys_riscv64.go
sys_s390x.go
sys_solaris_amd64.s
sys_wasm.go cmd/internal/obj/wasm, runtime: detect wasmexport call before runtime initialization 2025-01-16 12:14:23 -08:00
sys_wasm.s runtime: (re)use unused linear memory on Wasm 2024-10-21 21:52:53 +00:00
sys_windows_386.s
sys_windows_amd64.s
sys_windows_arm.s runtime: fix nanotime1 on windows/arm 2024-08-22 17:12:38 +00:00
sys_windows_arm64.s
sys_x86.go
syscall2_solaris.go
syscall_aix.go
syscall_solaris.go
syscall_unix_test.go
syscall_windows.go runtime: reduce syscall.SyscallX stack usage 2024-10-11 17:16:18 +00:00
syscall_windows_test.go all: surround -test.run arguments with ^$ 2025-02-25 10:58:29 -08:00
tagptr.go
tagptr_32bit.go
tagptr_64bit.go
test_amd64.go
test_amd64.s
test_stubs.go
textflag.h
time.go runtime, time: don't use monotonic clock inside synctest bubbles 2025-03-18 10:50:51 -07:00
time_fake.go all: document legacy //go:linkname for modules with ≥5,000 dependents 2024-05-23 01:15:13 +00:00
time_linux_amd64.s internal/synctest: new package for testing concurrent code 2024-11-19 19:40:40 +00:00
time_nofake.go all: document legacy //go:linkname for modules with ≥200 dependents 2024-05-23 01:17:26 +00:00
time_test.go
time_windows.h
time_windows_386.s
time_windows_amd64.s
time_windows_arm.s
time_windows_arm64.s
timeasm.go
timestub.go all: document legacy //go:linkname for modules with ≥100 dependents 2024-05-29 16:25:21 +00:00
timestub2.go
tls_arm.s
tls_arm64.h
tls_arm64.s
tls_loong64.s
tls_mips64x.s
tls_mipsx.s
tls_ppc64x.s
tls_riscv64.s
tls_s390x.s
tls_stub.go
tls_windows_amd64.go
trace.go runtime: allow experimental trace batches to be reused 2024-07-26 18:46:28 +00:00
trace2map_test.go
trace_cgo_test.go cmd/trace,internal/trace,runtime: refactor to access frames via range over func 2024-09-23 15:02:42 +00:00
traceallocfree.go runtime: use internal/trace/tracev2 definitions 2025-02-11 11:23:24 -08:00
traceback.go internal/synctest: new package for testing concurrent code 2024-11-19 19:40:40 +00:00
traceback_system_test.go all: run gofmt 2025-02-03 09:55:31 -08:00
traceback_test.go
tracebackx_test.go
tracebuf.go runtime: decorate anonymous memory mappings 2025-03-04 11:22:33 -08:00
tracecpu.go runtime: use internal/trace/tracev2 definitions 2025-02-11 11:23:24 -08:00
traceevent.go runtime: use internal/trace/tracev2 definitions 2025-02-11 11:23:24 -08:00
tracemap.go runtime,internal: move runtime/internal/sys to internal/runtime/sys 2024-07-23 19:05:35 +00:00
traceregion.go runtime: decorate anonymous memory mappings 2025-03-04 11:22:33 -08:00
traceruntime.go runtime: use internal/trace/tracev2 definitions 2025-02-11 11:23:24 -08:00
tracestack.go runtime: use internal/trace/tracev2 definitions 2025-02-11 11:23:24 -08:00
tracestatus.go runtime: use internal/trace/tracev2 definitions 2025-02-11 11:23:24 -08:00
tracestring.go runtime: use internal/trace/tracev2 definitions 2025-02-11 11:23:24 -08:00
tracetime.go runtime: use internal/trace/tracev2 definitions 2025-02-11 11:23:24 -08:00
tracetype.go runtime: use internal/trace/tracev2 definitions 2025-02-11 11:23:24 -08:00
type.go cmd/link, runtime: apply a delta to RODATA->DATA relocations 2024-12-23 09:49:40 -08:00
typekind.go
unsafe.go runtime: move getcallerpc to internal/runtime/sys 2024-09-17 15:14:14 +00:00
unsafepoint_test.go
utf8.go
vdso_elf32.go
vdso_elf64.go
vdso_freebsd.go
vdso_freebsd_arm.go
vdso_freebsd_arm64.go
vdso_freebsd_riscv64.go
vdso_freebsd_x86.go
vdso_in_none.go
vdso_linux.go runtime: properly compute whether PC is inside vDSO pages 2024-09-26 16:51:09 +00:00
vdso_linux_386.go
vdso_linux_amd64.go runtime: use vDSO for getrandom() on linux 2024-09-28 01:07:09 +00:00
vdso_linux_arm.go
vdso_linux_arm64.go runtime: use vDSO for getrandom() on linux 2024-09-28 01:07:09 +00:00
vdso_linux_loong64.go runtime: use vDSO for getrandom() on linux 2024-09-28 01:07:09 +00:00
vdso_linux_mips64x.go
vdso_linux_ppc64x.go runtime: use vDSO for getrandom() on linux 2024-09-28 01:07:09 +00:00
vdso_linux_riscv64.go
vdso_linux_s390x.go runtime: use vDSO for getrandom() on linux 2024-09-28 01:07:09 +00:00
vdso_test.go runtime: in asan mode call __lsan_do_leak_check when exiting 2025-03-05 18:23:46 -08:00
vgetrandom_linux.go runtime: decorate anonymous memory mappings 2025-03-04 11:22:33 -08:00
vgetrandom_unsupported.go runtime: use vDSO for getrandom() on linux 2024-09-28 01:07:09 +00:00
vlop_386.s
vlop_arm.s
vlop_arm_test.go
vlrt.go
wincallback.go
write_err.go
write_err_android.go
zcallback_windows.go
zcallback_windows.s
zcallback_windows_arm.s
zcallback_windows_arm64.s