[trans-mem] Do not instrument thread locals
Patrick Marlier
patrick.marlier@gmail.com
Mon Jan 23 23:00:00 GMT 2012
Hi,
I found that all thread local variables are instrumented with _ITM_W/R*
calls whereas they should not be shared with other threads. This patch
takes care of thread locals into requires_barrier and also adds the
local save/restore for them. This patch also includes a testcase.
I did not fill any PR since I have already a patch for it but tell me if
I have to.
Tested on x86_64-unknown-linux-gnu, ok for trunk?
Thanks.
--
Patrick Marlier.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: threadlocal.changelog
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20120123/f3106966/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: threadlocal.patch
Type: text/x-patch
Size: 2639 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20120123/f3106966/attachment.bin>
More information about the Gcc-patches
mailing list