gcc/libitm
Torvald Riegel 07b6642b93 libitm: Filter out undo writes that overlap with the libitm stack.
PR libitm/51855
	* config/generic/tls.h (GTM::mask_stack_top): New.
	(GTM::mask_stack_bottom): Declare.
	* config/generic/tls.c (GTM::mask_stack_bottom): New.
	* local.cc (gtm_undolog::rollback): Filter out any updates that
	overlap the libitm stack.  Add current transaction as parameter.
	* libitm_i.h (GTM::gtm_undolog::rollback): Adapt.
	* beginend.cc (GTM::gtm_thread::rollback): Adapt.
	* testsuite/libitm.c/stackundo.c: New test.

From-SVN: r183172
2012-01-13 23:45:06 +00:00
..
config libitm: Filter out undo writes that overlap with the libitm stack. 2012-01-13 23:45:06 +00:00
testsuite libitm: Filter out undo writes that overlap with the libitm stack. 2012-01-13 23:45:06 +00:00
aatree.cc
aatree.h
acinclude.m4 Support sun symbol versioning in libitm 2011-11-21 17:03:50 +00:00
aclocal.m4 weakref.m4: New file. 2011-11-22 14:49:11 +00:00
alloc_c.cc
alloc_cpp.cc weakref.m4: New file. 2011-11-22 14:49:11 +00:00
alloc.cc
barrier.cc
beginend.cc libitm: Filter out undo writes that overlap with the libitm stack. 2012-01-13 23:45:06 +00:00
ChangeLog libitm: Filter out undo writes that overlap with the libitm stack. 2012-01-13 23:45:06 +00:00
clone.cc
common.h
config.h.in weakref.m4: New file. 2011-11-22 14:49:11 +00:00
configure arm-linux: Add libitm support. 2011-12-14 19:24:05 -08:00
configure.ac arm-linux: Add libitm support. 2011-12-14 19:24:05 -08:00
configure.tgt libitm: PowerPC support. 2012-01-05 13:36:35 -08:00
containers.h libitm: Optimize undo log. 2012-01-08 14:13:49 +00:00
dispatch.h
eh_cpp.cc libitm_i.h (_Unwind_DeleteException): Declare weak. 2012-01-09 19:16:07 -08:00
libitm_i.h libitm: Filter out undo writes that overlap with the libitm stack. 2012-01-13 23:45:06 +00:00
libitm.h
libitm.map
libitm.spec.in
libitm.texi
local_atomic libitm: Conversion to c++11 atomics. 2011-12-13 11:11:25 -08:00
local_type_traits
local.cc libitm: Filter out undo writes that overlap with the libitm stack. 2012-01-13 23:45:06 +00:00
Makefile.am Makefile.am (AM_CXXFLAGS): Put $(XCFLAGS) first. 2011-12-21 17:14:11 +01:00
Makefile.in Makefile.am (AM_CXXFLAGS): Put $(XCFLAGS) first. 2011-12-21 17:14:11 +01:00
method-gl.cc libitm: Optimize undo log. 2012-01-08 14:13:49 +00:00
method-serial.cc libitm: Optimize undo log. 2012-01-08 14:13:49 +00:00
query.cc
retry.cc
stmlock.h libitm: Conversion to c++11 atomics. 2011-12-13 11:11:25 -08:00
useraction.cc
util.cc