[cfe-dev] Address Sanitizer and Objective-C garbage collection (GC) incompatible?

Alexander Potapenko glider at google.com
Fri Dec 21 09:54:16 PST 2012


I've updated that bug. I hope that the new dynamic runtime will eliminate
the problems with GC.
Basically with the new runtime all the allocations from the GC zone will be
instead done using the ASan allocator. But this will lead to increased
memory consumption, because none of those allocations will be garbage
collected.
On Dec 21, 2012 1:58 AM, "Sean McBride" <sean at rogue-research.com> wrote:

> On Fri, 14 Dec 2012 11:16:13 +0400, Kostya Serebryany said:
>
> >> Has anyone tried asan with Obj-C GC?
> >>
> >
> >> They seem incompatible. :(  Even with a trivial example that just calls
> >> NSApplicationLoad() in main().
> >>
> >
> >This is very likely.
>
> Well, I created a bug incase it's expectedly easy to fix, like bug #13794
> was:
>
> <http://llvm.org/bugs/show_bug.cgi?id=14674>
>
> Cheers,
>
> Sean
>
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20121221/78d17ece/attachment.html>


More information about the cfe-dev mailing list