[PATCH] correct llvm::sys::Memory thread-safety

Jim Kearney jim.kearney at oracle.com
Mon Oct 14 09:01:50 PDT 2013


Please review the attached patch which is intended to fix 
http://llvm.org/bugs/show_bug.cgi?id=15749. If it's acceptable, please 
commit it.

It replaces an auto static with a ManagedStatic<> to eliminate a race in 
multithreaded code generation (on some platforms/compilers).

Thanks,
J. Kearney

-------------- next part --------------
A non-text attachment was scrubbed...
Name: memory.patch
Type: text/x-patch
Size: 2932 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131014/b004d179/attachment.bin>


More information about the llvm-commits mailing list