gcc/libgo/runtime
Ian Lance Taylor 6bd37418a3 runtime: abort stack scan in cases that we cannot unwind the stack
In signal-triggered stack scan, if the signal is delivered at
    certain bad time (e.g. in vdso, or in the middle of setcontext?),
    the unwinder may not be able to unwind the whole stack, while it
    still reports _URC_END_OF_STACK. So we cannot rely on _URC_END_OF_STACK
    to tell if it successfully scanned the stack. Instead, we check
    the last Go frame to see it actually reached the end of the stack.
    For Go-created stack, this is runtime.kickoff. For C-created
    stack, we need to record the outermost Go frame when it enters
    the Go side.
    
    Also we cannot unwind the stack if the signal is delivered in the
    middle of runtime.gogo, halfway through a goroutine switch, where
    the g and the stack don't match. Give up in this case as well.
    
    Reviewed-on: https://go-review.googlesource.com/c/159098

From-SVN: r269018
2019-02-19 15:32:34 +00:00
..
aeshash.c
arch.h
array.h
defs.h
env_posix.c libgo: add hurd build tags 2019-02-01 21:57:36 +00:00
getncpu-aix.c
getncpu-bsd.c
getncpu-hurd.c runtime: add getproccount for hurd 2019-02-01 22:55:55 +00:00
getncpu-irix.c
getncpu-linux.c
getncpu-none.c
getncpu-solaris.c
go-assert.c
go-assert.h
go-caller.c compiler, runtime: harmonize types referenced by both C and Go 2019-02-15 01:57:51 +00:00
go-callers.c compiler, runtime: harmonize types referenced by both C and Go 2019-02-15 01:57:51 +00:00
go-cdiv.c
go-cgo.c
go-construct-map.c
go-ffi.c
go-fieldtrack.c
go-libmain.c compiler, runtime: harmonize types referenced by both C and Go 2019-02-15 01:57:51 +00:00
go-main.c compiler, runtime: harmonize types referenced by both C and Go 2019-02-15 01:57:51 +00:00
go-matherr.c
go-memclr.c
go-memcmp.c
go-memequal.c
go-memmove.c
go-nanotime.c
go-nosys.c
go-now.c
go-reflect-call.c compiler, runtime: harmonize types referenced by both C and Go 2019-02-15 01:57:51 +00:00
go-runtime-error.c
go-setenv.c
go-signal.c
go-string.h
go-strslice.c
go-type.h
go-typedesc-equal.c
go-unsafe-pointer.c
go-unsetenv.c
go-unwind.c runtime: abort stack scan in cases that we cannot unwind the stack 2019-02-19 15:32:34 +00:00
go-varargs.c runtime: include <syscall.h> and <sys/syscall.h> if available 2019-02-15 14:25:12 +00:00
panic.c compiler, runtime: harmonize types referenced by both C and Go 2019-02-15 01:57:51 +00:00
print.c
proc.c
rtems-task-variable-add.c
runtime_c.c
runtime.h compiler,runtime: use __builtin_dwarf_cfa for getcallersp 2019-02-15 23:22:29 +00:00
stack.c runtime: add type cast for non-split-stack calls to scanstackblock 2019-02-15 13:54:45 +00:00
yield.c