[PATCH] fix a leak in CodeGenFunction::EmitSwitchStmt (detected by lsan)

Kostya Serebryany kcc at google.com
Thu Jan 9 06:46:43 PST 2014


In the meantime, I can not reproduce the leak any more. (got fixed/hidden
by something else?)
My local asan+lsan bootstrap is clean now, I'll try to enable lsan on the
bot (lab.llvm.org:8011/builders/sanitizer-x86_64-linux-bootstrap/)
tomorrow.

--kcc


On Thu, Jan 9, 2014 at 12:37 PM, Kostya Serebryany <kcc at google.com> wrote:

>
>
>
> On Tue, Jan 7, 2014 at 1:33 AM, David Blaikie <dblaikie at gmail.com> wrote:
>
>>
>>   How are jumpdest objects copied, then? Of the copy ctor is deleted and
>>   these objects are being memcpied that seems rather broken...
>>
>
> I meant that OwningPtr's copy ctor is deleted.
>
> Any other suggestions for the leak fix?
>
>
>>
>> http://llvm-reviews.chandlerc.com/D2472
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140109/38d03acb/attachment.html>


More information about the cfe-commits mailing list