gcc/libgo/runtime
Ian Lance Taylor 7b9f5ceef1 runtime: don't crash if signal handler info argument is nil
Apparently on Solaris 10 a SA_SIGINFO signal handler can be invoked with
    a nil info argument.  I would not have believed it but I've now seen it
    happen, and the sigaction man page actually says "If the second argument
    is not equal to NULL, it points to a siginfo_t structure...."  So, if
    that happens, don't crash.
    
    Also fix another case where we want to make sure that &T{} does not
    allocate.
    
    Reviewed-on: https://go-review.googlesource.com/33150

From-SVN: r242403
2016-11-14 23:16:04 +00:00
..
arch.h
array.h
defs.h
env_posix.c runtime: copy runtime.go and runtime1.go from Go 1.7 2016-09-29 00:56:44 +00:00
getncpu-bsd.c
getncpu-irix.c
getncpu-linux.c
getncpu-none.c
getncpu-solaris.c
go-alloc.h
go-assert.c
go-assert.h
go-breakpoint.c
go-caller.c runtime: just do file/line lookup in C, move Func to Go 2016-10-14 17:20:40 +00:00
go-callers.c compiler, runtime: mark stub methods, ignore them in runtime.Caller. 2016-02-03 06:54:41 +00:00
go-cdiv.c
go-cgo.c runtime: rewrite interface code into Go 2016-10-20 18:51:35 +00:00
go-construct-map.c compiler, runtime: replace hashmap code with Go 1.7 hashmap 2016-09-21 20:58:51 +00:00
go-defer.c runtime: use -fgo-c-header to build C header file 2016-08-30 21:07:47 +00:00
go-deferred-recover.c runtime: rewrite interface code into Go 2016-10-20 18:51:35 +00:00
go-ffi.c re PR go/72814 (reflect FAILs on 32-bit Solaris/SPARC: SIGILL) 2016-08-08 19:53:44 +00:00
go-ffi.h
go-fieldtrack.c compiler, runtime: replace hashmap code with Go 1.7 hashmap 2016-09-21 20:58:51 +00:00
go-libmain.c runtime: For c-archive/c-shared, install signal handlers synchronously. 2016-02-12 22:10:09 +00:00
go-main.c re PR go/69357 (libgo refers to _end in a non-weak way) 2016-02-09 00:34:55 +00:00
go-matherr.c
go-memclr.c compiler, runtime: replace hashmap code with Go 1.7 hashmap 2016-09-21 20:58:51 +00:00
go-memcmp.c
go-memequal.c compiler, runtime: replace hashmap code with Go 1.7 hashmap 2016-09-21 20:58:51 +00:00
go-memmove.c compiler, runtime: replace hashmap code with Go 1.7 hashmap 2016-09-21 20:58:51 +00:00
go-nanotime.c runtime: copy runtime package time code from Go 1.7 2016-10-15 00:29:06 +00:00
go-new.c
go-nosys.c libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
go-now.c re PR go/66574 (Time is provided in millisecond precision instead of nanoseconds as described in go documentation) 2015-11-21 01:27:44 +00:00
go-panic.c runtime: rewrite interface code into Go 2016-10-20 18:51:35 +00:00
go-panic.h runtime: rewrite interface code into Go 2016-10-20 18:51:35 +00:00
go-recover.c runtime: rewrite interface code into Go 2016-10-20 18:51:35 +00:00
go-reflect-call.c re PR go/68496 ([libgo] reflect test fails on Linux x86-64) 2015-11-23 21:17:45 +00:00
go-runtime-error.c
go-setenv.c
go-signal.c runtime: don't crash if signal handler info argument is nil 2016-11-14 23:16:04 +00:00
go-string.h
go-strslice.c runtime: rewrite interface code into Go 2016-10-20 18:51:35 +00:00
go-trampoline.c
go-type-complex.c compiler, runtime: replace hashmap code with Go 1.7 hashmap 2016-09-21 20:58:51 +00:00
go-type-float.c compiler, runtime: replace hashmap code with Go 1.7 hashmap 2016-09-21 20:58:51 +00:00
go-type-identity.c compiler, runtime: replace hashmap code with Go 1.7 hashmap 2016-09-21 20:58:51 +00:00
go-type-string.c compiler, runtime: replace hashmap code with Go 1.7 hashmap 2016-09-21 20:58:51 +00:00
go-type.h compiler, runtime: replace hashmap code with Go 1.7 hashmap 2016-09-21 20:58:51 +00:00
go-typedesc-equal.c
go-unsafe-new.c runtime: rewrite interface code into Go 2016-10-20 18:51:35 +00:00
go-unsafe-newarray.c runtime: rewrite interface code into Go 2016-10-20 18:51:35 +00:00
go-unsafe-pointer.c compiler, reflect, runtime: remove zero field from type descriptor 2015-10-29 18:14:50 +00:00
go-unsetenv.c
go-unwind.c runtime: rewrite interface code into Go 2016-10-20 18:51:35 +00:00
go-varargs.c libgo: Solaris portability fixes. 2015-11-06 19:15:45 +00:00
goc2c.c
heapdump.c runtime: rewrite interface code into Go 2016-10-20 18:51:35 +00:00
malloc.goc compiler, runtime: copy slice code from Go 1.7 runtime 2016-10-28 22:34:47 +00:00
malloc.h runtime: copy netpoll code from Go 1.7 runtime 2016-10-18 14:38:29 +00:00
mcache.c runtime: use -fgo-c-header to build C header file 2016-08-30 21:07:47 +00:00
mcentral.c compiler, runtime: replace hashmap code with Go 1.7 hashmap 2016-09-21 20:58:51 +00:00
mem_posix_memalign.c runtime: copy mstats code from Go 1.7 runtime 2016-10-13 15:24:50 +00:00
mem.c
mfixalloc.c
mgc0.c runtime: rewrite interface code into Go 2016-10-20 18:51:35 +00:00
mgc0.h
mheap.c runtime: copy mstats code from Go 1.7 runtime 2016-10-13 15:24:50 +00:00
msize.c runtime: copy mstats code from Go 1.7 runtime 2016-10-13 15:24:50 +00:00
panic.c runtime: copy signal code from Go 1.7 runtime 2016-11-10 22:53:23 +00:00
parfor.c runtime: Remove now unnecessary pad field from ParFor. 2015-10-31 00:59:47 +00:00
print.c runtime: copy print/println support from Go 1.7 2016-10-10 23:13:39 +00:00
proc.c runtime: copy signal code from Go 1.7 runtime 2016-11-10 22:53:23 +00:00
rtems-task-variable-add.c
runtime1.goc runtime: rewrite interface code into Go 2016-10-20 18:51:35 +00:00
runtime_c.c libgo: eliminate a lot of duplication in Makefile.am 2016-10-30 16:45:34 +00:00
runtime.h runtime: copy signal code from Go 1.7 runtime 2016-11-10 22:53:23 +00:00
thread-linux.c runtime: copy signal code from Go 1.7 runtime 2016-11-10 22:53:23 +00:00
thread-sema.c runtime: copy internal locking code from Go 1.7 runtime 2016-09-30 13:45:08 +00:00
thread.c
yield.c runtime: copy signal code from Go 1.7 runtime 2016-11-10 22:53:23 +00:00