aboutsummaryrefslogtreecommitdiff
path: root/libitm/testsuite/libitm.c/stackundo.c
AgeCommit message (Collapse)AuthorFilesLines
2015-01-15Make test2/test1 static in libitm.c/stackundo.cH.J. Lu1-2/+2
libitm.c/stackundo.c fails with -fpic since test1 and test2 may be preempted with -fpic. This patch makes those 2 functions static. PR libitm/64360 * libitm.c/stackundo.c (test2): Make it static. (test1): Likewise. From-SVN: r219673
2012-01-13libitm: Filter out undo writes that overlap with the libitm stack.Torvald Riegel1-0/+23
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