[lld] [PATCH] Add a mutex to MachOLinkingContext to prevent a race-condition.

Lang Hames lhames at gmail.com
Tue May 12 17:22:28 PDT 2015


Thanks Nick. Committed as r237217.

- Lang.

On Tue, May 12, 2015 at 1:00 PM, Nick Kledzik <kledzik at apple.com> wrote:

> LGTM
>
> -Nick
>
> On May 5, 2015, at 11:47 AM, Lang Hames <lhames at gmail.com> wrote:
>
> > 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.
> > <lld-lock-macho-dylib-sets.patch>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150512/126aeed0/attachment.html>


More information about the llvm-commits mailing list