gcc/libitm
Torvald Riegel 258c1d0722 Support __cxa_free_exception and fix exception handling.
gcc/cp/
	* except.c (do_free_exception): Use transactional wrapper.

	libitm/
	* testsuite/libitm.c++/eh-5.C: New.
	* libitm.h (_ITM_cxa_free_exception): New.
	* libitm.map (_ITM_cxa_free_exception): Add it.
	* libitm.texi: Update ABI docs.
	* libitm_i.h (gtm_transaction_cp::cxa_unthrown): Remove.
	(gtm_transaction_cp::cxa_uncaught_count): Add.
	(gtm_thread::cxa_unthrown): Remove.
	(gtm_thread::cxa_uncaught_count_ptr): Add.
	(gtm_thread::cxa_uncaught_count): Add.
	(gtm_thread::drop_references_allocations): Rename to...
	(gtm_thread::discard_allocation): ... this and adapt.
	(gtm_thread::init_cpp_exceptions): New.
	* beginend.cc (gtm_thread::gtm_thread): Adapt EH handling.
	(gtm_thread::begin_transaction): Likewise.
	(gtm_transaction_cp::save): Likewise.
	(gtm_thread::trycommit): Likewise.
	* eh_cpp.cc: Add overview comments.
	(__cxa_eh_globals, __cxa_get_globals, __cxa_free_exception): Declare.
	(free_any_exception, _ITM_cxa_free_exception): New.
	(gtm_thread::init_cpp_exceptions): Define.
	(_ITM_cxa_allocate_exception, _ITM_cxa_throw): Adapt.
	(_ITM_cxa_begin_catch, _ITM_cxa_end_catch): Likewise.
	(gtm_thread::revert_cpp_exceptions): Likewise.

From-SVN: r230634
2015-11-20 00:10:08 +00:00
..
config config.gcc: Handle --enable-fdpic. 2015-10-27 13:36:47 +00:00
testsuite Support __cxa_free_exception and fix exception handling. 2015-11-20 00:10:08 +00:00
aatree.cc
aatree.h
acinclude.m4
aclocal.m4 libitm: Bump to automake 1.11.6 2015-05-13 11:25:28 +00:00
alloc_c.cc
alloc_cpp.cc Support sized delete. 2015-11-09 17:30:24 +00:00
alloc.cc Support sized delete. 2015-11-09 17:30:24 +00:00
barrier.cc
beginend.cc Support __cxa_free_exception and fix exception handling. 2015-11-20 00:10:08 +00:00
ChangeLog Support __cxa_free_exception and fix exception handling. 2015-11-20 00:10:08 +00:00
clone.cc
common.h
config.h.in
configure libitm: Bump to automake 1.11.6 2015-05-13 11:25:28 +00:00
configure.ac
configure.tgt
containers.h
dispatch.h
eh_cpp.cc Support __cxa_free_exception and fix exception handling. 2015-11-20 00:10:08 +00:00
libitm_i.h Support __cxa_free_exception and fix exception handling. 2015-11-20 00:10:08 +00:00
libitm.h Support __cxa_free_exception and fix exception handling. 2015-11-20 00:10:08 +00:00
libitm.map Support __cxa_free_exception and fix exception handling. 2015-11-20 00:10:08 +00:00
libitm.spec.in
libitm.texi Support __cxa_free_exception and fix exception handling. 2015-11-20 00:10:08 +00:00
local_atomic libitm: Don't redefine __always_inline in local_atomic. 2015-08-20 17:55:24 +00:00
local_type_traits
local.cc
Makefile.am
Makefile.in libitm: Bump to automake 1.11.6 2015-05-13 11:25:28 +00:00
method-gl.cc
method-ml.cc
method-serial.cc
query.cc
retry.cc
stmlock.h
useraction.cc
util.cc