gcc/libgo/go/runtime
Ian Lance Taylor 3b0ddadf74 runtime: change some stack fields to uintptr
Because of how gccgo implements cgo calls, the code in dropm may not
    have any write barriers.  As a step toward implementing that, change
    the gcstack, gcnextsegment, and gcnextsp fields of the g struct to
    uintptr, so that assignments to them do not require write barriers.
    The gcinitialsp field remains unsafe.Pointer, as on 32-bit systems
    that do not support split stack it points to a heap allocated space
    used for the goroutine stack.
    
    The test for this is runtime tests like TestCgoCallbackGC, which are
    not run today but will be run with a future gotools patch.
    
    Reviewed-on: https://go-review.googlesource.com/46396

From-SVN: r249561
2017-06-22 14:44:30 +00:00
..
debug libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
internal libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
msan
pprof Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
testdata runtime: don't build test files that use SetCgoTraceback for gccgo 2017-06-22 14:27:09 +00:00
trace libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
alg.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
append_test.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
callers_test.go
cgo_gccgo.go runtime: ignore _Gscan bit when checking status in CgocallDone 2017-06-12 23:14:05 +00:00
cgocall.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
cgocheck.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
chan_test.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
chan.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
chanbarrier_test.go
closure_test.go
compiler.go
complex_test.go
cpuprof.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
cputicks.go
crash_cgo_test.go runtime: adjust tests for gofrontend 2017-06-22 14:28:57 +00:00
crash_nonunix_test.go
crash_test.go runtime: adjust tests for gofrontend 2017-06-22 14:28:57 +00:00
crash_unix_test.go runtime: adjust tests for gofrontend 2017-06-22 14:28:57 +00:00
debug.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
env_posix.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
env_test.go
error.go
export_arm_test.go
export_linux_test.go
export_mmap_test.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
export_test.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
export_windows_test.go
extern.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
fastlog2_test.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
fastlog2.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
fastlog2table.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
ffi.go
gc_test.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
gcinfo_test.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
hash32.go libgo: remove old MIPS architecture names 2017-06-21 22:11:04 +00:00
hash64.go libgo: remove old MIPS architecture names 2017-06-21 22:11:04 +00:00
hash_test.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
hashmap_fast.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
hashmap.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
heapdump.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
iface_test.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
iface.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
lfstack_32bit.go libgo: remove old MIPS architecture names 2017-06-21 22:11:04 +00:00
lfstack_64bit.go libgo: remove old MIPS architecture names 2017-06-21 22:11:04 +00:00
lfstack_test.go
lfstack.go
lock_futex.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
lock_sema.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
malloc_test.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
malloc.go libgo: update to 1.8.3 release 2017-06-08 19:02:12 +00:00
map_test.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
mapspeed_test.go
mbarrier.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
mbitmap.go libgo: update to 1.8.3 release 2017-06-08 19:02:12 +00:00
mcache.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
mcentral.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
mem_gccgo.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
memmove_linux_amd64_test.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
memmove_test.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
mfinal_test.go
mfinal.go runtime: fix isSystemGoroutine for gccgo 2017-05-11 20:55:41 +00:00
mfixalloc.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
mgc_gccgo.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
mgc.go libgo: update to 1.8.3 release 2017-06-08 19:02:12 +00:00
mgcmark.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
mgcsweep.go runtime: fix isSystemGoroutine for gccgo 2017-05-11 20:55:41 +00:00
mgcsweepbuf.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
mgcwork.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
mheap.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
mkfastlog2table.go
mksizeclasses.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
mprof.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
msan0.go
msize.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
mstats.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
mstkbar.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
net_plan9.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
netpoll_aix.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
netpoll_epoll.go
netpoll_kqueue.go
netpoll_nacl.go
netpoll_solaris.go
netpoll_stub.go
netpoll_windows.go
netpoll.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
norace_test.go
os_aix.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
os_darwin.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
os_dragonfly.go
os_freebsd.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
os_gccgo.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
os_linux_ppc64x.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
os_linux.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
os_netbsd.go
os_openbsd.go
os_solaris.go
panic.go runtime: avoid write barriers when calling deferred function 2017-06-22 14:33:13 +00:00
print.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
proc_runtime_test.go
proc_test.go
proc.go runtime: change some stack fields to uintptr 2017-06-22 14:44:30 +00:00
race0.go
rdebug.go
runtime1.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
runtime2.go runtime: change some stack fields to uintptr 2017-06-22 14:44:30 +00:00
runtime_mmap_test.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
runtime_test.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
runtime_unix_test.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
runtime-lldb_test.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
runtime.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
select.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
sema.go libgo: update to Go 1.8.1 release 2017-04-17 22:10:58 +00:00
signal_gccgo.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
signal_sighandler.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
signal_unix.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
sigqueue.go
sizeclasses.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
slice.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
stack.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
string_test.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
string.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
stubs2.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
stubs.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
symtab_test.go
symtab.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
time.go runtime: fix isSystemGoroutine for gccgo 2017-05-11 20:55:41 +00:00
trace.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
traceback_gccgo.go runtime: in traceback, print panic rather than runtime.gopanic 2017-06-22 04:16:23 +00:00
type.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
typekind.go
unaligned1.go
unaligned2.go libgo: remove old MIPS architecture names 2017-06-21 22:11:04 +00:00
utf8.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
vdso_none.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
write_err_android.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
write_err.go