gcc/libgo/runtime
Ian Lance Taylor 2abacbaec7 re PR go/52583 (Several new go testsuite failues on Solaris)
PR go/52583
runtime: Stop backtrace at a few recognized functions.

On x86_64 Solaris the makecontext function does not properly
indicate that it is at the top of the stack.  Attempting to
unwind the stack past a call to makecontext tends to crash.
This patch changes libgo to look for certain functions that
are always found at the top of the stack, and to stop
unwinding when it reaches one of those functions.  There is
never anything interesting past these functions--that is,
there is never any code written by the user.

From-SVN: r211640
2014-06-13 13:56:14 +00:00
..
arch.h
array.h compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
chan.c runtime: Initialize variable to avoid compiler warning. 2014-06-10 00:36:38 +00:00
cpuprof.c libgo: Merge from revision 18783:00cce3a34d7e of master library. 2014-06-04 23:15:33 +00:00
defs.h
env_posix.c libgo: Merge to master revision 19184. 2014-06-06 22:37:27 +00:00
getncpu-bsd.c
getncpu-irix.c
getncpu-linux.c
getncpu-none.c
getncpu-solaris.c
go-alloc.h
go-append.c libgo: Merge to master revision 19184. 2014-06-06 22:37:27 +00:00
go-assert-interface.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-assert.c
go-assert.h
go-breakpoint.c re PR go/46986 (Go is not supported on Darwin) 2013-01-24 19:44:23 +00:00
go-byte-array-to-string.c libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
go-caller.c runtime: Update for change to libbacktrace library. 2013-11-19 15:02:27 +00:00
go-callers.c re PR go/52583 (Several new go testsuite failues on Solaris) 2014-06-13 13:56:14 +00:00
go-can-convert-interface.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-cdiv.c runtime: fix misc gcc-isms and undefined behavior 2014-05-28 23:10:47 +00:00
go-cgo.c runtime: Support cgo callbacks from threads started by C. 2013-07-23 20:26:09 +00:00
go-check-interface.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-construct-map.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-convert-interface.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-copy.c
go-defer.c libgo: Merge to master revision 19184. 2014-06-06 22:37:27 +00:00
go-defer.h libgo: Merge to master revision 19184. 2014-06-06 22:37:27 +00:00
go-deferred-recover.c
go-eface-compare.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-eface-val-compare.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-fieldtrack.c re PR go/46986 (Go is not supported on Darwin) 2013-01-24 19:44:23 +00:00
go-getgoroot.c re PR go/46986 (Go is not supported on Darwin) 2013-01-24 19:44:23 +00:00
go-int-array-to-string.c runtime: Fix handling of surrogate pairs in string([]rune). 2013-11-26 23:27:29 +00:00
go-int-to-string.c libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
go-interface-compare.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-interface-eface-compare.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-interface-val-compare.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-main.c libgo: Update to Go 1.1.1. 2013-07-16 06:54:42 +00:00
go-make-slice.c libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
go-map-delete.c runtime: Delete from a nil map is now a no-op. 2012-12-12 23:29:10 +00:00
go-map-index.c libgo: Update to Go 1.1.1. 2013-07-16 06:54:42 +00:00
go-map-len.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-map-range.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-matherr.c
go-memcmp.c compiler, runtime: Memcmp routine returns intgo. 2012-11-06 18:12:45 +00:00
go-nanotime.c
go-new-map.c compiler, libgo: Fixes to prepare for 64-bit int. 2012-11-06 18:28:21 +00:00
go-new.c libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
go-nosys.c runtime: Fix typo in dup3 fallback implementation. 2013-10-18 13:26:40 +00:00
go-now.c re PR go/46986 (Go is not supported on Darwin) 2013-01-24 19:44:23 +00:00
go-panic.c libgo: Merge to master revision 19184. 2014-06-06 22:37:27 +00:00
go-panic.h compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-print.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-recover.c compiler, reflect, runtime: Implement method values in reflect. 2013-12-12 01:08:52 +00:00
go-reflect-call.c reflect: Handle calls to functions that take or return empty structs 2013-11-19 02:30:03 +00:00
go-reflect-map.c libgo: Merge from revision 18783:00cce3a34d7e of master library. 2014-06-04 23:15:33 +00:00
go-rune.c compiler, libgo: Fixes to prepare for 64-bit int. 2012-11-06 18:28:21 +00:00
go-runtime-error.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-setenv.c libgo: Merge to master revision 19184. 2014-06-06 22:37:27 +00:00
go-signal.c runtime: Use pthread_sigmask instead of sigprocmask. 2013-12-04 01:35:53 +00:00
go-strcmp.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-string-to-byte-array.c libgo: Merge to master revision 19184. 2014-06-06 22:37:27 +00:00
go-string-to-int-array.c libgo: Merge to master revision 19184. 2014-06-06 22:37:27 +00:00
go-string.h compiler, libgo: Fixes to prepare for 64-bit int. 2012-11-06 18:28:21 +00:00
go-strplus.c libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
go-strslice.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-traceback.c runtime: In backtraces, get inline functions, skip split-stack fns. 2013-01-30 22:24:40 +00:00
go-trampoline.c libgo: Update to revision 15193:6fdc1974457c of master library. 2012-12-22 01:15:33 +00:00
go-type-complex.c runtime: fix misc gcc-isms and undefined behavior 2014-05-28 23:10:47 +00:00
go-type-eface.c
go-type-error.c
go-type-float.c runtime: fix misc gcc-isms and undefined behavior 2014-05-28 23:10:47 +00:00
go-type-identity.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-type-interface.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-type-string.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-type.h libgo: Merge from revision 18783:00cce3a34d7e of master library. 2014-06-04 23:15:33 +00:00
go-typedesc-equal.c compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
go-typestring.c re PR go/46986 (Go is not supported on Darwin) 2013-01-24 19:44:23 +00:00
go-unsafe-new.c libgo: Update to Go 1.1.1. 2013-07-16 06:54:42 +00:00
go-unsafe-newarray.c libgo: Update to Go 1.1.1. 2013-07-16 06:54:42 +00:00
go-unsafe-pointer.c libgo: Merge from revision 18783:00cce3a34d7e of master library. 2014-06-04 23:15:33 +00:00
go-unwind.c libgo: Merge to master revision 19184. 2014-06-06 22:37:27 +00:00
go-varargs.c libgo: Merge to master revision 19184. 2014-06-06 22:37:27 +00:00
goc2c.c runtime: Change main in goc2c to return int. 2013-02-07 22:24:34 +00:00
iface.goc
interface.h compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
lfstack.c libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
lock_futex.c libgo: Merge to master revision 19184. 2014-06-06 22:37:27 +00:00
lock_sema.c libgo: Merge to master revision 19184. 2014-06-06 22:37:27 +00:00
malloc.goc libgo: Merge to master revision 19184. 2014-06-06 22:37:27 +00:00
malloc.h libgo: Merge to master revision 19184. 2014-06-06 22:37:27 +00:00
map.goc
map.h
mcache.c libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
mcentral.c libgo: Merge to master revision 19184. 2014-06-06 22:37:27 +00:00
mem.c libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
mem_posix_memalign.c
mfixalloc.c libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
mgc0.c libgo: Merge to master revision 19184. 2014-06-06 22:37:27 +00:00
mgc0.h libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
mheap.c libgo: Merge to master revision 19184. 2014-06-06 22:37:27 +00:00
mprof.goc libgo: Merge to master revision 19184. 2014-06-06 22:37:27 +00:00
msize.c libgo: Merge to master revision 19184. 2014-06-06 22:37:27 +00:00
netpoll.goc libgo: Merge to master revision 19184. 2014-06-06 22:37:27 +00:00
netpoll_epoll.c libgo: Merge to master revision 19184. 2014-06-06 22:37:27 +00:00
netpoll_kqueue.c libgo: Merge to master revision 19184. 2014-06-06 22:37:27 +00:00
netpoll_select.c libgo: Merge to master revision 19184. 2014-06-06 22:37:27 +00:00
netpoll_stub.c libgo: Merge to master revision 19184. 2014-06-06 22:37:27 +00:00
panic.c libgo: Merge to master revision 19184. 2014-06-06 22:37:27 +00:00
parfor.c libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
print.c libgo: Merge from revision 18783:00cce3a34d7e of master library. 2014-06-04 23:15:33 +00:00
proc.c re PR go/61498 (Many 64-bit Go tests SEGV in scanblock) 2014-06-13 13:50:13 +00:00
race.h libgo: Merge to master revision 19184. 2014-06-06 22:37:27 +00:00
reflect.goc compiler, runtime: More steps toward separating int and intgo. 2012-11-01 03:02:13 +00:00
rtems-task-variable-add.c
runtime.c libgo: Merge to master revision 19184. 2014-06-06 22:37:27 +00:00
runtime.h libgo: Merge to master revision 19184. 2014-06-06 22:37:27 +00:00
runtime1.goc libgo: Update to current sources. 2012-10-23 04:31:11 +00:00
sema.goc libgo: Merge to master revision 19184. 2014-06-06 22:37:27 +00:00
signal_unix.c libgo: Merge to master revision 19184. 2014-06-06 22:37:27 +00:00
signal_unix.h libgo: Update to Go 1.1.1. 2013-07-16 06:54:42 +00:00
sigqueue.goc libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
string.goc libgo: Merge to master revision 19184. 2014-06-06 22:37:27 +00:00
thread-linux.c libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
thread-sema.c
thread.c libgo: Update to Go 1.1.1. 2013-07-16 06:54:42 +00:00
time.goc libgo: Merge to master revision 19184. 2014-06-06 22:37:27 +00:00
yield.c runtime: Use _mm_pause rather than __builtin_ia32_pause. 2014-05-30 13:53:58 +00:00