gcc/libitm/config/generic
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
..
asmcfi.h libitm: PowerPC support. 2012-01-05 13:36:35 -08:00
cacheline.h libitm: Remove unused code. 2011-11-09 14:54:55 -08:00
tls.cc libitm: Filter out undo writes that overlap with the libitm stack. 2012-01-13 23:45:06 +00:00
tls.h libitm: Filter out undo writes that overlap with the libitm stack. 2012-01-13 23:45:06 +00:00