[lld] [PATCH] Add a mutex to MachOLinkingContext to prevent a race-condition.
Lang Hames
lhames at gmail.com
Tue May 5 11:47:29 PDT 2015
Hi All,
The attached patch adds a mutex to MachOLinkingContext which is locked when
clients call registerDylib. This prevents corruption of the dylib sets when
multiple threads try to register dylibs at the same time.
Cheers,
Lang.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150505/3c1ee988/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lld-lock-macho-dylib-sets.patch
Type: application/octet-stream
Size: 1192 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150505/3c1ee988/attachment.obj>
More information about the llvm-commits
mailing list