[lld] r242885 - [ELF] Protect write access to the ELFLinkingContext::_cidentSections by a mutex

Simon Atanasyan simon at atanasyan.com
Thu Jul 23 03:04:22 PDT 2015


Hi,

The r242885 is a fix for the PR24205. I forgot to mention it in the
commit message. It would be good to backport the fix to the 3.7. The
commit can be merged into the release_37 without any conflicts.

Regards,
Simon

On Thu, Jul 23, 2015 at 12:25 AM, Hans Wennborg <hans at chromium.org> wrote:
> Was this a fix for PR24205, or is it just that the bug no longer
> reproduces at this revision? If it's the former, should we merge this
> to 3.7?
>
> Thanks,
> Hans
>
> On Wed, Jul 22, 2015 at 3:32 AM, Simon Atanasyan <simon at atanasyan.com> wrote:
>> Author: atanasyan
>> Date: Wed Jul 22 05:32:19 2015
>> New Revision: 242885
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=242885&view=rev
>> Log:
>> [ELF] Protect write access to the ELFLinkingContext::_cidentSections by a mutex
>>
>> The _cidentSections container is filled during files parsing so we need to
>> serialize a concurrent access to it.
>>
>> Modified:
>>     lld/trunk/include/lld/ReaderWriter/ELFLinkingContext.h
>>     lld/trunk/lib/ReaderWriter/ELF/ELFLinkingContext.cpp



More information about the llvm-commits mailing list