gcc/gcc/go
Ian Lance Taylor f6be1179bb runtime: prevent deadlock when profiling signal arrives during traceback
Traceback routines, e.g. callers and funcentry, may call
    __go_get_backtrace_state. If a profiling signal arrives while we
    are in the critical section of __go_get_backtrace_state, it tries
    to do a traceback, which also calls __go_get_backtrace_state,
    which tries to enter the same critical section and will deadlock.
    Prevent this deadlock by setting up runtime_in_callers before
    calling __go_get_backtrace_state.
    
    Found while investigating golang/go#29448. Will add a test in the
    next CL.
    
    Updates golang/go#29448.
    
    Reviewed-on: https://go-review.googlesource.com/c/156037

From-SVN: r267590
2019-01-05 00:40:04 +00:00
..
gofrontend runtime: prevent deadlock when profiling signal arrives during traceback 2019-01-05 00:40:04 +00:00
ChangeLog Update copyright years. 2019-01-01 13:31:55 +01:00
Make-lang.in Update copyright years. 2019-01-01 13:31:55 +01:00
README.gcc
config-lang.in Update copyright years. 2019-01-01 13:31:55 +01:00
gccgo.texi gcc.c (process_command): Update copyright notice dates. 2019-01-01 12:34:49 +01:00
go-backend.c Update copyright years. 2019-01-01 13:31:55 +01:00
go-c.h Update copyright years. 2019-01-01 13:31:55 +01:00
go-gcc-diagnostics.cc Update copyright years. 2019-01-01 13:31:55 +01:00
go-gcc.cc Update copyright years. 2019-01-01 13:31:55 +01:00
go-gcc.h Update copyright years. 2019-01-01 13:31:55 +01:00
go-lang.c Update copyright years. 2019-01-01 13:31:55 +01:00
go-linemap.cc Eliminate source_location in favor of location_t 2018-11-13 20:05:03 +00:00
go-location.h Eliminate source_location in favor of location_t 2018-11-13 20:05:03 +00:00
go-sha1.cc Update copyright years. 2019-01-01 13:31:55 +01:00
go-system.h Update copyright years. 2019-01-01 13:31:55 +01:00
gospec.c Update copyright years. 2019-01-01 13:31:55 +01:00
lang-specs.h Update copyright years. 2019-01-01 13:31:55 +01:00
lang.opt Update copyright years. 2019-01-01 13:31:55 +01:00

README.gcc

The files in the gofrontend subdirectory are mirrored from the
gofrontend project hosted at http://code.google.com/p/gofrontend.
These files are the ones in the go subdirectory of that project.