This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r242715 - in /trunk: gcc/go/ChangeLog gcc/go/go...


Author: ian
Date: Tue Nov 22 17:58:04 2016
New Revision: 242715

URL: https://gcc.gnu.org/viewcvs?rev=242715&root=gcc&view=rev
Log:
    runtime: rewrite panic/defer code from C to Go
    
    The actual stack unwind code is still in C, but the rest of the code,
    notably all the memory allocation, is now in Go.  The names are changed
    to the names used in the Go 1.7 runtime, but the code is necessarily
    somewhat different.
    
    The __go_makefunc_can_recover function is dropped, as the uses of it
    were removed in https://golang.org/cl/198770044.
    
    Reviewed-on: https://go-review.googlesource.com/33414

Removed:
    trunk/libgo/runtime/go-defer.c
    trunk/libgo/runtime/go-deferred-recover.c
    trunk/libgo/runtime/go-panic.c
    trunk/libgo/runtime/go-panic.h
    trunk/libgo/runtime/go-recover.c
Modified:
    trunk/gcc/go/ChangeLog
    trunk/gcc/go/go-gcc.cc
    trunk/gcc/go/gofrontend/MERGE
    trunk/gcc/go/gofrontend/backend.h
    trunk/gcc/go/gofrontend/escape.cc
    trunk/gcc/go/gofrontend/expressions.cc
    trunk/gcc/go/gofrontend/gogo.cc
    trunk/gcc/go/gofrontend/runtime.def
    trunk/gcc/go/gofrontend/statements.cc
    trunk/libgo/Makefile.am
    trunk/libgo/Makefile.in
    trunk/libgo/go/reflect/makefunc_ffi_c.c
    trunk/libgo/go/runtime/error.go
    trunk/libgo/go/runtime/extern.go
    trunk/libgo/go/runtime/panic.go
    trunk/libgo/go/runtime/runtime2.go
    trunk/libgo/go/runtime/stubs.go
    trunk/libgo/runtime/go-cgo.c
    trunk/libgo/runtime/go-signal.c
    trunk/libgo/runtime/go-strslice.c
    trunk/libgo/runtime/go-unwind.c
    trunk/libgo/runtime/heapdump.c
    trunk/libgo/runtime/mgc0.c
    trunk/libgo/runtime/panic.c
    trunk/libgo/runtime/proc.c
    trunk/libgo/runtime/runtime.h


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]